- 20 Feb, 2013 11 commits
-
-
Marius Gedminas authored
In Python 2 str(SomeClass) returns "modulename.ClassName". In Python 3 str(SomeClass) returns "<class 'modulename.ClassName'>". We want the former.
-
Marius Gedminas authored
-
Marius Gedminas authored
Python 3 really wants rich comparison operators
-
Marius Gedminas authored
In Python 3 object.__hash__ raises TypeError, so we need an explicit override if we want hashability.
-
Marius Gedminas authored
It seems that OIDs are assigned in random order (dictionary iteration order perhaps), and the test made assumptions. Add an extra transaction.commit() between object addition to fix OID assignment order.
-
Marius Gedminas authored
-
Marius Gedminas authored
(To distinguish them from real functions that actually do something when called.)
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
Marius Gedminas authored
-
- 19 Feb, 2013 2 commits
-
-
Marius Gedminas authored
Next: the hexify() function needs to handle bytestrings on Py3 and regular strings on Py2.
-
Marius Gedminas authored
Apparently the with statement leaves a local variable pointing to the BlobFile object, which holds a reference to the blog and prevents it from being garbage collected.
-
- 15 Feb, 2013 6 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Stephan Richter authored
-
Stephan Richter authored
largely due to: * Different pickle size in Python (even for protocol 1, where new padding is added as far as I can tell.) * Weak references do not seem to work correctly. * When all tests are run, committing transactions fails. Probably some tests are not cleaning up enough after themselves. The biggest issue remaining at this point is the fork of Python 3.3's pickle to properly load Python 2 binary strings and adding back ``noload()`` to the unpickler.
-
Marius Gedminas authored
-
- 14 Feb, 2013 4 commits
-
-
Tres Seaver authored
-
Stephan Richter authored
failures left.
-
Stephan Richter authored
-
Stephan Richter authored
Thanks to Martin v. Loewis for having done some of the initial lifting for a DZUG talk. I used a lot of his changes from this diff: http://www.dcl.hpi.uni-potsdam.de/home/loewis/zodb/ZODB.diff Applied all changes manually to make sure I do understand them and that they are correct. As always 90% of the work is to catch all places where we want to deal with bytes instead of strings.
-
- 12 Jan, 2013 1 commit
-
-
Tres Seaver authored
-
- 11 Jan, 2013 1 commit
-
-
Tres Seaver authored
- Denominate files to indicate ReST. - Drop .bzrignore. - Add MANIFEST.in FBO users w/o setuptools_git.
-
- 17 Dec, 2012 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 15 Dec, 2012 4 commits
-
-
Tres Seaver authored
Ensure that we use bytes literals for tid values. Remove non-comment / docstring use of backticks.
-
Tres Seaver authored
repr() must return text, and we need bytes.
-
Tres Seaver authored
-
Tres Seaver authored
repr() must return text, and we need bytes.
-
- 03 Dec, 2012 1 commit
-
-
Jim Fulton authored
-
- 01 Dec, 2012 1 commit
-
-
Jim Fulton authored
way that made other tests fail spuriously.
-
- 19 Nov, 2012 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
- 13 Nov, 2012 1 commit
-
-
Jim Fulton authored
Fixed: An unneeded left-over setting in setup.py caused installation with pip to fail.
-
- 07 Nov, 2012 3 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
too fast.
-
Jim Fulton authored
too fast.
-