[Python-checkins] CVS: python/dist/src/Misc NEWS,1.325,1.326

Guido van Rossum gvanrossum@users.sourceforge.net
2001年12月05日 11:46:44 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv4883/Misc
Modified Files:
	NEWS 
Log Message:
At the PythonLabs meeting someone mentioned it would make Jim really
happy if one could delete the __dict__ attribute of an instance. I
love to make Jim happy, so here goes...
- New-style objects now support deleting their __dict__. This is for
 all intents and purposes equivalent to assigning a brand new empty
 dictionary, but saves space if the object is not used further.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.325
retrieving revision 1.326
diff -C2 -d -r1.325 -r1.326
*** NEWS	2001年12月04日 21:02:07	1.325
--- NEWS	2001年12月05日 19:46:42	1.326
***************
*** 31,34 ****
--- 31,38 ----
 (previously, these were the same as object.__hash__).
 
+ - New-style objects now support deleting their __dict__. This is for
+ all intents and purposes equivalent to assigning a brand new empty
+ dictionary, but saves space if the object is not used further.
+ 
 Core and builtins
 

AltStyle によって変換されたページ (->オリジナル) /