- 25 Apr, 2019 5 commits
-
-
Marius Gedminas authored
Fix C compilation warning
-
Marius Gedminas authored
-
Marius Gedminas authored
PRIx64 is defined in <inttypes.h>, not <stdint.h>. I hate C.
-
Marius Gedminas authored
-
Marius Gedminas authored
gcc 8.3.0 emits this during python setup.py build: persistent/cPersistence.c: In function ‘Per_repr’: persistent/cPersistence.c:1481:44: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] snprintf(buf, sizeof(buf) - 1, "%llx", oid_value); ~~~^ ~~~~~~~~~ %lx <stdint.h> defines standard macros such as PRId64, PRIu64 and PRIx64 for printing {u,}int64_t values, so let's use them.
-
- 24 Apr, 2019 3 commits
-
-
Michael Howitz authored
-
Michael Howitz authored
-
Michael Howitz authored
-
- 17 Apr, 2019 1 commit
-
-
Marius Gedminas authored
Use Py_ssize_t for length arguments of PyArg_ParseTuple
-
- 26 Mar, 2019 2 commits
-
-
Marius Gedminas authored
This API was introduced in Python 2.5 and the old one (using ints) has been deprecated since Python 3.8. See #108.
-
Marius Gedminas authored
This API was introduced in Python 2.5 and the old one (using ints) has been deprecated since Python 3.8. Fixes #108.
-
- 17 Feb, 2019 1 commit
-
-
Jens Vagelpohl authored
-
- 21 Nov, 2018 2 commits
-
-
Jason Madden authored
Require CFFI on CPython for pure-Python operation.
-
Ramiro Batista da Luz authored
-
- 20 Nov, 2018 3 commits
-
-
Jason Madden authored
Fixes #77
-
Allow sweeping cache without cache_size and with cache_size_bytes only.
-
Yusei Tahara authored
-
- 17 Nov, 2018 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
-
- 16 Nov, 2018 3 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
This reverts commit e6d183b1.
-
Yusei Tahara authored
-
- 15 Nov, 2018 1 commit
-
-
Yusei Tahara authored
-
- 13 Nov, 2018 1 commit
-
-
Yusei Tahara authored
-
- 12 Nov, 2018 2 commits
-
-
Jason Madden authored
Fully test the C implementation of the PickleCache
-
Jason Madden authored
Fix discrepancies between it and the Python implementation: - The C implementation now raises ``ValueError`` instead of ``AssertionError`` for certain types of bad inputs. - The Python implementation uses the C wording for error messages. - The C implementation properly implements ``IPickleCache``; methods unique to the Python implementation were moved to ``IExtendedPickleCache``. - The Python implementation raises ``AttributeError`` if a persistent class doesn't have a ``p_jar`` attribute. Fixes #102
-
- 22 Oct, 2018 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Exclude the 'terryfy' directory from wheels and sdists
-
Jason Madden authored
Always format 8-byte oids as ints in hexadecimal.
-
- 21 Oct, 2018 1 commit
-
-
Jason Madden authored
Fixes #99
-
- 20 Oct, 2018 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Fixes #95 Built on #97 as they touch the same code.
-
Jason Madden authored
-
- 19 Oct, 2018 1 commit
-
-
Jason Madden authored
Fix the repr of the persistent objects to include the module name when using the C extension. This matches the pure-Python behaviour and the behaviour prior to 4.4.0. Fixes #92
-
- 28 Aug, 2018 4 commits
-
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Explicitly use unsigned hex literals when [un]packing timestamps.
-
Jason Madden authored
This should fix #86 Run a compiler with wrapv turned off to verify this.
-