lp:~greg-n-banks/meliae/python3
- Get this branch:
- bzr branch lp:~greg-n-banks/meliae/python3
Branch merges
Branch information
Recent revisions
- 217. By Greg Banks
-
Python3: disable the intern_from_cache test
This broke in Python3 and I don't yet see why, but the method it's
testing is just working with a cache for making interface objects so I'm
not too worried. - 214. By Greg Banks
-
Python3: Use _PySys_GetSizeOf() for more types of objects.
The internal implementation of dicts and strings are sufficiently
different and more complex in Python 3 than in Python 2, so that it no
longer makes sense to second-guess their sizes from structures. Use
_PySys_GetSizeOf() for more cases instead, it's slower but more
reliable. - 213. By Greg Banks
-
Python3: Don't use PyUnicode_
GET_SIZE( ) In Python3, PyUnicode_
GET_SIZE( ) now has the unfortunate side effect of
*changing* the object's size under some circumstances. This means that
dumping objects containing strings a second time gives different results
from the first time, causing spurious unit test failures. Fix by using
a different macro. - 212. By Greg Banks
-
Python3: Decorate the memory dump for "dict" objects with
an array of the first few keys, to help track down where
they're from. - 211. By Greg Banks
-
Python3: Reimplement _dump_unicode() to use new Python3 macros which
never have the unfortunate side effect of converting the internal
representation of the string, because we don't want to mutate the heap
objects we're dumping. - 210. By Greg Banks
-
Python3: Decorate the memory dump for "bytes" objects with
the length and the first few bytes, to help track down
where they're from. - 209. By Greg Banks
-
Python3: Use Py_TYPE() instead of c_obj->ob_type.
The Python3 headers don't like it when you reach into the objects
directly. Also fix some minor warnings with const correctness and
unused values. - 208. By Greg Banks
-
Python3: ensure that file operations which want to deal with bytes
objects get those and not strings.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:meliae