- 04 Apr, 2013 1 commit
-
-
Tres Seaver authored
Try to work around zc.buildout's ignorance of setup_requires.
-
- 18 Mar, 2013 3 commits
-
-
Jim Fulton authored
PyCon 2013 sprint - buildout changes
-
Michael Mulich authored
Pull in the development version of zodbpickle which has recent changes which allow tests to pass at this time.
-
Michael Mulich authored
-
- 13 Mar, 2013 1 commit
-
-
Albertas Agejevas authored
-
- 08 Mar, 2013 2 commits
-
-
Albertas Agejevas authored
The close() method is not in the interface and is not provided by ZEO's implementation.
-
Albertas Agejevas authored
-
- 05 Mar, 2013 1 commit
-
-
Marius Gedminas authored
This uses bytes_as_strings=True option introduced in zodbpickle 0.2 for this purpose. This way pickles produced on Python 3 are nearly the same as on Python 2. There are some slight differences (Python 3 seems to perform more memoizations which grows the size of some pickles by a couple of bytes), but they're immaterial. Now we can use zodbpickle's noload() on Python 3 to scan pickles for persistent references. We couldn't do that before, because Python 3 normally pickles byte strings as calls to codecs.encode(u'latin1-data', 'latin-1'), and noload() doesn't interpret the REDUCE opcode involved in that representation. Note that when you're pickling byte strings using bytes_as_strings=True, you have to load them using encoding='bytes' (which breaks instances, so cannot be used) or using errors='bytes' (which mean some bytestrings may get unpickled as unicode instead). I've tried hard to discover every place that unpickles OIDs and added conversion to bytes in those places. Applications dealing with binary data be prepared to handle bytestrings that unexpectedly become unicode on unpickling. That's the price of Python 2 compatibility.
-
- 03 Mar, 2013 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 02 Mar, 2013 2 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
Instead, just remove the non-ASCII characters, regaining Python 3.2 compat.
-
- 01 Mar, 2013 5 commits
-
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
- 28 Feb, 2013 16 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
Fixes some more of those ResourceWarnings
-
- 27 Feb, 2013 5 commits
-
-
Marius Gedminas authored
-
Marius Gedminas authored
Many more remain.
-
Marius Gedminas authored
-
Marius Gedminas authored
Since now we need to pass an extra argument to loads() and Unpickler(), but only on Python 3, the old way of ``from ZODB._compat import pickle`` no longer pays out, and I had to import the names directly.
-
Marius Gedminas authored
-
- 26 Feb, 2013 1 commit
-
-
Tres Seaver authored
-