<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/pickletester.py, branch v2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/pickletester.py?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/pickletester.py?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-07T10:12:38Z</updated>
<entry>
<title>backport my checkin of</title>
<updated>2002-03-07T10:12:38Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-07T10:12:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38983bc5e3af22b5b923f809bcb06c0176123c0e'/>
<id>urn:sha1:38983bc5e3af22b5b923f809bcb06c0176123c0e</id>
<content type='text'>
    revision 1.14 of pickletester.py

Special support for pickling os.stat and os.stat_vfs results portably
(the types come from different modules on different platforms).

Added tests for pickling these types.

May be a bugfix candidate.
</content>
</entry>
<entry>
<title>backport my checkin of</title>
<updated>2002-03-05T14:01:28Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-05T14:01:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b4541fd6f2c8994a2d22e9397514494bb8c5c62f'/>
<id>urn:sha1:b4541fd6f2c8994a2d22e9397514494bb8c5c62f</id>
<content type='text'>
    revision 1.13 of pickletester.py

A fix &amp; test for

[ 496873 ] structseqs unpicklable

by adding a __reduce__ method to structseqs.

Will also commit this to the 2.2.1 branch momentarily.
</content>
</entry>
<entry>
<title>Add test for pickling new-style class with custom metaclass.</title>
<updated>2001-12-19T16:58:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-19T16:58:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04a866170dcad6a4e806fedca0d5e38ebe11867b'/>
<id>urn:sha1:04a866170dcad6a4e806fedca0d5e38ebe11867b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The test using class initarg failed, because it was lacking a</title>
<updated>2001-12-19T16:38:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-19T16:38:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1444f67fa0248d80b5c6de14443e56d05b314227'/>
<id>urn:sha1:1444f67fa0248d80b5c6de14443e56d05b314227</id>
<content type='text'>
__safe_for_unpickling__ attribute.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-10-18T21:57:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-18T21:57:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0c446bb4ad67294f42d4cb53b4ff28413bd8dde'/>
<id>urn:sha1:e0c446bb4ad67294f42d4cb53b4ff28413bd8dde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Covert pickle tests to use unittest.</title>
<updated>2001-10-15T21:38:56Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-10-15T21:38:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6642653875ff1b2f4bbe9c351c58cfa1c1abbede'/>
<id>urn:sha1:6642653875ff1b2f4bbe9c351c58cfa1c1abbede</id>
<content type='text'>
Extend tests to cover a few more cases.  For cPickle, test several of
the undocumented features.
</content>
</entry>
<entry>
<title>pickle.py, load_int():  Match cPickle's just-repaired ability to unpickle</title>
<updated>2001-08-28T22:21:18Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-28T22:21:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19ef62d5a98111df15400db22d18a3a555f5f1ff'/>
<id>urn:sha1:19ef62d5a98111df15400db22d18a3a555f5f1ff</id>
<content type='text'>
64-bit INTs on 32-bit boxes (where they become longs).  Also exploit that
int(str) and long(str) will ignore a trailing newline (saves creating a
new string at the Python level).

pickletester.py:  Simulate reading a pickle produced by a 64-bit box.
</content>
</entry>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
<entry>
<title>Change the test data to ask for class C from module __main__ rather</title>
<updated>2001-04-16T00:28:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-16T00:28:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=42f92da307dfa466bc7d665c4e717af47c27d393'/>
<id>urn:sha1:42f92da307dfa466bc7d665c4e717af47c27d393</id>
<content type='text'>
than from module pickletester.  Using the latter turned out to cause
the test to break when invoked as "import test.test_pickle" or "import
test.autotest".
</content>
</entry>
<entry>
<title>Test full range of native ints.  This exposes two more binary pickle</title>
<updated>2001-04-10T03:41:41Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-10T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e089c688717fbc7c208ad30ee885dcd93a4de678'/>
<id>urn:sha1:e089c688717fbc7c208ad30ee885dcd93a4de678</id>
<content type='text'>
bugs on sizeof(long)==8 machines.  pickle.py has no idea what it's
doing with very large ints, and variously gets things right by accident,
computes nonsense, or generates corrupt pickles.  cPickle fails on
cases 2**31 &lt;= i &lt; 2**32:  since it *thinks* those are 4-byte ints
(the "high 4 bytes" are all zeroes), it stores them in the (signed!) BININT
format, so they get unpickled as negative values.
</content>
</entry>
</feed>
