Subject: CVS commit: pkgsrc/lang/python
To: None <pkgsrc-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: pkgsrc-changes
Date: 06/28/2001 16:19:58
Module Name:	pkgsrc
Committed By:	drochner
Date:		Thu Jun 28 13:19:57 UTC 2001

Modified Files:
	pkgsrc/lang/python: Makefile distinfo

Log Message:
update to 2.0.1 (bugfix release)

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


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 pkgsrc/lang/python/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/python/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.