[Python-checkins] CVS: python/dist/src/Misc NEWS,1.81,1.82
Tim Peters
python-dev@python.org
Wed, 29 Nov 2000 21:22:47 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4750/python/dist/src/Misc
Modified Files:
NEWS
Log Message:
Fox for SF bug #123859: %[duxXo] long formats inconsistent.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -r1.81 -r1.82
*** NEWS 2000/10/16 20:51:33 1.81
--- NEWS 2000/11/30 05:22:43 1.82
***************
*** 1,2 ****
--- 1,22 ----
+ What's New in Python 2.1 alpha 1?
+ =================================
+
+ Core language, builtins, and interpreter
+
+ - %[duxXo] formats of negative Python longs now produce a sign
+ character. In 1.6 and earlier, they never produced a sign,
+ and raised an error if the value of the long was too large
+ to fit in a Python int. In 2.0, they produced a sign if and
+ only if too large to fit in an int. This was inconsistent
+ across platforms (because the size of an int varies across
+ platforms), and inconsistent with hex() and oct(). Example:
+
+ >>> "%x" % -0x42L
+ '-42' # in 2.1
+ 'ffffffbe' # in 2.0 and before, on 32-bit machines
+ >>> hex(-0x42L)
+ '-0x42L' # in all versions of Python
+
+
What's New in Python 2.0?
=========================
***************
*** 80,84 ****
Modules/main.c. This warning will be fixed for Python 2.1.
! - Fixed configure to add -threads argument during linking on OSF1.
Tools and other miscellany
--- 100,104 ----
Modules/main.c. This warning will be fixed for Python 2.1.
! - Fixed configure to add -threads argument during linking on OSF1.
Tools and other miscellany
***************
*** 89,93 ****
also be backwards compatible with Python 1.5.2; the compiler will
always generate code for the version of the interpreter it runs
! under.
What's new in 2.0 release candidate 1 (since beta 2)?
--- 109,113 ----
also be backwards compatible with Python 1.5.2; the compiler will
always generate code for the version of the interpreter it runs
! under.
What's new in 2.0 release candidate 1 (since beta 2)?
***************
*** 144,156 ****
performed on a closed object, an exception is raised. The truncate
method now accepts a position argument and readline accepts a size
! argument.
- There were many changes made to the linuxaudiodev module and its
test suite; as a result, a short, unexpected audio sample should now
! play when the regression test is run.
Note that this module is named poorly, because it should work
correctly on any platform that supports the Open Sound System
! (OSS).
The module now raises exceptions when errors occur instead of
--- 164,176 ----
performed on a closed object, an exception is raised. The truncate
method now accepts a position argument and readline accepts a size
! argument.
- There were many changes made to the linuxaudiodev module and its
test suite; as a result, a short, unexpected audio sample should now
! play when the regression test is run.
Note that this module is named poorly, because it should work
correctly on any platform that supports the Open Sound System
! (OSS).
The module now raises exceptions when errors occur instead of
***************
*** 201,205 ****
- configure now accepts a --with-suffix option that specifies the
executable suffix. This is useful for builds on Cygwin and Mac OS
! X, for example.
- The mmap.PAGESIZE constant is now initialized using sysconf when
--- 221,225 ----
- configure now accepts a --with-suffix option that specifies the
executable suffix. This is useful for builds on Cygwin and Mac OS
! X, for example.
- The mmap.PAGESIZE constant is now initialized using sysconf when
***************
*** 212,216 ****
- Darwin (Mac OS X): Initial support for static builds on this
! platform.
- BeOS: A number of changes were made to the build and installation
--- 232,236 ----
- Darwin (Mac OS X): Initial support for static builds on this
! platform.
- BeOS: A number of changes were made to the build and installation
***************
*** 255,259 ****
- Better error message when continue is found in try statement in a
! loop.
--- 275,279 ----
- Better error message when continue is found in try statement in a
! loop.
***************
*** 346,350 ****
is followed by whitespace.
! - StringIO: Size hint in readlines() is now supported as documented.
- struct: Check ranges for bytes and shorts.
--- 366,370 ----
is followed by whitespace.
! - StringIO: Size hint in readlines() is now supported as documented.
- struct: Check ranges for bytes and shorts.
***************
*** 420,424 ****
PyArg_Parse() special cases "s#" for Unicode objects; it returns a
pointer to the default encoded string data instead of to the raw
! UTF-16.
- Py_BuildValue accepts B format (for bgen-generated code).
--- 440,444 ----
PyArg_Parse() special cases "s#" for Unicode objects; it returns a
pointer to the default encoded string data instead of to the raw
! UTF-16.
- Py_BuildValue accepts B format (for bgen-generated code).
***************
*** 449,453 ****
- On Unix, create .pyc/.pyo files with O_EXCL flag to avoid a race
! condition.
--- 469,473 ----
- On Unix, create .pyc/.pyo files with O_EXCL flag to avoid a race
! condition.
***************
*** 476,480 ****
- freeze: The modulefinder now works with 2.0 opcodes.
! - IDLE:
Move hackery of sys.argv until after the Tk instance has been
created, which allows the application-specific Tkinter
--- 496,500 ----
- freeze: The modulefinder now works with 2.0 opcodes.
! - IDLE:
Move hackery of sys.argv until after the Tk instance has been
created, which allows the application-specific Tkinter