[Python-3000-checkins] r60569 - in python/branches/py3k: Doc/c-api/float.rst Doc/c-api/set.rst Doc/library/sys.rst Include/abstract.h Include/floatobject.h Include/setobject.h Lib/rational.py Lib/test

2008-02-04 Thread christian.heimes
Author: christian.heimes Date: Mon Feb 4 19:48:49 2008 New Revision: 60569 Modified: python/branches/py3k/ (props changed) python/branches/py3k/Doc/c-api/float.rst python/branches/py3k/Doc/c-api/set.rst python/branches/py3k/Doc/library/sys.rst python/branches/py3k/Include/abstrac

[Python-3000-checkins] r60572 - python/branches/py3k/Lib/bsddb/dbshelve.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 21:50:22 2008 New Revision: 60572 Modified: python/branches/py3k/Lib/bsddb/dbshelve.py Log: Save bsddb changes for a separate check-in. Modified: python/branches/py3k/Lib/bsddb/dbshelve.py ==

[Python-3000-checkins] r60571 - in python/branches/py3k/Lib: _abcoll.py bsddb/dbshelve.py dumbdbm.py shelve.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 21:44:31 2008 New Revision: 60571 Modified: python/branches/py3k/Lib/_abcoll.py python/branches/py3k/Lib/bsddb/dbshelve.py python/branches/py3k/Lib/dumbdbm.py python/branches/py3k/Lib/shelve.py Log: Start replacing UserDict.DictMixin with coll

[Python-3000-checkins] r60574 - python/branches/py3k/Lib/bsddb/__init__.py python/branches/py3k/Lib/bsddb/dbobj.py python/branches/py3k/Lib/bsddb/dbshelve.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 22:26:27 2008 New Revision: 60574 Modified: python/branches/py3k/Lib/bsddb/__init__.py python/branches/py3k/Lib/bsddb/dbobj.py python/branches/py3k/Lib/bsddb/dbshelve.py Log: In bsddb, replace UserDict.DictMixin with collections.MutableMapping. I

Re: [Python-3000-checkins] r60571 - in python/branches/py3k/Lib: _abcoll.py bsddb/dbshelve.py dumbdbm.py shelve.py

2008-02-04 Thread Nick Coghlan
> Modified: python/branches/py3k/Lib/_abcoll.py > == > --- python/branches/py3k/Lib/_abcoll.py (original) > +++ python/branches/py3k/Lib/_abcoll.py Mon Feb 4 21:44:31 2008 > @@ -378,6 +378,11 @@ > def valu

[Python-3000-checkins] r60577 - in python/branches/py3k: Doc/library/userdict.rst Lib/UserDict.py Lib/bsddb/dbshelve.py Lib/test/test_shelve.py Lib/test/test_userdict.py Misc/NEWS

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 23:07:15 2008 New Revision: 60577 Modified: python/branches/py3k/Doc/library/userdict.rst python/branches/py3k/Lib/UserDict.py python/branches/py3k/Lib/bsddb/dbshelve.py python/branches/py3k/Lib/test/test_shelve.py python/branches/py3k/Lib/

[Python-3000-checkins] r60578 - python/branches/py3k/Lib/_abcoll.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 23:09:30 2008 New Revision: 60578 Modified: python/branches/py3k/Lib/_abcoll.py Log: Fix typo (thanks Nick). Modified: python/branches/py3k/Lib/_abcoll.py == --- python/branch

Re: [Python-3000-checkins] r60577 - in python/branches/py3k: Doc/library/userdict.rst Lib/UserDict.py Lib/bsddb/dbshelve.py Lib/test/test_shelve.py Lib/test/test_userdict.py Misc/NEWS

2008-02-04 Thread Brett Cannon
If DictMixin is gone, is UserDict worth even keeping? UserDict.UserDict seemed only useful back before types could not be subclassed. And every time I suggested removing UserDict and friends people always pointed to the mixin classes as reasons for keeping them around. -Brett On Feb 4, 2008 2:07

Re: [Python-3000-checkins] r60577 - in python/branches/py3k: Doc/library/userdict.rst Lib/UserDict.py Lib/bsddb/dbshelve.py Lib/test/test_shelve.py Lib/test/test_userdict.py Misc/NEWS

2008-02-04 Thread Raymond Hettinger
[Brett] > If DictMixin is gone, is UserDict worth even keeping? Going one step at a time. Am looking at killing UserDict next. If it can't be killed, then at least it will need to have its API matched to the new dict API. Raymond ___ Python-3000-ch

[Python-3000-checkins] r60583 - python/branches/py3k/Lib/_weakrefset.py python/branches/py3k/Lib/abc.py python/branches/py3k/Lib/weakref.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Tue Feb 5 01:20:01 2008 New Revision: 60583 Added: python/branches/py3k/Lib/_weakrefset.py Modified: python/branches/py3k/Lib/abc.py python/branches/py3k/Lib/weakref.py Log: Moved WeakSet into a bootstap module use by abc.py. This makes it possible to use

[Python-3000-checkins] r60580 - python/branches/py3k/Lib/cgi.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Mon Feb 4 23:43:27 2008 New Revision: 60580 Modified: python/branches/py3k/Lib/cgi.py Log: Remove one use of UserDict.UserDict Modified: python/branches/py3k/Lib/cgi.py == --- python/br

Re: [Python-3000-checkins] r60577 - in python/branches/py3k: Doc/library/userdict.rst Lib/UserDict.py Lib/bsddb/dbshelve.py Lib/test/test_shelve.py Lib/test/test_userdict.py Misc/NEWS

2008-02-04 Thread Brett Cannon
On Feb 4, 2008 2:16 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > [Brett] > > If DictMixin is gone, is UserDict worth even keeping? > > Going one step at a time. > > Am looking at killing UserDict next. Great! -Brett ___ Python-3000-checkins mailin

[Python-3000-checkins] r60585 - python/branches/py3k/Lib/weakref.py

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Tue Feb 5 02:15:57 2008 New Revision: 60585 Modified: python/branches/py3k/Lib/weakref.py Log: Decouple weakref containers from UserDict and teach them to use ABC instead. More work left to do later. Still need to modernize the API of the dictlike objects to m

[Python-3000-checkins] r60586 - in python/branches/py3k: Lib/collections.py Misc/NEWS

2008-02-04 Thread raymond.hettinger
Author: raymond.hettinger Date: Tue Feb 5 02:53:00 2008 New Revision: 60586 Modified: python/branches/py3k/Lib/collections.py python/branches/py3k/Misc/NEWS Log: Put an updated UserDict class in the collections module and register it as a compliant Mutable Mapping. Todo: Convert the User