File: PKG-INFO

package info (click to toggle)
python-persistent 4.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 664 kB
  • sloc: python: 4,899; ansic: 2,787; makefile: 125
file content (259 lines) | stat: -rw-r--r-- 9,697 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
Metadata-Version: 1.1
Name: persistent
Version: 4.2.2
Summary: Translucent persistent objects
Home-page: http://www.zope.org/Products/ZODB
Author: Zope Corporation
Author-email: zodb-dev@zope.org
License: ZPL 2.1
Description: ``persistent``:  automatic persistence for Python objects
        =========================================================
        
        .. image:: https://travis-ci.org/zopefoundation/persistent.png?branch=master
                :target: https://travis-ci.org/zopefoundation/persistent
        
        .. image:: https://readthedocs.org/projects/persistent/badge/?version=latest
                :target: http://persistent.readthedocs.org/en/latest/
                :alt: Documentation Status
        
        .. image:: https://img.shields.io/pypi/v/persistent.svg
                :target: https://pypi.python.org/pypi/persistent
                :alt: PyPI
        
        .. image:: https://img.shields.io/pypi/pyversions/persistent.svg
                :target: https://pypi.python.org/pypi/persistent
                :alt: Python versions
        
        This package contains a generic persistence implementation for Python. It
        forms the core protocol for making objects interact "transparently" with
        a database such as the ZODB.
        
        Please see the Sphinx documentation (``docs/index.rst``) for further
        information.
        
        .. note::
        
           Use of this standalone ``persistent`` release is not recommended or
           supported with ZODB < 3.11.  ZODB 3.10 and earlier bundle their own
           version of  the ``persistent`` package.
        
        
        ``persistent`` Changelog
        ========================
        
        4.2.2 (2016-11-29)
        ------------------
        
        - Drop use of ``ctypes`` for determining maximum integer size, to increase
          pure-Python compatibility.
        
        - Ensure that ``__slots__`` attributes are cleared when a persistent
          object is ghostified.  (This excluses classes that override
          ``__new__``.  See
          https://github.com/zopefoundation/persistent/wiki/Notes_on_state_new_and_slots
          if you're curious.)
        
        4.2.1 (2016-05-26)
        ------------------
        
        - Fix the hashcode of C ``TimeStamp`` objects on 64-bit Python 3 on
          Windows.
        
        4.2.0 (2016-05-05)
        ------------------
        
        - Fixed the Python(/PYPY) implementation ``TimeStamp.timeTime`` method
          to have subsecond precision.
        
        - When testing ``PURE_PYTHON`` environments under ``tox``, avoid poisoning
          the user's global wheel cache.
        
        - Add support for Python 3.5.
        
        - Drop support for Python 2.6 and 3.2.
        
        4.1.1 (2015-06-02)
        ------------------
        
        - Fix manifest and re-upload to fix stray files included in 4.1.0.
        
        4.1.0 (2015-05-19)
        ------------------
        
        - Make the Python implementation of ``Persistent`` and ``PickleCache``
          behave more similarly to the C implementation. In particular, the
          Python version can now run the complete ZODB and ZEO test suites.
        
        - Fix the hashcode of the Python ``TimeStamp`` on 32-bit platforms.
        
        4.0.9 (2015-04-08)
        ------------------
        
        - Make the C and Python ``TimeStamp`` objects behave more alike. The
          Python version now produces the same ``repr`` and ``.raw()`` output as
          the C version, and has the same hashcode. In addition, the Python
          version is now supports ordering and equality like the C version.
        
        - Intern keys of object state in ``__setstate__`` to reduce memory usage
          when unpickling multiple objects with the same attributes.
        
        - Add support for PyPy3.
        
        - 100% branch coverage.
        
        4.0.8 (2014-03-20)
        ------------------
        
        - Add support for Python 3.4.
        
        - In pure-Python ``Persistent``, avoid loading state in ``_p_activate``
          for non-ghost objects (which could corrupt their state).  (PR #9)
        
        - In pure-Python, and don't throw ``POSKeyError`` if ``_p_activate`` is
          called on an object that has never been committed.  (PR #9)
        
        - In pure-Python ``Persistent``, avoid calling a subclass's ``__setattr__``
          at instance creation time. (PR #8)
        
        - Make it possible to delete ``_p_jar`` / ``_p_oid`` of a pure-Python
          ``Persistent`` object which has been removed from the jar's cache
          (fixes aborting a ZODB Connection that has added objects). (PR #7)
        
        4.0.7 (2014-02-20)
        ------------------
        
        - Avoid a KeyError from ``_p_accessed()`` on newly-created objects under
          pure-Python:  these objects may be assigned to a jar, but not yet added
          to its cache.  (PR #6)
        
        - Avoid a failure in ``Persistent.__setstate__`` when the state dict
          contains exactly two keys.  (PR #5)
        
        - Fix a hang in ``picklecache`` invalidation if OIDs are manually passed
          out-of-order. (PR #4)
        
        - Add ``PURE_PYTHON`` environment variable support:  if set, the C
          extensions will not be built, imported, or tested.
        
        
        4.0.6 (2013-01-03)
        ------------------
        
        - Updated Trove classifiers.
        
        
        4.0.5 (2012-12-14)
        ------------------
        
        - Fixed the C-extensions under Py3k (previously they compiled but were
          not importable).
        
        
        4.0.4 (2012-12-11)
        ------------------
        
        - Added support for Python 3.3.
        
        - C extenstions now build under Python 3.2, passing the same tests as
          the pure-Python reference implementation.
        
        4.0.3 (2012-11-19)
        ------------------
        
        - Fixed: In the C implimentation, an integer was compared with a
          pointer, with undefined results and a compiler warning.
        
        - Fixed: the Python implementation of the ``_p_estimated_size`` propety
          didn't support deletion.
        
        - Simplified implementation of the ``_p_estimated_size`` property to
          only accept integers.  A TypeError is raised if an incorrect type is
          provided.
        
        
        4.0.2 (2012-08-27)
        ------------------
        
        - Correct initialization functions in renamed ``_timestamp`` extension.
        
        
        4.0.1 (2012-08-26)
        ------------------
        
        - Worked around test failure due to overflow to long on 32-bit systems.
        
        - Renamed ``TimeStamp`` extension module to avoid clash with pure-Python
          ``timestamp`` module on case-insensitive filesystems.
        
          N.B:  the canonical way to import the ``TimeStamp`` class is now::
        
            from persistent.timestamp import TimeStamp
        
          which will yield the class from the extension module (if available),
          falling back to the pure-Python reference implementation.
        
        
        4.0.0 (2012-08-11)
        ------------------
        
        Platform Changes
        ################
        
        - Added explicit support for Python 3.2 and PyPy.
        
          - Note that the C implementations of Persistent, PickleCache, and Timestamp
            are not built (yet) on these platforms.
        
        - Dropped support for Python < 2.6.
        
        Testing Changes
        ###############
        
        - 100% unit test coverage.
        
        - Removed all ``ZODB``-dependent tests:
        
          - Rewrote some to avoid the dependency
        
          - Cloned the remainder into new ``ZODB.tests`` modules.
        
        - Refactored some doctests refactored as unittests.
        
        - Completed pure-Python reference implementations of 'Persistent',
          'PickleCache', and 'TimeStamp'.
        
        - All covered platforms tested under ``tox``.
        
        - Added support for continuous integration using ``tox`` and ``jenkins``.
        
        - Added ``setup.py dev`` alias (installs ``nose`` and ``coverage``).
        
        - Dropped dependency on ``zope.testing`` / ``zope.testrunner``:  tests now
          run with ``setup.py test``.
        
        Documentation Changes
        #####################
        
        - Refactored many Doctests as Sphinx documentation (snippets are exercised
          via 'tox').
        
        - Added ``setup.py docs`` alias (installs ``Sphinx`` and
          ``repoze.sphinx.autointerface``).
        
Platform: any
Classifier: Development Status :: 6 - Mature
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: ZODB
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Unix