lp:~ensoft-opensource/+junk/cpython-boxes-tmp
- Get this branch:
- bzr branch lp:~ensoft-opensource/+junk/cpython-boxes-tmp
Branch information
- Owner:
- Ensoft Open Source
- Status:
- Development
Recent revisions
- 88. By Phil Connell <email address hidden>
-
Make PyLong_FromLongLong and FromSsize_t unbox when appropriate
This is significant since builtins.len always calls the ssize_t function, so
was infecting the interpreter with lots of small boxed longs! - 86. By Phil Connell <email address hidden>
-
Use second lsb as unboxed flag, to allow elementtree to work unchanged
The etree extension module already uses the lsb to tag its PyObject pointers!
Rather than changing this, lose a bit from the unboxed type field. - 85. By Phil Connell <email address hidden>
-
Fix dodgy long_hash return type
Causes fun failures on 64-bit systems where int and Py_ssize_t are radically
different... - 84. By Phil Connell
-
Unbox None
Also fix some references to ob_type (from longobject.c rework) and ob_refcnt
(where did they come from???) - 83. By Phil Connell
-
Shortcircuit long_compare in more circumstances
When comparing a unboxed long with a negative or very large positive boxed
long, we can shortcircuit without boxing.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)