What's Fixed in Python 2.0.1
============================
- A few references to Python 2.1 in the LICENSE were changed to 2.0.1.
- Bogus indentation in Lib/statcache.py was fixed.
- A few small nits in the documentation were fixed and the new license
was included there.
What's Fixed in Python 2.0.1c1
==============================
Critical Patches (from MoinMoin)
- Core dumps in _tkinter
Fixes to bugs reported on SourceForge
Bugs with an ID below 200000 can be found at
http://sourceforge.net/bugs/?func=detailbug&bug_id=<id>&group_id=5470
More recent bugs are accessed as
http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid=105470
- Brought SRE up to date with Python 2.1
- #117278, #117167: _tkinter
- #116172, curses module fails to build on SGI, _curses
- Patch #103485, compile on NetBSD
- Rename lines to nlines, macro sometimes defined in term.h
- Patch #130117: add a prototype required to compile cleanly on IRIX
- In Lib/locale.py, setlocale emulation, use != and not is not to compare
strings
- #409651 - in Lib/fnmatch.py, make \ in a character group work
- #119622: compile errors due to redundant atof decls. Removed from
Python/compile.c and Python/marshal.c
- #121965 -- fixing containment in xrange() objects
- #126161#123634 -- pickle.py, cPickle.c -- fix pickling unicode strings
this is *backwards incompatible* with older pickles containing unicode
strings -- but this has to be done, the previous pickling scheme broke
anyway.
- complex() could segfault on numeric types with NULL for float conversion.
Fixed.
- Fixed#407504 -- closing pwd and grp database when finished.
- Fixed memory leak in from import ...
- Importing should now be safe with multiple Py_Initialize/Py_Finalize
sequences.
- Add TELL64() hack #ifdef to FreeBSD, Apple and BSDI
- del func.func_defaults raises a TypeError instead of dumping core
- #121013 - stringobject.c -- "".join(u"this is a test") dumped core
- exceptions.c - make_class() Added a "goto finally" so that if
populate_methods() fails, the return status will be -1 (failure)
instead of 0 (success).
fini_exceptions(): When decref'ing the static pointers to the
exception classes, clear out their dictionaries too. This breaks a
cycle from class->dict->method->class and allows the classes with
unbound methods to be reclaimed. This plugs a large memory leak in a
common Py_Initialize()/dosomething/Py_Finalize() loop.
- #122162 -- unicodeobject.c --- Fix unicode .split() off-by-one
- Loosely based on patch #103249 -- Fix core dumps in PyUnicode_Count
- #125981 -- socketmodule.c -- closing sockets was not thread-safe.
- Use openssl/*.h to include the OpenSSL header files
- Patch #103636: Allow writing strings containing null bytes to an SSL socket
- #232787 -- Modules/timemodule.c, Python/errors.c, Objects/intobject.c
- posixmodule.c - Add missing prototypes in for SunOS 4.1.4, plug memory leak
- #125891 - posixmodule.c - os.popen2,3 and 4 leaked file objects on Windows.
- #128053 - posixmodule.c - #ifdef for including "tmpfile" in the
posix_methods[] array was wrong -- should be HAVE_TMPFILE
- #233200 - cPickle did not use Py_BEGIN_ALLOW_THREADS.
- #125452 - shlex.shlex hungs when it encounters a string with an unmatched
quote
- #119833 - close socket in smtplib if there was an error connecting
- #126863 - getopt long option handling fixed
- #123924 - httplib.py - Windows - using OpenSSL, problem with socket
- atexit.py - mutate list of functions in thread-safe way
- curses.ascii - space (ASCII 32) is now considered whitespace
- #125375 - parsermodule.c - fix parser.tuple2ast() failure on valid parse tree
- mpzmodule.c - make .binary() work on 64-bit system, make it compile with
Cygwin
- #127718 - '@' were '`' seem to be confused.
- #119862 - getargs.c - patched memory leak
- #128475 - pythonrun.c - In Py_Finalize, don't reset initialized flag
until after the exit funcs have run
- #128713 - mmapmodule.c - type(mmap_object) blew up on Linux.
- mmap on windows creates a mapping without a name when tagname isn't
specified
- #117745 - UserString.py - Fix two typos in __imul__.
- #130306 - statcache.py - full of thread problems.
- Made statcache.forget_dir more portable
- In site.py, the ".pth" code knew about the layout of Python trees on
unix and windows, but not on the mac. Fixed.
- #121706 - config.c - _PyImport_Inittab: define the exceptions module's init
function.
- Update install-sh using version from automake 1.4.
- #12195 - webbrowser.py - there was typo in Mac code
- quopri.py - treat \r as whitespace too
- xmllib.py - Moved clearing of "literal" flag. The flag is set in setliteral
which can be called from a start tag handler. When the corresponding end
tag is read the flag is cleared. However, it didn't get cleared when
the start tag was for an empty element of the type <tag .../>. This
modification fixes the problem.
- #117606 - configure.in, configure - use gcc -shared and gcc -fPIC
- #227562 - urllib.py - call URLopener.http_error_default when
an invalid 401 request is being handled.
- urllib.py - provide simple recovery/escape from apparent redirect recursion
- #129288 - urllib.py - changing %02x to %02X in quoting
- urllib.py - HTTPS now works with string URLs
- distutils/command/install.py - make .get_outputs() produce a list of unique
filenames
- pyexpat.c - removed memory leaks
- #233253 - distutils/command/build_ext.py - the --define and --undef options
didn't work, whether specified on the command-line or in setup.cfg.
- distutils/command/build_ext.py - make docstrings raw
- #128930 - distutils/command/build_ext.py - split rpath argument
- #131064, #129584, #127722 - PC/getpathp.c
- asynchat.py - now checking for empty buffer with ==, not "is"
- Lib/xml/sax/xmlreader.py - import the exceptions this module can raise
* New variables:
+ vm-folder-file-precious-flag
* added CRAM-MD5 as an authentication method for IMAP.
* vm-su-do-date: interpret 2-digit years in the RFC-822 matching
case as 20XX if year starts with 0-6.
* vm-rfc1153-or-rfc934-burst-message: skip spaces in addition to
newlines that occur after a separator line. A digest has been
observed with that kind of deformity.
* treat enable-local-eval as we do enable-local-variables--- always
bind it to nil.
* vm: don't bind vm-auto-decode-mime-messages non-nil during
initial message preview if it is nil.
* vm-mime-display-internal-text/html: dropped (sleep-for 2). No one cares
enough about the "Need W3 to inline HTML" message to wait 2
seconds afterward.
* added menu entry to allow MIME objects to be converted to
another type and displayed. The new type is determined by
vm-mime-type-converter-alist.
* added koi8-r to vm-mime-mule-charset-to-coding-alist (XEmacs only).
* vm-pop-read-list-response: check for nil return of
vm-pop-read-response before using return value.
* vm-pop-read-stat-response: check for nil return of
vm-pop-read-response before using return value.
* vm-encode-coding-region: use unwind-protect to make sure (well
more likely) that the work buffer always gets killed if it has
been created.
* vm-decode-coding-region: use unwind-protect to make sure (well
more likely) that the work buffer always gets killed if it has
been created.
* vm-mime-convert-undisplayable-layout: put object buffer on
garbage list sooner to make rarer the situation where the
buffer never gets deleted.
* Makefile: remove function definition of vm-its-such-a-cruel-world
after it is run.
* vm-md5-region: if vm-pop-md5-program exits non-zero, signal an
error. Also if the work buffer is not at least 32 bytes long,
signal an error. This prevents naive callers from assumption all is well
and using a possibly empty string as an MD5 hash.
* vm-md5-region: check the MD5 digest returned for non-hex-digit
characters and signal an error if any are found.
* vm-get-file-buffer: use find-buffer-visiting if it is fbound.
* vm-build-threads: fixed loop that removed child messages from a
parent when better information about a child's parent is found.
Previously the loop attempted to remove the same message from
the parent over and over.
* vm-build-threads: gather thread data using References and
In-Reply-To for all messages before using the Subject header.
This helps prevent the case where References says A is the
parent of B but because of clock skew B is older than A, which
can lead to B being considered the parent of A if A and B have
the same subject and vm-thread-using-subject is non-nil.
pilot-link-libs depend on this most recent version (0.9.5). Conveniently,
all the packages using buildlink.mk files have dependencies automatically
updated by modifying this one location.
and is undergoing many improvements and rewrites, many of which are
reflected in the current release. The ChangeLog is too large to summarize.
The libraries and headers have been split off into a separate package
pilot-link-libs.
2001-06-15 NOKUBI Takatsugu <knok@daionet.gr.jp>
* MMagic.pm (readMagicEntry): Fixed warning output probrem
on large magic database.
(Reported and patched by John R Lenton. Thanks.)
* Version 1.13.
2001-02-09 NOKUBI Takatsugu <knok@daionet.gr.jp>
* MMagic.pm (checktype_data): Changed evaluation sequence of
binary-checking and specials-checking.
Version 1.12.
2000-12-11 NOKUBI Takatsugu <knok@daionet.gr.jp>
* Discarded disallowEightbit().
Add new variable "allowEightbit".
Version 1.11.
* MMagic.pm (disallowEightbit): Added new entry.
Version 1.10.
it chdir's to ${WRKSRC} and automatically replaces /usr/bin/perl,
/usr/local/bin/perl and /usr/pkg/bin/perl with ${PERL5} in each file
listed in REPLACE_PERL variable in package's Makefile
o fix -a ('no audio') option not to open audio device
o fix audio time scale with avifile-0.53
o fix 8bit audio decoding to use proper format (ie. unsigned samples)
o apla's directory in distfile now has version numers in its name
o updated to use SDL_ttf 2.0.3
o reworked Makefile
Thanks Witold, great software!