- 30 Jul, 2018 1 commit
-
-
Jason Madden authored
Instead of testing object sizes. This matches what the pure Python implementation does and is a stronger test that the object really is compatible with the cache. Previously, an object could potentially include ``cPersistent_HEAD`` and *not* set ``tp_base`` to ``cPersistenceCAPI->pertype`` and still be eligible for the pickle cache; that is no longer the case. This resolves several compiler warnings: persistent/cPickleCache.c:521:43: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare] (v->ob_type->tp_basicsize >= sizeof(cPersistentObject)) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ persistent/cPickleCache.c:709:39: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare] else if (v->ob_type->tp_basicsize < sizeof(cPersistentObject)) Fixes #69.
-
- 21 Feb, 2018 1 commit
-
-
Michael Howitz authored
-
- 10 Oct, 2017 2 commits
-
-
Jim Fulton authored
Update documentation links.
-
Charles Merriam authored
Added a link to readable documentation, viewable from GitHub.
-
- 05 Oct, 2017 1 commit
-
-
Marius Gedminas authored
-
- 15 Sep, 2017 2 commits
-
-
Jason Madden authored
Fix possibility of rare crash during dealloc. Fixes #66
-
KIMURA Chikahiro authored
-
- 23 Apr, 2017 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Forest Gregg authored
remove build files in manylinux builds
-
-
- 22 Apr, 2017 1 commit
-
-
Forest Gregg authored
-
- 21 Apr, 2017 5 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Forest Gregg authored
CI setup for manylinux wheels on tagged commit
-
Forest Gregg authored
-
- 20 Mar, 2017 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Avoid raising a SystemError when clearing slots if setstate() failed.
-
Jason Madden authored
PR #52 introduced a code path to `ghostify` that calls PyErr_Clear() with the intent to avoid propagating AttributeErrors for slots. However, if there is an error (like a POSKeyError) raised by jar.setstate(), then `unghostify` will call ghostify with an error pending. If the object had slots that weren't set and the AttributeError was cleared, so was the pending error from setstate. So when `ghostify` returned NULL that got propagated up to the interpreter which finds no exception and so raises `SystemError: error return without exception set`. This commit makes `unghostify` save and restore the exception state around the call to PyErr_Clear.
-
- 08 Mar, 2017 3 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
- 27 Feb, 2017 1 commit
-
-
Adam Groszer authored
Fix ``__setstate__`` interning when ``state`` parameter is not a built-in dict
-
- 26 Feb, 2017 1 commit
-
-
Adam Groszer authored
-
- 23 Feb, 2017 2 commits
-
-
Adam Groszer authored
-
Adam Groszer authored
-
- 22 Feb, 2017 2 commits
-
-
Adam Groszer authored
-
Adam Groszer authored
-
- 16 Jan, 2017 1 commit
-
-
Jason Madden authored
Use macpython for all Mac builds.
-
- 14 Jan, 2017 2 commits
-
-
Jason Madden authored
Ref #58
-
Jason Madden authored
Python 3.6 Mac
-
- 13 Jan, 2017 5 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Marius Gedminas authored
Support Python 3.6
-
Marius Gedminas authored
-
- 12 Jan, 2017 1 commit
-
-
Marius Gedminas authored
-