[issue2965] Update interface of weakref dictionaries

2008-09-03 Thread Barry A. Warsaw

Barry A. Warsaw [EMAIL PROTECTED] added the comment:

I will apply the patch to 3.0.

Please open a separate bug for the simplification (which is not an API
change).  As for returning iterators rather than views, it would be nice
to get that fixed before the final release, but I don't see that as
critical.  Please open a separate bug for that.

--
nosy: +barry

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-09-03 Thread Barry A. Warsaw

Barry A. Warsaw [EMAIL PROTECTED] added the comment:

r66202

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-08-21 Thread Benjamin Peterson

Changes by Benjamin Peterson [EMAIL PROTECTED]:


--
priority: critical - release blocker

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-07-31 Thread Antoine Pitrou

Antoine Pitrou [EMAIL PROTECTED] added the comment:

Is it ok that the keys/values/items return iterators rather than views?

--
nosy: +pitrou

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-07-31 Thread Antoine Pitrou

Antoine Pitrou [EMAIL PROTECTED] added the comment:

By the way, code like:
 items1 = list(dict.items())
 items1.sort()

could be simplified into:
 items1 = sorted(dict.items())

(same for reversed() instead of list.reverse())

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-07-30 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

What needs to happen here?

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-05-25 Thread Georg Brandl

New submission from Georg Brandl [EMAIL PROTECTED]:

The weak dictionaries in the weakref module still present the 2.x
dictionary methods (iter*). This should be fixed for consistency with 3k
dicts.

--
components: Library (Lib)
messages: 67339
nosy: georg.brandl
priority: critical
severity: normal
status: open
title: Update interface of weakref dictionaries
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-05-25 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

Attaching patch.

--
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file10441/weakref_py3k.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com