diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-17 19:19:05 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-17 19:19:05 (GMT) |
commit | 8aca4174839a8822568a6c7f08f963b9f534c797 (patch) | |
tree | 7cec5e06aad9e4e2afcf06dace26333ea4760a0b | |
parent | ed860039f5b568caabd981b19c80597cf14fc8b8 (diff) | |
download | cpython-8aca4174839a8822568a6c7f08f963b9f534c797.zip cpython-8aca4174839a8822568a6c7f08f963b9f534c797.tar.gz cpython-8aca4174839a8822568a6c7f08f963b9f534c797.tar.bz2 |
The rest of the news.
-rw-r--r-- | Misc/NEWS | 109 |
1 files changed, 87 insertions, 22 deletions
@@ -13,25 +13,14 @@ Core and builtins - The new function sys.getcheckinterval() returns the last value set by sys.setcheckinterval(). -- The Windows implementation of PyThread_start_new_thread() never - checked error returns from Windows functions correctly. As a result, - it could claim to start a new thread even when the Microsoft - _beginthread() function failed (due to "too many threads" -- this is - on the order of thousands when it happens). In these cases, the - Python exception :: - - thread.error: can't start new thread - - is raised now. - - Several bugs in the symbol table phase of the compiler have been fixed. Errors could be lost and compilation could fail without - reporting an error. SF patch #763201. + reporting an error. SF patch 763201. - The interpreter is now more robust about importing the warnings module. In an executable generated by freeze or similar programs, earlier versions of 2.3 would fail if the warnings module could - not be found on the file system. Fixes SF bug #771097. + not be found on the file system. Fixes SF bug 771097. - A warning about assignments to module attributes that shadow builtins, present in earlier releases of 2.3, has been removed. @@ -41,7 +30,9 @@ Core and builtins allowed this by mistake, leading to crashes and other problems. - The thread_id is now initialized to 0 in a non-thread build. SF bug - #770247. + 770247. + +- SF bug 762891: "del p[key]" on proxy object no longer raises SystemError. Extension modules ----------------- @@ -56,14 +47,27 @@ Extension modules - time.strptime now exclusively uses the Python implementation contained within the _strptime module. -- bsddb3 no longer crashes if an environment is closed before a - cursor. SF bug #763298. - - The print slot of weakref proxy objects was removed, because it was not consistent with the object's repr slot. - The mmap module only checks file size for regular files, not - character or block devices. SF patch #708374. + character or block devices. SF patch 708374. + +- The cPickle Pickler garbage collection support was fixed to traverse + the find_class attribute, if present. + +- There are several fixes for the bsddb3 wrapper module. + + bsddb3 no longer crashes if an environment is closed before a cursor + (SF bug 763298). + + The DB and DBEnv set_get_returns_none function was extended to take + a level instead of a boolean flag. The new level 2 mans return None + instead of raising an exception. This applies to set methods. + + A typo was fixed in DBCursor.join_item(), preventing a crash. + +- The time module Library ------- @@ -94,6 +98,9 @@ Library - The classes in threading.py are now new-style classes. That they weren't before was an oversight. +- The urllib2 digest authentication handlers now define the correct + auth_header. The earlier versions would fail at runtime. + - SF bug 763023: fix uncaught ZeroDivisionError in difflib ratio methods when there are no lines. @@ -103,33 +110,91 @@ Library - SF bug 770601: CGIHTTPServer.py now passes the entire environment to child processes. -- SF bug 765238: Add filter to fnmatch's __all__. +- SF bug 765238: add filter to fnmatch's __all__. + +- SF bug 748201: make time.strptime() error messages more helpful. + +- SF patch 764470: Do not dump the args attribute of a Fault object in + xmlrpclib. + +- SF patch 549151: urllib and urllib2 now redirect POSTs on 301 + responses. + +- SF patch 766650: The whichdb module was fixed to recognize dbm files + generated by gdbm on OS/2 EMX. + +- SF bugs 763047 and 763052: fixes bug of timezone value being left as + -1 when ``time.tzname[0] == time.tzname[1] and not time.daylight`` + is true when it should only when time.daylight is true. + +- SF bug 764548: re now allows subclasses of str and unicode to be + used as patterns. + +- SF bug 763637: In Tkinter, change after_cancel() to handle tuples + of varying sizes. Tk 8.4 returns a different number of values + than Tk 8.3. + +- SF bug 763023: difflib.ratio() did not catch zero division. + +- The Queue module now has an __all__ attribute. Tools/Demos ----------- +- See Lib/idlelib/NEWS.txt for IDLE news. + - SF bug 753592: webchecker/wsgui now handles user supplied directories. -- See Lib/idlelib/NEWS.txt for IDLE news. +- The trace.py script has been removed. It is now in the standard library. Build ----- +- Python now compiles with -fno-strict-aliasing if possible (SF bug 766696). + - The socket module compiles on IRIX 6.5.10. -- An irix64 system is treated the same way as an irix6 system. SF - patch #764560. +- An irix64 system is treated the same way as an irix6 system (SF + patch 764560). +- Several definitions were missing on FreeBSD 5.x unless the + __BSD_VISIBLE symbol was defined. configure now defines it as + needed. C API ----- +- Unicode objects now support mbcs as a built-in encoding, so the C + API can use it without deferring to the encodings package. + Windows ------- +- The Windows implementation of PyThread_start_new_thread() never + checked error returns from Windows functions correctly. As a result, + it could claim to start a new thread even when the Microsoft + _beginthread() function failed (due to "too many threads" -- this is + on the order of thousands when it happens). In these cases, the + Python exception :: + + thread.error: can't start new thread + + is raised now. + +- SF bug 766669: Prevent a GPF on interpreter exit when sockets are in + use. The interpreter now calls WSACleanup() from Py_Finalize() + instead of from DLL teardown. + Mac --- +- Bundlebuilder now inherits default values in the right way. It was + previously possible for app bundles to et a type of "BNDL" instead + of "APPL." Other improvements include, a --build-id option to + specify the CFBundleIdentifier and using the --python option to set + the executable in the bundle. + +- Fixed two bugs in MacOSX framework handling. What's New in Python 2.3 beta 2? ================================ |