<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_weakref.py, branch v2.5c2</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/test_weakref.py?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_weakref.py?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-05-28T19:13:17Z</updated>
<entry>
<title>("Forward-port" of r46506)</title>
<updated>2006-05-28T19:13:17Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-05-28T19:13:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3f092751ae5f29957c78a7e86381532629c7fa3'/>
<id>urn:sha1:a3f092751ae5f29957c78a7e86381532629c7fa3</id>
<content type='text'>
Remove various dependencies on dictionary order in the standard library
tests, and one (clearly an oversight, potentially critical) in the
standard library itself - base64.py.

Remaining open issues:
 * test_extcall is an output test, messy to make robust
 * tarfile.py has a potential bug here, but I'm not familiar
   enough with this code.  Filed in as SF bug #1496501.
 * urllib2.HTTPPasswordMgr() returns a random result if there is more
   than one matching root path.  I'm asking python-dev for
   clarification...
</content>
</entry>
<entry>
<title>SF #1479988: add methods to allow access to weakrefs for the</title>
<updated>2006-05-02T06:53:59Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2006-05-02T06:53:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=017e68c413be6262eb1e71b0f0c5676d6db33a43'/>
<id>urn:sha1:017e68c413be6262eb1e71b0f0c5676d6db33a43</id>
<content type='text'>
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
</content>
</entry>
<entry>
<title>Add doctest for examples in libweakref.tex to test_weakref.</title>
<updated>2005-07-02T19:07:30Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-02T19:07:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a65d583ac454a09ccb0c8e42eb4c496f6185653'/>
<id>urn:sha1:9a65d583ac454a09ccb0c8e42eb4c496f6185653</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug #1770766:  weakref proxy has incorrect __nonzero__ behavior.</title>
<updated>2005-03-27T03:04:54Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-03-27T03:04:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e6c470f255b958d65db75e2b9c2416585638b6cf'/>
<id>urn:sha1:e6c470f255b958d65db75e2b9c2416585638b6cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug #978308, Spurious errors taking bool of dead pro</title>
<updated>2004-07-08T01:22:31Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-07-08T01:22:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bdcb9410c20c49928c91b065ccbd115aa450e037'/>
<id>urn:sha1:bdcb9410c20c49928c91b065ccbd115aa450e037</id>
<content type='text'>
Need to return -1 on error.

Needs backport.
</content>
</entry>
<entry>
<title>Make weak references subclassable:</title>
<updated>2004-07-02T18:57:45Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-07-02T18:57:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a4dd390bf653128de8bc2e99da64967c8cdf86e'/>
<id>urn:sha1:0a4dd390bf653128de8bc2e99da64967c8cdf86e</id>
<content type='text'>
- weakref.ref and weakref.ReferenceType will become aliases for each
  other

- weakref.ref will be a modern, new-style class with proper __new__
  and __init__ methods

- weakref.WeakValueDictionary will have a lighter memory footprint,
  using a new weakref.ref subclass to associate the key with the
  value, allowing us to have only a single object of overhead for each
  dictionary entry (currently, there are 3 objects of overhead per
  entry: a weakref to the value, a weakref to the dictionary, and a
  function object used as a weakref callback; the weakref to the
  dictionary could be avoided without this change)

- a new macro, PyWeakref_CheckRefExact(), will be added

- PyWeakref_CheckRef() will check for subclasses of weakref.ref

This closes SF patch #983019.
</content>
</entry>
<entry>
<title>Rename class attribute containing the class to be tested, so the name is the</title>
<updated>2004-06-02T18:42:25Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-06-02T18:42:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=118f931d07de3987958eee51e97b3323c190dbfd'/>
<id>urn:sha1:118f931d07de3987958eee51e97b3323c190dbfd</id>
<content type='text'>
same as for the string and sequence tests.
</content>
</entry>
<entry>
<title>Port the dictionary tests from test_types.py to unittest. Collect as much</title>
<updated>2004-05-31T16:29:04Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-05-31T16:29:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6'/>
<id>urn:sha1:0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6</id>
<content type='text'>
mapping tests as possible in mapping_test.py and reuse the tests in
test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py.
From SF patch #736962.
</content>
</entry>
<entry>
<title>further testing indicates that the simplified version of the test</title>
<updated>2004-02-13T19:21:57Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-13T19:21:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55cf434735380ce51034c64722cf422457f891e0'/>
<id>urn:sha1:55cf434735380ce51034c64722cf422457f891e0</id>
<content type='text'>
(re-using an existing test object class) no longer triggered the
original segfault when the fix was backed out; restoring the local
test object class to make the test effective

the assignment of the ref created at the end does not affect the test,
since the segfault happended before weakref.ref() returned; removing
the assignment
</content>
</entry>
<entry>
<title>use existing test object instead of defining a new class</title>
<updated>2004-02-12T19:30:17Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-12T19:30:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=61dafcb6caee4c0971e8aa362b1b170ce19199eb'/>
<id>urn:sha1:61dafcb6caee4c0971e8aa362b1b170ce19199eb</id>
<content type='text'>
</content>
</entry>
</feed>
