Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Python versions, to replace the bsd.python.mk eventually
|
|
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
|
|
allows setting:
PY_SETUP_SUBST+= FOO=${FOO}
and having ${FILESDIR}/Setup.in piped through a sed expression with:
s!@FOO@!${FOO}!g
This allows python module package Makefiles to specify other things they
would like to substitute besides just @LOCALBASE@ and @X11BASE@.
|
|
|
|
+ move the patch digest/checksum values from files/patch-sum to distinfo
|
|
|
|
package Makefile.
|
|
|
|
|
|
|
|
|
|
lang/python upgraded to 2.0
lang/py-html-docs upgraded to 2.0
misc/py-readline upgraded to 2.0
databases/py-gdbm upgraded to 2.0
x11/py-Tk upgraded to 2.0
devel/py-curses upgraded to 2.0
lang/py-extclass upgraded to 2.2.2 and for Python 2.0
textproc/py-dtml upgraded to 2.2.2 and for Python 2.0
www/py-zpublisher upgraded to 2.2.2 and for Python 2.0
print/py-reportlab upgraded to 1.01 and for Python 2.0
More coming...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
so don't set NOSHARED=#.
|
|
|
|
|
|
NetBSD/mips, if its ELF dlopen support is non-broken. Anyone willing to
test this, please get in touch with me.
Also, add more recent patches from python.org
|
|
|
|
from individual DESCR files that had them.
|
|
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.
|
|
|
|
|
|
idea in last.
|
|
- Use -fPIC instead of -fpic (latter breaks py-Numeric on sparc).
Suggested by tv@netbsd.org. This is inherited by most py-*
packages. Change sent to guido@cnri.reston.va.us.
- Remove official patches from patches dir. Use PATCHFILES mechanism
instead to get them from www.python.org.
|
|
|
|
|
|
in PR pkg/5407 and PR pkg/5412.
|
|
|
|
Fixes PR pkg/5361.
|
|
Remove redundant (and sometimes erroneous) comments.
|
|
Fixes PR pkg/4960 by Jaromir Dolecek.
|
|
|
|
|