[Python-checkins] r50600 - in python/trunk: Misc/NEWS Python/import.c
neal.norwitz
python-checkins at python.org
Wed Jul 12 09:28:31 CEST 2006
Author: neal.norwitz
Date: Wed Jul 12 09:28:29 2006
New Revision: 50600
Modified:
python/trunk/Misc/NEWS
python/trunk/Python/import.c
Log:
Actually change the MAGIC #. Create a new section for 2.5c1 and mention the impact of changing the MAGIC #.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Jul 12 09:28:29 2006
@@ -4,6 +4,25 @@
(editors: check NEWS.help for information about editing NEWS using ReST.)
+What's New in Python 2.5 release candidate 1?
+=============================================
+
+*Release date: XX-AUG-2006*
+
+Core and builtins
+-----------------
+
+- Bug #1520864: unpacking singleton tuples in for loop (for x, in) work
+ again. Fixing this problem required changing the .pyc magic number.
+ This means that .pyc files generated before 2.5c1 will be regenerated.
+
+Library
+-------
+
+Extension Modules
+-----------------
+
+
What's New in Python 2.5 beta 2?
================================
@@ -12,8 +31,6 @@
Core and builtins
-----------------
-- Bug #1520864: unpacking singleton tuples in for loop (for x, in) work again.
-
- Bug #1441486: The literal representation of -(sys.maxint - 1)
again evaluates to a int object, not a long.
Modified: python/trunk/Python/import.c
==============================================================================
--- python/trunk/Python/import.c (original)
+++ python/trunk/Python/import.c Wed Jul 12 09:28:29 2006
@@ -63,7 +63,7 @@
Python 2.5c1: 62101 (fix wrong code: for x, in ...)
.
*/
-#define MAGIC (62092 | ((long)'\r'<<16) | ((long)'\n'<<24))
+#define MAGIC (62101 | ((long)'\r'<<16) | ((long)'\n'<<24))
/* Magic word as global; note that _PyImport_Init() can change the
value of this global to accommodate for alterations of how the
More information about the Python-checkins
mailing list