- 20 May, 2015 6 commits
-
-
Jason Madden authored
This is a performance optimization for PyPy (profiling shows many recursive calls to Persistent.__getattribute__, and recursive calls seem to trouble the PyPy JIT; this eliminates many of them when loading objects): "Transaction", AFTER BEFORE "Add 3000 Objects", 20205 18505 "Update 3000 Objects", 24191 18807 "Read 3000 Warm Objects", 28920 26671 "Read 3000 Cold Objects", 28745 27487 "Read 3000 Hot Objects", 29563 27487 "Read 3000 Steamin' Objects", 1033758 916587
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Go back to assuming that cache.lru_items and cache.cache_data are in sync. Otherwise we have corruption in the cache and, under PyPy, a CFFI-level memory leak; we want tests to fail in that case.
-
Jason Madden authored
Fix test_new_ghost_w_persistent_class under PyPy3, failing due to a bytes/unicode issue. It seems the cPickleCache under Python 3 accepts unicode objects as the oid, but the pure-Python version doesn't.
-
Jason Madden authored
-
- 19 May, 2015 2 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
- 01 May, 2015 1 commit
-
-
Jason Madden authored
-
- 14 Apr, 2015 2 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
- 13 Apr, 2015 1 commit
-
-
Jason Madden authored
-
- 11 Apr, 2015 1 commit
-
-
Jason Madden authored
Rollback some changes now that Python persistent handles registering objects during __setstate__ the same way as C persistent.
-
- 10 Apr, 2015 5 commits
-
-
Jason Madden authored
Fix unpickling POSError subclasses under PyPy. This fixes a bunch of '<Unprintable POSKeyError>' tests in ZEO.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
The Python persistent implementation has caught up enough with the C version that we don't need to list extra special names that shouldn't re-wake Broken objects.
-
- 09 Apr, 2015 2 commits
-
-
Jason Madden authored
-
Jason Madden authored
Fix the functional blob tests under PyPy/pure-python by avoiding spuriously registering Blob objects as modified each time they are loaded from cache. This is something of a difference in behaviour between the C and Python implementations, but it's also arguably a bug in the Blob class.
-
- 08 Apr, 2015 2 commits
-
-
Jason Madden authored
-
Jason Madden authored
The changes were mostly in the Persistent module. Here, the changes were minimal: - Introduce zodbpickle for PyPy and Python 2.7 to fix noload. - Centralize the construction of Picklers/Unpicklers to account for the differences between Python2/3/zodbpickle. - A few extra gc.collect() calls. - Some minor printing differences in the doctests due to the Python implementation of BTrees.
-
- 07 Apr, 2015 4 commits
-
-
Jason Madden authored
Checkpoint on ZODB under PyPy: 25 failures, 25 errors (needs my persistent fork). Many of them are printing differences, some have to do with the Python persistent implementation, especially PickleCache
-
Jason Madden authored
Use zodbpickle under pypy and 2.7 for a working noload. Also add pypy to tox so I can start testing it.
-
Tres Seaver authored
Fix manifest and setup
-
Alex Clark authored
- include .coveragerc - Add author, author_email, keywords $ check-manifest lists of files in version control and sdist match $ pyroma . ------------------------------ Checking . Found ZODB ------------------------------ Final rating: 10/10 Your cheese is so fresh most people think it's a cream: Mascarpone ------------------------------
-
- 21 Jan, 2015 2 commits
-
-
Godefroid Chapelle authored
-
Marius Gedminas authored
-
- 14 Jan, 2015 1 commit
-
-
Jim Fulton authored
-
- 12 Jan, 2015 4 commits
-
-
Marius Gedminas authored
Add tests for repozo's parseargs().
-
Marius Gedminas authored
Fixes https://github.com/zopefoundation/ZODB/issues/28
-
Marius Gedminas authored
It didn't work for me, because nose would crawl inside manual_tests, try to run test_fstest.py, and fail (because that test is manual and requires extra setup, like putting fstest.py on PYTHONPATH). I also don't think that we want to exclude test layers from coverage measurements (nose doesn't support them). This change makes 'tox -e coverage' use zope.testrunner like it does for regular tests.
-
-
- 11 Jan, 2015 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
Cleaned up exception logging and changed pins
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
- Always use logger.exception rather than logging.error when logging exceptions ar the error level. - Fixed an incorrect call to logging.exceotion (like PR #26, but better :). - Removed dependency pins and added one to overcome some breakage in zope.testrunner. None of this seems to be CHANGES worthy.
-
Jim Fulton authored
Conflicts: CHANGES.rst setup.py
-
- 07 Jan, 2015 1 commit
-
-
Marius Gedminas authored
-