[Python-checkins] r51680 - python/branches/bcannon-objcap/BRANCHNEWS

brett.cannon python-checkins at python.org
Sat Sep 2 00:44:12 CEST 2006


Author: brett.cannon
Date: Sat Sep  2 00:44:12 2006
New Revision: 51680

Modified:
   python/branches/bcannon-objcap/BRANCHNEWS
Log:
Add entry about removing the 'code' type's constructor.


Modified: python/branches/bcannon-objcap/BRANCHNEWS
==============================================================================
--- python/branches/bcannon-objcap/BRANCHNEWS	(original)
+++ python/branches/bcannon-objcap/BRANCHNEWS	Sat Sep  2 00:44:12 2006
@@ -5,6 +5,10 @@
 Core and builtins
 -----------------
 
+* rev. 51679: Remove the constructor for the 'code' type.  This means instances
+  of the 'code' type cannot be created directly.  You must use the new
+  objcap.code_new() factory function to create instances.
+
 * rev. 51672: Remove the initializer from the 'file' type.  Constructing an
   isntance now takes no arguments and makes it an empty instance.  To attach a
   file to a 'file' instance, use objcap.file_init().


More information about the Python-checkins mailing list