[Python-checkins] r60325 - python/trunk/Misc/NEWS

georg.brandl python-checkins at python.org
Sat Jan 26 15:19:22 CET 2008


Author: georg.brandl
Date: Sat Jan 26 15:19:22 2008
New Revision: 60325
Modified:
 python/trunk/Misc/NEWS
Log:
Move C API entries to the corresponding section.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sat Jan 26 15:19:22 2008
@@ -16,10 +16,6 @@
 same object as the func_code attribute of the function that produced the
 generator.
 
- Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and
- _FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t
- public functions.
-
 - Issue #1920: "while 0" statements were completely removed by the compiler,
 even in the presence of an "else" clause, which is supposed to be run when 
 the condition is false. Now the compiler correctly emits bytecode for the
@@ -37,14 +33,12 @@
 several extension methods and modules do not work without unicode
 support.
 
-- Patch #1720595: add T_BOOL to the range of structmember types.
-
 - Issue #1882: when compiling code from a string, encoding cookies in the
 second line of code were not always recognized correctly.
 
 - Issue #1679: "0x" was taken as a valid integer literal.
 
-- Issue #1865: Bytes as an alias for str and b"" as an alias "" were
+- Issue #1865: ``bytes`` as an alias for ``str`` and b"" as an alias "" were
 added.
 
 - sys.float_info / PyFloat_GetInfo: The floating point information
@@ -53,7 +47,7 @@
 - Patch #1816: Added sys.flags structseq. It exposes the status of most
 command line arguments and PYTHON* environment variables.
 
-- Object/structseq.c: Implemented new structseq representation. The patch
+- Objects/structseq.c: Implemented new structseq representation. The patch
 makes structseqs (e.g. the return value of os.stat) more readable.
 
 - Patch #1700288: added a type attribute cache that caches method accesses,
@@ -104,14 +98,6 @@
 inside packages with the -m switch via a new module level
 __package__ attribute.
 
-- Issue #1534: Added ``PyFloat_GetMax()``, ``PyFloat_GetMin()`` and
- ``PyFloat_GetInfo()`` to the float API.
-
-- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#
- format code incorrectly truncated the length to an int, even when
- PY_SSIZE_T_CLEAN is set. The str.decode method used to return incorrect
- results with huge strings.
-
 - Issue #1402: Fix a crash on exit, when another thread is still running, and
 if the deallocation of its frames somehow calls the PyGILState_Ensure() /
 PyGILState_Release() functions.
@@ -168,19 +154,9 @@
 - Patch #1031213: Decode source line in SyntaxErrors back to its original source
 encoding.
 
-- Py_ssize_t fields work in structmember when HAVE_LONG_LONG is not defined.
-
-- PEP 3123: Provide forward compatibility with Python 3.0, while keeping
- backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
- PyVarObject_HEAD_INIT.
-
 - Patch #1673759: add a missing overflow check when formatting floats
 with %G.
 
-- Patch #1733960: Allow T_LONGLONG to accept ints.
-
-- T_PYSSIZET can now be used in PyMemberDef lists for Py_ssize_t members.
-
 - Prevent expandtabs() on string and unicode objects from causing a segfault
 when a large width is passed on 32-bit platforms.
 
@@ -296,8 +272,6 @@
 
 - patch #1630975: Fix crash when replacing sys.stdout in sitecustomize.py
 
-- Bug #1637022: Prefix AST symbols with _Py_.
-
 - Prevent seg fault on shutdown which could occur if an object
 raised a warning.
 
@@ -337,9 +311,6 @@
 
 - list.pop(x) accepts any object x following the __index__ protocol.
 
-- Fix some leftovers from the conversion from int to Py_ssize_t
- (relevant to strings and sequences of more than 2**31 items).
-
 - A number of places, including integer negation and absolute value,
 were fixed to not rely on undefined behaviour of the C compiler
 anymore.
@@ -364,9 +335,6 @@
 - Bug #1551432: Exceptions do not define an explicit __unicode__ method. This
 allows calling unicode() on exceptions classes directly to succeed.
 
-- Make _PyGILState_NoteThreadState() static, it was not used anywhere
- outside of pystate.c and should not be necessary.
-
 - Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
 Also make sure that every exception class has __module__ set to
 'exceptions'.
@@ -389,7 +357,7 @@
 required changing the .pyc magic number. This means that .pyc files
 generated before 2.5c2 will be regenerated.
 
-- with and as are now keywords.
+- ``with`` and ``as`` are now keywords.
 
 - Bug #1664966: Fix crash in exec if Unicode filename can't be decoded.
 
@@ -400,6 +368,7 @@
 threading.enumerate() list after the join() for a brief period until
 it actually exited.
 
+
 Library
 -------
 
@@ -1342,6 +1311,7 @@
 platform.python_implementation(); this will now be saved
 in the benchmark pickle
 
+
 Documentation
 -------------
 
@@ -1473,18 +1443,51 @@
 - Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
 to include some information about the build environment.
 
+
 C API
 -----
 
+- Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and
+ _FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t
+ public functions.
+
+- Patch #1720595: add T_BOOL to the range of structmember types.
+
+- Issue #1534: Added ``PyFloat_GetMax()``, ``PyFloat_GetMin()`` and
+ ``PyFloat_GetInfo()`` to the float API.
+
+- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#
+ format code incorrectly truncated the length to an int, even when
+ PY_SSIZE_T_CLEAN is set. The str.decode method used to return incorrect
+ results with huge strings.
+
+- Issue #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE
+ and Py_REFCNT.
+
+- PEP 3123: Provide forward compatibility with Python 3.0, while keeping
+ backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
+ PyVarObject_HEAD_INIT.
+
+- Py_ssize_t fields work in structmember when HAVE_LONG_LONG is not defined.
+
+- Patch #1733960: Allow T_LONGLONG to accept ints.
+
+- T_PYSSIZET can now be used in PyMemberDef lists for Py_ssize_t members.
+
 - Added a new API function ``PyImport_ImportModuleNoBlock``.
 
+- Bug #1637022: Prefix AST symbols with _Py_.
+
+- Fix some leftovers from the conversion from int to Py_ssize_t
+ (relevant to strings and sequences of more than 2**31 items).
+
+- Make _PyGILState_NoteThreadState() static, it was not used anywhere
+ outside of pystate.c and should not be necessary.
+
 - ``PyImport_Import`` and ``PyImport_ImportModule`` now always do absolute
 imports. In earlier versions they might have used relative imports under
 some conditions.
 
-- Issue #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE
- and Py_REFCNT.
-
 - Added case insensitive comparison methods ``PyOS_stricmp(char*, char*)``
 and ``PyOS_strnicmp(char*, char*, Py_ssize_t)``.
 


More information about the Python-checkins mailing list

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