Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enumerate optimization broken for non-object target #1003

Closed
robertwb opened this issue Oct 29, 2009 · 3 comments
Closed

enumerate optimization broken for non-object target #1003

robertwb opened this issue Oct 29, 2009 · 3 comments

Comments

@robertwb
Copy link
Contributor

If the target is not an object, a cast (e.g. from a PyObject* to an int) rather than a conversion is performed.

Migrated from http://trac.cython.org/ticket/442

@robertwb
Copy link
Contributor Author

@robertwb changed description from

If the target is not an object, a cast (e.g. from a PyObject* to an int) rather than a conversion is performed.

to

If the target is not an object, a cast (e.g. from a PyObject* to an int) rather than a conversion is performed.
commented

Workaround to fix bad behavior: http://hg.cython.org/cython-devel/rev/f639af5855d7

Test updates: http://hg.cython.org/cython-devel/rev/55e033574e1c

@robertwb
Copy link
Contributor Author

scoder changed milestone from wishlist to 0.12
owner from somebody to scoder
commented

Fixed here:

http://hg.cython.org/cython-devel/rev/56f98d6f0fc6

@robertwb
Copy link
Contributor Author

scoder changed resolution to fixed
status from new to closed
commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant