lp:~ensoft-opensource/+junk/cpython-boxes-tmp

Created by Phil Connell and last modified
Get this branch:
bzr branch lp:~ensoft-opensource/+junk/cpython-boxes-tmp
Members of Ensoft Open Source can upload to this branch. Log in for directions.

Related bugs

Related blueprints

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!

87. By Martin Morrison

Make ALL THE TEST PASS! (except for those that still don't)

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.

82. By Phil Connell

Convert DECREF back into a macro

81. By Phil Connell

Disable test needing int cache

80. By Phil Connell

Restore old error handling in long_pow

Might be leaky

79. By Phil Connell

More unboxed handling in AsLong* functions

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.