Wording/typo fixes
This commit is contained in:
parent
213e764d38
commit
f9b5b8e9f8
22
Misc/NEWS
22
Misc/NEWS
|
@ -13,8 +13,8 @@ Core and builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
- Unicode objects will no longer raise an exception when being
|
- Unicode objects will no longer raise an exception when being
|
||||||
compared equal or unequal to a string and causing a
|
compared equal or unequal to a string and a UnicodeDecodeError
|
||||||
UnicodeDecodeError exception, e.g. as result of a decoding failure.
|
exception occurs, e.g. as result of a decoding failure.
|
||||||
|
|
||||||
Instead, the equal (==) and unequal (!=) comparison operators will
|
Instead, the equal (==) and unequal (!=) comparison operators will
|
||||||
now issue a UnicodeWarning and interpret the two objects as
|
now issue a UnicodeWarning and interpret the two objects as
|
||||||
|
@ -64,11 +64,11 @@ Core and builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
- The __repr__ method a NULL ctypes.py_object() does no longer raise
|
- The __repr__ method of a NULL ctypes.py_object() no longer raises
|
||||||
an exception.
|
an exception.
|
||||||
|
|
||||||
- uuid.UUID now has a bytes_le attribute. This returns the UUID in
|
- uuid.UUID now has a bytes_le attribute. This returns the UUID in
|
||||||
little-endian byte order for Windows. In addition, uuid.py had some
|
little-endian byte order for Windows. In addition, uuid.py gained some
|
||||||
workarounds for clocks with low resolution, to stop the code yielding
|
workarounds for clocks with low resolution, to stop the code yielding
|
||||||
duplicate UUIDs.
|
duplicate UUIDs.
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ Library
|
||||||
- logging's atexit hook now runs even if the rest of the module has
|
- logging's atexit hook now runs even if the rest of the module has
|
||||||
already been cleaned up.
|
already been cleaned up.
|
||||||
|
|
||||||
- Bug #1112549, DoS attack on cgi.FieldStorage.
|
- Bug #1112549, fix DoS attack on cgi.FieldStorage.
|
||||||
|
|
||||||
- Bug #1531405, format_exception no longer raises an exception if
|
- Bug #1531405, format_exception no longer raises an exception if
|
||||||
str(exception) raised an exception.
|
str(exception) raised an exception.
|
||||||
|
@ -140,7 +140,7 @@ Build
|
||||||
|
|
||||||
- Bug #1534738, win32 debug version of _msi should be _msi_d.pyd.
|
- Bug #1534738, win32 debug version of _msi should be _msi_d.pyd.
|
||||||
|
|
||||||
- Bug #1530448, ctypes buld failure on Solaris 10 was fixed.
|
- Bug #1530448, ctypes build failure on Solaris 10 was fixed.
|
||||||
|
|
||||||
|
|
||||||
C API
|
C API
|
||||||
|
@ -166,7 +166,7 @@ What's New in Python 2.5 beta 3?
|
||||||
Core and builtins
|
Core and builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
- _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t, it previously
|
- _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t; it previously
|
||||||
returned a long (see PEP 353).
|
returned a long (see PEP 353).
|
||||||
|
|
||||||
- Bug #1515471: string.replace() accepts character buffers again.
|
- Bug #1515471: string.replace() accepts character buffers again.
|
||||||
|
@ -208,7 +208,7 @@ Core and builtins
|
||||||
This means that .pyc files generated before 2.5b3 will be regenerated.
|
This means that .pyc files generated before 2.5b3 will be regenerated.
|
||||||
|
|
||||||
- Bug #1524317: Compiling Python ``--without-threads`` failed.
|
- Bug #1524317: Compiling Python ``--without-threads`` failed.
|
||||||
The Python core compiles again then, and, in a build without threads, the
|
The Python core compiles again, and, in a build without threads, the
|
||||||
new ``sys._current_frames()`` returns a dictionary with one entry,
|
new ``sys._current_frames()`` returns a dictionary with one entry,
|
||||||
mapping the faux "thread id" 0 to the current frame.
|
mapping the faux "thread id" 0 to the current frame.
|
||||||
|
|
||||||
|
@ -230,8 +230,8 @@ Library
|
||||||
- Bug #1002398: The documentation for os.path.sameopenfile now correctly
|
- Bug #1002398: The documentation for os.path.sameopenfile now correctly
|
||||||
refers to file descriptors, not file objects.
|
refers to file descriptors, not file objects.
|
||||||
|
|
||||||
- Rename of the xml package to xmlcore, and the import hackery done to
|
- The renaming of the xml package to xmlcore, and the import hackery done
|
||||||
make it appear at both names, has been removed. Bug #1511497,
|
to make it appear at both names, has been removed. Bug #1511497,
|
||||||
#1513611, and probably others.
|
#1513611, and probably others.
|
||||||
|
|
||||||
- Bug #1441397: The compiler module now recognizes module and function
|
- Bug #1441397: The compiler module now recognizes module and function
|
||||||
|
@ -243,7 +243,7 @@ Library
|
||||||
side effects from one test to the next affect outcomes. ``DocTestFinder``
|
side effects from one test to the next affect outcomes. ``DocTestFinder``
|
||||||
has been changed to sort the list of tests it returns.
|
has been changed to sort the list of tests it returns.
|
||||||
|
|
||||||
- The distutils version has been changed to 2.5.0, and are now kept
|
- The distutils version has been changed to 2.5.0, and is now kept
|
||||||
in sync with sys.version_info[:3].
|
in sync with sys.version_info[:3].
|
||||||
|
|
||||||
- Bug #978833: Really close underlying socket in _socketobject.close.
|
- Bug #978833: Really close underlying socket in _socketobject.close.
|
||||||
|
|
Loading…
Reference in New Issue