[Python-3000] Alternatives for del (original) (raw)
Guido van Rossum guido at python.org
Wed May 16 16:48:24 CEST 2007
- Previous message: [Python-3000] Support for PEP 3131 - discussion on python zope users group
- Next message: [Python-3000] Raw strings containing \u or \U
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Since no PEP has been submitted about eliminating del, del remains, by default, in Python 3000. I am more comfortable with this anyway.
However, I still welcome an informational PEP describing the "best practices" for avoiding it by using weak references, including some support code to be added to weakref.py (this could probably be added to Python 2.6 as well; and for earlier releases it could be made available as a 3rd party add-on or as a "recipe" in the online Python Cookbook (http://aspn.activestate.com/ASPN/Python/Cookbook/).
I am hoping that someone besides Raymond will volunteer to write such a PEP; his busy schedule makes it unlikely that he will have the time necessary to devote to this project.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] Support for PEP 3131 - discussion on python zope users group
- Next message: [Python-3000] Raw strings containing \u or \U
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]