<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/pickletester.py, branch v2.2a3</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.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/pickletester.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-28T22:21:18Z</updated>
<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>
<entry>
<title>Pickles have a number of storage formats for various sizes and kinds of</title>
<updated>2001-04-09T20:07:05Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-09T20:07:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=461922a005eb6fc4092cd56c129605d3b762f924'/>
<id>urn:sha1:461922a005eb6fc4092cd56c129605d3b762f924</id>
<content type='text'>
integers, but the std tests don't exercise most of them.  Repair that.

CAUTION:  I expect this to fail on boxes with sizeof(long)==8, in the
part of test_cpickle (but not test_pickle) trying to do a binary mode
(not text mode) load of the embedded BINDATA pickle string.  Once that
hypothesized failure is confirmed, I'll fix cPickle.c.
</content>
</entry>
<entry>
<title>No functional change -- just added whitespace in places so I could follow</title>
<updated>2001-04-09T17:16:31Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-09T17:16:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c58440fcef587cb749a937283b95f2b51ad58b9f'/>
<id>urn:sha1:c58440fcef587cb749a937283b95f2b51ad58b9f</id>
<content type='text'>
the logic better.  Will be adding some additional tests later today.
</content>
</entry>
<entry>
<title>Typo repair.</title>
<updated>2001-01-22T22:43:35Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-22T22:43:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=763cb0aa44ab1d91dead8517127b2d1b79d32553'/>
<id>urn:sha1:763cb0aa44ab1d91dead8517127b2d1b79d32553</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reorganize pickle/cPickle testing so the tests pass regardless of the order</title>
<updated>2001-01-22T22:05:20Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-22T22:05:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e935816164fb028d90072627a2dd9bd17bca969c'/>
<id>urn:sha1:e935816164fb028d90072627a2dd9bd17bca969c</id>
<content type='text'>
they're run.
</content>
</entry>
</feed>
