<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_pickle.py, branch 2.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_pickle.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_pickle.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-02-23T17:40:11Z</updated>
<entry>
<title>Patch #2167 from calvin: Remove unused imports</title>
<updated>2008-02-23T17:40:11Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-02-23T17:40:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c5f05e45cffa16f45f1332cec531c045893f928f'/>
<id>urn:sha1:c5f05e45cffa16f45f1332cec531c045893f928f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Combine the functionality of test_support.run_unittest()</title>
<updated>2003-05-01T17:45:56Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-01T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21d3a32b99c5763444c34c189ef653ac9745f3c4'/>
<id>urn:sha1:21d3a32b99c5763444c34c189ef653ac9745f3c4</id>
<content type='text'>
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
</content>
</entry>
<entry>
<title>cPickle.c, load_build():  Taught cPickle how to pick apart</title>
<updated>2003-02-15T03:01:11Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-15T03:01:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=080c88b9126c13d14d2383bee345a41529f14130'/>
<id>urn:sha1:080c88b9126c13d14d2383bee345a41529f14130</id>
<content type='text'>
the optional proto 2 slot state.

pickle.py, load_build():  CAUTION:  Noted that cPickle's
load_build and pickle's load_build really don't do the same
things with the state, and didn't before this patch either.
cPickle never tries to do .update(), and has no backoff if
instance.__dict__ can't be retrieved.  There are no tests
that can tell the difference, and part of what cPickle's
load_build() did looked accidental to me, so I don't know
what the true intent is here.

pickletester.py, test_pickle.py:  Got rid of the hack for
exempting cPickle from running some of the proto 2 tests.

dictobject.c, PyDict_Next():  documented intended use.
</content>
</entry>
<entry>
<title>pickle.py has a few doctest'ed internal functions, so run their tests.</title>
<updated>2003-01-30T21:27:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-01-30T21:27:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e14295cf5f5a21dd94a540341202deec9e58b4c9'/>
<id>urn:sha1:e14295cf5f5a21dd94a540341202deec9e58b4c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement appropriate __getnewargs__ for all immutable subclassable builtin</title>
<updated>2003-01-29T17:58:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-01-29T17:58:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d9113d8be81596bc93f2b1a37f57e5110d39a77'/>
<id>urn:sha1:5d9113d8be81596bc93f2b1a37f57e5110d39a77</id>
<content type='text'>
types.  The special handling for these can now be removed from save_newobj().
Add some testing for this.

Also add support for setting the 'fast' flag on the Python Pickler class,
which suppresses use of the memo.
</content>
</entry>
<entry>
<title>Temporary hacks to arrange that the pickle tests relying on protocol 2</title>
<updated>2003-01-28T22:34:11Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-01-28T22:34:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47a6b13988a71b0ac0d471168138e31144bf1a32'/>
<id>urn:sha1:47a6b13988a71b0ac0d471168138e31144bf1a32</id>
<content type='text'>
only get run by test_pickle.py now (&amp; not by test_cpickle.py).  This
should be undone when protocol 2 is implemented in cPickle too.
test_cpickle should pass again.
</content>
</entry>
<entry>
<title>Rename 'bin' arg to 'proto'.  Keep the default at 0 lest the tests</title>
<updated>2003-01-28T03:51:53Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-01-28T03:51:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9d32bb170883dfbeec87e59135a102f93c97fcaf'/>
<id>urn:sha1:9d32bb170883dfbeec87e59135a102f93c97fcaf</id>
<content type='text'>
change in meaning.
</content>
</entry>
<entry>
<title>Remove inst_persistent_id() WANNI (we ain't never needed it).</title>
<updated>2002-11-13T22:01:27Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-11-13T22:01:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e0f4e73a963a69b0ecd16e2477d6cd2cacef6c9'/>
<id>urn:sha1:5e0f4e73a963a69b0ecd16e2477d6cd2cacef6c9</id>
<content type='text'>
Add some simple tests of the persistence hooks.
</content>
</entry>
<entry>
<title>Complete the absolute import patch for the test suite.  All relative</title>
<updated>2002-07-30T23:27:12Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-30T23:27:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=408b6d34de2b1a6ba690557def435adce9314184'/>
<id>urn:sha1:408b6d34de2b1a6ba690557def435adce9314184</id>
<content type='text'>
imports of test modules now import from the test package.  Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.).  Also did a general
code cleanup to remove all "from test.test_support import *"'s.  Other
from...import *'s weren't changed.
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
</entry>
</feed>
