-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Extend pre-allocated integers to cover [0, 255] #42933
Comments
When the Suggest extending the pre-allocated integer obejcts to |
Logged In: YES Georg, would you take care of this one for Py2.5. |
Logged In: YES I decided to test out the new svn view facility ;-) Looks like 100 in
#define NSMALLPOSINTS 100
in python/trunk/Objects/intobject.c
just needs to be upped to 257 Unlike for other builtin types, I could not find a |
Logged In: YES It's test_types, and I added a test too. Revision 42552. |
Logged In: YES Thanks for the info. Small nit: your checkin message says
"RFE python/cpython#42933: make integers in [0..256] preallocated. "
The range is actually (now)[-5...256].
#define NSMALLNEGINTS 5
sets the lower limit (unchanged). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: