]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
21 years agoIn order to fix SF bug # 824977, we replace calloc()/free() calls in
Barry Warsaw [Tue, 11 May 2004 02:07:03 +0000 (02:07 +0000)] 
In order to fix SF bug # 824977, we replace calloc()/free() calls in
binascii_a2b_qp() and binascii_b2a_qp() with calls to PyMem_Malloc() and
PyMem_Free().  These won't return NULL unless the allocations actually fail,
so it won't trigger a bogus memory error on some platforms <cough>AIX</cough>
when passed a length of zero.

21 years agoSF #832236: wrap a bunch of _EXPORT_INT calls in #ifdef's, to
Greg Ward [Tue, 11 May 2004 01:33:04 +0000 (01:33 +0000)] 
SF #832236: wrap a bunch of _EXPORT_INT calls in #ifdef's, to
avoid breaking the build on MkLinux (Linux 2.0).

21 years agoAdded a note describing how fp should be opened in binary mode, especially on
Barry Warsaw [Mon, 10 May 2004 23:12:27 +0000 (23:12 +0000)] 
Added a note describing how fp should be opened in binary mode, especially on
Windows.  Closes SF # 586899.

21 years agodon't make assumptions about $PATH in Cygwin instructions
Fred Drake [Mon, 10 May 2004 18:39:01 +0000 (18:39 +0000)] 
don't make assumptions about $PATH in Cygwin instructions

21 years agoFix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as
Mark Hammond [Mon, 10 May 2004 00:32:34 +0000 (00:32 +0000)] 
Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as
implemented in patch [ 851736 ].

21 years agotest_mime_attachments_in_constructor(): New test to check for SF bug # 884030.
Barry Warsaw [Sun, 9 May 2004 18:00:56 +0000 (18:00 +0000)] 
test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.

21 years agoSF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to match
Barry Warsaw [Sun, 9 May 2004 18:00:02 +0000 (18:00 +0000)] 
SF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to match
documented semantics.

21 years agoAdd this year to the copyright notices, and label it 2.3.4.
Barry Warsaw [Sun, 9 May 2004 17:13:51 +0000 (17:13 +0000)] 
Add this year to the copyright notices, and label it 2.3.4.

21 years agoMention changes to platform.py.
Guido van Rossum [Sat, 8 May 2004 23:20:39 +0000 (23:20 +0000)] 
Mention changes to platform.py.

21 years agoSF #950057: itertools.chain doesn't "process" exceptions as they occur
Raymond Hettinger [Sat, 8 May 2004 20:57:16 +0000 (20:57 +0000)] 
SF #950057:  itertools.chain doesn't "process" exceptions as they occur

Both cycle() and chain() were handling exceptions only when switching
input sources.  The patch makes the handle more immediate.

21 years agoSF #950057: itertools.chain doesn't "process" exceptions as they occur
Raymond Hettinger [Sat, 8 May 2004 19:52:39 +0000 (19:52 +0000)] 
SF #950057:  itertools.chain doesn't "process" exceptions as they occur

Both cycle() and chain() were handling exceptions only when switching
input sources.  The patch makes the handle more immediate.

21 years agoRecord UnixWare 7.1.4 as broken. Fixes #929689.
Martin v. Löwis [Fri, 7 May 2004 19:13:47 +0000 (19:13 +0000)] 
Record UnixWare 7.1.4 as broken. Fixes #929689.

21 years agoFix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.
Martin v. Löwis [Fri, 7 May 2004 07:16:33 +0000 (07:16 +0000)] 
Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.

21 years ago[Bug #945063 backport] Get file extension correct.
Andrew M. Kuchling [Thu, 6 May 2004 13:18:26 +0000 (13:18 +0000)] 
[Bug #945063 backport] Get file extension correct.

21 years agonote that descriptor objects must be instances of new-style types
Fred Drake [Thu, 6 May 2004 12:45:45 +0000 (12:45 +0000)] 
note that descriptor objects must be instances of new-style types
(closes SF bug #817742)

21 years agofix documentation for ContentHandler.ignorableWhitespace()
Fred Drake [Thu, 6 May 2004 03:48:33 +0000 (03:48 +0000)] 
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)

21 years agoConsider output encoding in XMLGenerator. Fixes #938076.
Martin v. Löwis [Thu, 6 May 2004 02:22:23 +0000 (02:22 +0000)] 
Consider output encoding in XMLGenerator. Fixes #938076.

21 years agoProperly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.
Martin v. Löwis [Thu, 6 May 2004 02:03:13 +0000 (02:03 +0000)] 
Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.

21 years agoPatch #944110: Properly process empty passwords. Fixes #944082.
Martin v. Löwis [Thu, 6 May 2004 01:40:57 +0000 (01:40 +0000)] 
Patch #944110: Properly process empty passwords. Fixes #944082.

21 years agoPatch #940026: Explain "in" when it is first used.
Martin v. Löwis [Thu, 6 May 2004 01:34:56 +0000 (01:34 +0000)] 
Patch #940026: Explain "in" when it is first used.

21 years agoMerge all fixes from Python 2.4. This includes:
Guido van Rossum [Wed, 5 May 2004 23:58:03 +0000 (23:58 +0000)] 
Merge all fixes from Python 2.4.  This includes:

1.12
Added more Windows version names (thanks to Thomas Heller).
Fixed bug in platform() cache (thanks to Brett Cannon).

1.10,1.11
Fixed a caching bug in platform.platform() where the argument of 'terse' was
not taken into consideration when caching value.

21 years ago- note that __getinitargs__() is only for old-style classes
Fred Drake [Wed, 5 May 2004 04:57:01 +0000 (04:57 +0000)] 
- note that __getinitargs__() is only for old-style classes
- describe __getnewargs__() (with index entry)
(closes SF bug #873246)

21 years agoRemove list of pickle protocol names used by the copy module; there
Fred Drake [Wed, 5 May 2004 04:24:53 +0000 (04:24 +0000)] 
Remove list of pickle protocol names used by the copy module; there
are enough subtleties to pickling that we don't want misunderstanding
to spread because we don't provide all the information twice.  The
reference to the pickle module for information will have to suffice;
at least only one portion of the docs will be out of date.  ;-(

21 years agonote that the error code for socket.gaierror will be one of the EAI_*
Fred Drake [Wed, 5 May 2004 04:15:30 +0000 (04:15 +0000)] 
note that the error code for socket.gaierror will be one of the EAI_*
constants
(closes SF bug #837929)

21 years agoSF #814606: fix mixer docs to talk about "controls", not "channels".
Greg Ward [Wed, 5 May 2004 01:33:21 +0000 (01:33 +0000)] 
SF #814606: fix mixer docs to talk about "controls", not "channels".
General cleanup of mixer docs, especially clarifying which exceptions
  are thrown when.
Trim \platform{}, add \versionadded{}.

21 years agoDocument readline module functions added in Python 2.3. See:
Phillip J. Eby [Tue, 4 May 2004 19:27:35 +0000 (19:27 +0000)] 
Document readline module functions added in Python 2.3.  See:

http://mail.python.org/pipermail/python-dev/2003-September/037922.html

for background.  It appears I forgot to ever submit a bug report or patch.

21 years agoUsing reversed() is not compatible with Python 1.5.2.
Guido van Rossum [Tue, 4 May 2004 18:18:23 +0000 (18:18 +0000)] 
Using reversed() is not compatible with Python 1.5.2.

21 years agoFix [ 947405 ] os.utime() raises bad exception for unicode filenames.
Mark Hammond [Tue, 4 May 2004 08:07:49 +0000 (08:07 +0000)] 
Fix [ 947405 ] os.utime() raises bad exception for unicode filenames.

21 years agoDo not use the default namespace for attributes.
Martin v. Löwis [Sun, 2 May 2004 20:37:47 +0000 (20:37 +0000)] 
Do not use the default namespace for attributes.
Fixes http://bugs.debian.org/229885

21 years agothe headers in an HTTP request are HTTP headers, not MIME headers
Fred Drake [Thu, 29 Apr 2004 02:47:09 +0000 (02:47 +0000)] 
the headers in an HTTP request are HTTP headers, not MIME headers

21 years agoremove out-of-date count of the functions in winsound
Fred Drake [Wed, 28 Apr 2004 03:57:30 +0000 (03:57 +0000)] 
remove out-of-date count of the functions in winsound

21 years agofix typo reported in a long-buried email
Fred Drake [Wed, 28 Apr 2004 03:16:29 +0000 (03:16 +0000)] 
fix typo reported in a long-buried email

21 years agoSF bug #940579: section 5.10: 'not' returns boolean, not int
Raymond Hettinger [Fri, 23 Apr 2004 17:14:35 +0000 (17:14 +0000)] 
SF bug #940579: section 5.10: 'not' returns boolean, not int

21 years agoAs discussed on python-dev, a script for the free Inno Setup tool
Thomas Heller [Thu, 22 Apr 2004 18:24:30 +0000 (18:24 +0000)] 
As discussed on python-dev, a script for the free Inno Setup tool
which will create a windows installer containing only the Python
debugging binaries.

They will be installed alongside an existing Python installation, the
location is read from the registry.

This allows easy building and debugging of own compiled extensions.

21 years agoSF #926075: Fixed the bug that returns a wrong pattern object for
Hye-Shik Chang [Tue, 20 Apr 2004 21:32:33 +0000 (21:32 +0000)] 
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.

21 years agoSF #926075: Fixed the bug that returns a wrong pattern object for
Hye-Shik Chang [Tue, 20 Apr 2004 21:16:06 +0000 (21:16 +0000)] 
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.

21 years agoSpecial case normalization of empty strings. Fixes #924361.
Martin v. Löwis [Sat, 17 Apr 2004 19:36:13 +0000 (19:36 +0000)] 
Special case normalization of empty strings. Fixes #924361.

21 years agoSF bug #936827: PyNumber_And() 's description
Raymond Hettinger [Sat, 17 Apr 2004 11:59:55 +0000 (11:59 +0000)] 
SF bug #936827:  PyNumber_And() 's description

Fix typo.

21 years agoWhitespace cleanup.
Thomas Heller [Fri, 16 Apr 2004 20:15:33 +0000 (20:15 +0000)] 
Whitespace cleanup.

21 years agoThe Windows installer for Python 2.3.4 will include tix.
Thomas Heller [Fri, 16 Apr 2004 20:13:57 +0000 (20:13 +0000)] 
The Windows installer for Python 2.3.4 will include tix.

21 years agoAdd tcl test results on Windows XP.
Thomas Heller [Fri, 16 Apr 2004 20:09:57 +0000 (20:09 +0000)] 
Add tcl test results on Windows XP.

Add instructions how to build tix - will probably be included in Python 2.3.4.

21 years agobackport of patch #934971.
Skip Montanaro [Fri, 16 Apr 2004 03:30:33 +0000 (03:30 +0000)] 
backport of patch #934971.

21 years agoRecompiled the binary wininst.exe after this change:
Thomas Heller [Thu, 15 Apr 2004 17:51:59 +0000 (17:51 +0000)] 
Recompiled the binary wininst.exe after this change:

When loading the Python dll to run the postinstall script, try to load
it from the install directory (as reported by the registry) in case it
is not found on the default Loadlibrary search path.

Fixes SF 935091: bdist_winist post-install script fails on non-admin Python

Will port to the trunk later.

21 years agoWhen loading the Python dll to run the postinstall script, try to load
Thomas Heller [Thu, 15 Apr 2004 17:50:42 +0000 (17:50 +0000)] 
When loading the Python dll to run the postinstall script, try to load
it from the install directory (as reported by the registry) in case it
is not found on the default Loadlibrary search path.

Fixes SF 935091: bdist_winist post-install script fails on non-admin Python

Will port to the trunk later.

21 years agoremove bogus markup that caused the docs to be wrong
Fred Drake [Thu, 15 Apr 2004 06:18:28 +0000 (06:18 +0000)] 
remove bogus markup that caused the docs to be wrong

21 years agoBackport checkin>
Hye-Shik Chang [Wed, 14 Apr 2004 08:11:31 +0000 (08:11 +0000)] 
Backport checkin>
Bug #934635: Fixed a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)

21 years agoadd AF_UNIX notes
Andrew MacIntyre [Sun, 11 Apr 2004 12:13:53 +0000 (12:13 +0000)] 
add AF_UNIX notes

21 years agoBackport to 2.3:
Andrew MacIntyre [Sun, 11 Apr 2004 12:12:31 +0000 (12:12 +0000)] 
Backport to 2.3:

Fixes for AF_UNIX support on OS/2:
- return the full size of the sockaddr_un structure, without which
  bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
  required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
  fork() can't handle the stress.

21 years agogive rational filenames to some of the generated HTML
Fred Drake [Thu, 8 Apr 2004 19:45:36 +0000 (19:45 +0000)] 
give rational filenames to some of the generated HTML

21 years agoinclude both the GIF and PNG icons in the HTML package
Fred Drake [Thu, 8 Apr 2004 16:38:10 +0000 (16:38 +0000)] 
include both the GIF and PNG icons in the HTML package

21 years agoavoid stripping space after indexing macros
Fred Drake [Thu, 8 Apr 2004 15:46:56 +0000 (15:46 +0000)] 
avoid stripping space after indexing macros

21 years agoBackport to 2.3 to support Zope 2.7 on OS/2:
Andrew MacIntyre [Sun, 4 Apr 2004 07:19:27 +0000 (07:19 +0000)] 
Backport to 2.3 to support Zope 2.7 on OS/2:

OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that
the socket name must start with /socket32/.  Unlike Unix systems, this
file never exists in the file system.

21 years agoBackport to 2.3 to support Zope 2.7 on OS/2:
Andrew MacIntyre [Sun, 4 Apr 2004 07:17:05 +0000 (07:17 +0000)] 
Backport to 2.3 to support Zope 2.7 on OS/2:

OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).

Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.

21 years agoBackport to 2.3:
Andrew MacIntyre [Sun, 4 Apr 2004 07:08:20 +0000 (07:08 +0000)] 
Backport to 2.3:

If a file is opened with an explicit buffer size >= 1, repeated
close() calls would attempt to free() the buffer already free()ed on
the first close().     [bug introduced with patch #788249]

Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.

21 years ago#928751, fix typos in socket doc
Neal Norwitz [Sat, 3 Apr 2004 18:03:51 +0000 (18:03 +0000)] 
#928751, fix typos in socket doc

21 years agoremove workarounds to prevent "--" in code from being improperly munged to
Fred Drake [Thu, 1 Apr 2004 16:38:44 +0000 (16:38 +0000)] 
remove workarounds to prevent "--" in code from being improperly munged to
single hyphens in the HTML output; this is no longer needed now that
../perl/python.perl makes things just work

21 years agoFix support for the "prog" keyword to the OptionParser constructor, as well
Fred Drake [Thu, 1 Apr 2004 07:38:49 +0000 (07:38 +0000)] 
Fix support for the "prog" keyword to the OptionParser constructor, as well
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964.

21 years agobackport trunk revision 1.144, closing SF bug #793702:
Fred Drake [Thu, 1 Apr 2004 04:33:39 +0000 (04:33 +0000)] 
backport trunk revision 1.144, closing SF bug #793702:
- make "--" in code text not get converted to "-"
- fix minor typo in comment
(but this time the typo is fixed correctly!)

21 years agoNote that reading from a socket may not always return all of the
Fred Drake [Thu, 1 Apr 2004 04:11:05 +0000 (04:11 +0000)] 
Note that reading from a socket may not always return all of the
remaining content of a stream when expected to do so.
Closes SF bug #725265.  Backported from trunk revision 1.52.

21 years ago- make sure the methods minidom adds to the basic DOM are attributed
Fred Drake [Thu, 1 Apr 2004 04:06:52 +0000 (04:06 +0000)] 
- make sure the methods minidom adds to the basic DOM are attributed
  to Node objects in the index (closes SF bug #832251)
- fix a variety of markup nits

Backported from trunk revision 1.9.

21 years agobackport fix for SF bug #796042: sdist ignores scripts argument in setup
Fred Drake [Thu, 1 Apr 2004 03:56:46 +0000 (03:56 +0000)] 
backport fix for SF bug #796042:  sdist ignores scripts argument in setup

The fix adds a get_source_files() method to the build_scripts command
and adds the result to the default manifest list.

21 years agoPatch #924497: find(1) all files with /usr/local/bin/python in them.
Martin v. Löwis [Wed, 31 Mar 2004 18:58:42 +0000 (18:58 +0000)] 
Patch #924497: find(1) all files with /usr/local/bin/python in them.

21 years agoBackport 1.17:
Guido van Rossum [Wed, 31 Mar 2004 18:55:17 +0000 (18:55 +0000)] 
Backport 1.17:
When /tmp has certain sticky bits set, newly created subdirectories
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.

21 years agoadd missing and forthcoming releases
Fred Drake [Wed, 31 Mar 2004 08:02:55 +0000 (08:02 +0000)] 
add missing and forthcoming releases

21 years agoEmphasize the requirement that Python.h be included first more strongly.
Fred Drake [Wed, 31 Mar 2004 07:48:14 +0000 (07:48 +0000)] 
Emphasize the requirement that Python.h be included first more strongly.
Closes SF bug #837228; backported from the head.

21 years agoKeybindings with the Shift modifier now work correctly. So do bindings
Kurt B. Kaiser [Tue, 30 Mar 2004 04:07:00 +0000 (04:07 +0000)] 
Keybindings with the Shift modifier now work correctly.  So do bindings
which use the Space key.  Limit unmodified user keybindings to the
function keys.
Python Bug 775353, IDLEfork Bugs 755647, 761557

Improve error handling during startup if there's no Tkinter.

M NEWS.txt
M PyShell.py
M config-keys.def
M configHandler.py
M keybindingDialog.py

21 years agoOS/2 VACPP build updates/fixes
Andrew MacIntyre [Mon, 29 Mar 2004 11:58:55 +0000 (11:58 +0000)] 
OS/2 VACPP build updates/fixes

21 years agoremove out-of-date warning
Fred Drake [Fri, 26 Mar 2004 17:10:33 +0000 (17:10 +0000)] 
remove out-of-date warning

21 years agoFix last patch to make backwards-compatible with Python 1.5.2 .
Brett Cannon [Thu, 25 Mar 2004 18:35:38 +0000 (18:35 +0000)] 
Fix last patch to make backwards-compatible with Python 1.5.2 .
Bumped up micro version number.

21 years agoFixed a caching bug in platform.platform() where the argument of 'terse' was
Brett Cannon [Thu, 25 Mar 2004 16:56:14 +0000 (16:56 +0000)] 
Fixed a caching bug in platform.platform() where the argument of 'terse' was
not taken into consideration when caching value.

21 years agoSF bug #921927: Fixed a typo/thinko spelling "parameter" as "paramter"
Raymond Hettinger [Thu, 25 Mar 2004 08:55:58 +0000 (08:55 +0000)] 
SF bug #921927:  Fixed a typo/thinko spelling "parameter" as "paramter"

21 years agoEnsure super() lookup of descriptor from classmethod works (SF ID# 743627)
Phillip J. Eby [Thu, 25 Mar 2004 02:36:29 +0000 (02:36 +0000)] 
Ensure super() lookup of descriptor from classmethod works (SF ID# 743627)
(Backport to 2.3 maintenance branch)

21 years agoConvert input to a string object. Fixes #909230.
Martin v. Löwis [Tue, 23 Mar 2004 23:42:54 +0000 (23:42 +0000)] 
Convert input to a string object. Fixes #909230.

21 years agoDecref all if ensure_fromlist fails. Fixes #876533.
Martin v. Löwis [Tue, 23 Mar 2004 16:28:45 +0000 (16:28 +0000)] 
Decref all if ensure_fromlist fails. Fixes #876533.

21 years agoBackport for bug fix of 2.204.
Armin Rigo [Mon, 22 Mar 2004 20:41:47 +0000 (20:41 +0000)] 
Backport for bug fix of 2.204.

21 years agoBackported fix of revision 2.217.
Armin Rigo [Mon, 22 Mar 2004 20:39:42 +0000 (20:39 +0000)] 
Backported fix of revision 2.217.

21 years agoAdded check for broken poll on OSes where it exists but sets errno for
Nicholas Bastin [Mon, 22 Mar 2004 20:20:33 +0000 (20:20 +0000)] 
Added check for broken poll on OSes where it exists but sets errno for
bad file descriptor.  Fixes SF Bug #850981

21 years agoBackport checkin:
Hye-Shik Chang [Sun, 21 Mar 2004 19:53:59 +0000 (19:53 +0000)] 
Backport checkin:
[Bug #920575] Add a workaround for GNU libc nl_langinfo()'s returning NULL.

21 years agoFix test_strftime.py to escape locale time values that have characters that
Brett Cannon [Sat, 20 Mar 2004 23:13:49 +0000 (23:13 +0000)] 
Fix test_strftime.py to escape locale time values that have characters that
might be mistaken for regex syntax.
Fixes bug #883604 .

21 years agoPut entry in proper section.
Brett Cannon [Sat, 20 Mar 2004 22:48:19 +0000 (22:48 +0000)] 
Put entry in proper section.

21 years agoBackport to 2.3:
Guido van Rossum [Sat, 20 Mar 2004 22:35:07 +0000 (22:35 +0000)] 
Backport to 2.3:
Fix for SF 780407.
Change %08l to %p to print a pointer.

21 years agoBackporting to 2.3:
Guido van Rossum [Sat, 20 Mar 2004 22:22:31 +0000 (22:22 +0000)] 
Backporting to 2.3:
Fix for SF 777848.
I've been bitten by this myself in the past half year.
I hope this fix is right.

21 years agoRaise RuntimeError if the second argument to isinstance() or issubclass()
Brett Cannon [Sat, 20 Mar 2004 21:54:35 +0000 (21:54 +0000)] 
Raise RuntimeError if the second argument to isinstance() or issubclass()
is a tuple nested to a depth beyond the interpreter's recursion limit to
prevent a segfault from blowing the C stack.
Fixes bug #858016 .

21 years agoAdd mention of fix of bug #700055.
Brett Cannon [Sat, 20 Mar 2004 21:18:46 +0000 (21:18 +0000)] 
Add mention of fix of bug #700055.

21 years agoStrip all whitespace at the end of a line when validating paths specified in
Brett Cannon [Sat, 20 Mar 2004 21:14:25 +0000 (21:14 +0000)] 
Strip all whitespace at the end of a line when validating paths specified in
a .pth file.
Fixes bug #700055 .

21 years agoSF bug #918371: hasattr()'s return type
Raymond Hettinger [Sat, 20 Mar 2004 18:26:42 +0000 (18:26 +0000)] 
SF bug #918371: hasattr()'s return type

Replace 1 and 0 with True and False.

21 years agocommit the portion of PyXML patch #919008 that is relevant to the
Fred Drake [Sat, 20 Mar 2004 08:20:03 +0000 (08:20 +0000)] 
commit the portion of PyXML patch #919008 that is relevant to the
standard library:
str() of xml.sax.SAXParseException should not fail if the line and/or
column number returned by the locator are None
(tests added)

21 years agoPyFile_WriteObject(): some of the local variables are only used when
Fred Drake [Fri, 19 Mar 2004 15:23:14 +0000 (15:23 +0000)] 
PyFile_WriteObject():  some of the local variables are only used when
                       Py_USING_UNICODE is defined

21 years agofix bug related to SF bug id 788421 where DBC.set_range() could call
Gregory P. Smith [Tue, 16 Mar 2004 07:47:45 +0000 (07:47 +0000)] 
fix bug related to SF bug id 788421 where DBC.set_range() could call
free() on something it did not allocate for non B-Tree based databases.

21 years agoBackport checkin:
Walter Dörwald [Mon, 15 Mar 2004 14:22:55 +0000 (14:22 +0000)] 
Backport checkin:
Port test_binascii.py to PyUnit and enhance tests.
Code coverage for binascii.c is at 92%.
From SF patch #736962.

21 years agoSF patch #911431: robot.txt must be robots.txt
Raymond Hettinger [Sat, 13 Mar 2004 20:31:33 +0000 (20:31 +0000)] 
SF patch #911431: robot.txt must be robots.txt
(Contributed by George Yoshida.)

21 years agoBackport platform module's docs since module was added in 2.3 .
Brett Cannon [Tue, 2 Mar 2004 04:45:08 +0000 (04:45 +0000)] 
Backport platform module's docs since module was added in 2.3 .

21 years agoBackport of 1.18:
Jack Jansen [Sat, 28 Feb 2004 23:23:57 +0000 (23:23 +0000)] 
Backport of 1.18:
- Allow easy opening of experimental database, if pimp >= 0.4
- Allow easy access to the PackMan homepage, for even more databases.

21 years agoBackport of 1.29 and 1.30 (1.28 is obsolete):
Jack Jansen [Sat, 28 Feb 2004 23:21:50 +0000 (23:21 +0000)] 
Backport of 1.29 and 1.30 (1.28 is obsolete):
Started on version 0.4: better scheme for finding correct database:
- Try not only "darwin-7.X.Y" but also "darwin-7.X" and "darwin-7",
  so far we've never had to create anew database for a minor release.
- Distinguish between the various different installs (user-installed
  MacPython, apple-installed MacPython, other).

21 years agoFixes SF bsddb module bug 788421:
Gregory P. Smith [Thu, 26 Feb 2004 10:21:13 +0000 (10:21 +0000)] 
Fixes SF bsddb module bug 788421:
 * Fixed a bug in the compatibility interface set_location() method
   where it would not properly search to the next nearest key when
   used on BTree databases.  [SF bug id 788421]
 * Fixed a bug in the compatibility interface set_location() method
   where it could crash when looking up keys in a hash or recno
   format database due to an incorrect free().

21 years agofix typo in reference to RFC 3464 DSN MIME type
Fred Drake [Tue, 24 Feb 2004 20:57:30 +0000 (20:57 +0000)] 
fix typo in reference to RFC 3464 DSN MIME type

21 years agofix English usage error reported by Ken Fuchs
Fred Drake [Tue, 24 Feb 2004 16:13:04 +0000 (16:13 +0000)] 
fix English usage error reported by Ken Fuchs

21 years agoadding passing test. testing for g(*Nothing()) where Nothing is a user-defined iterator.
Samuele Pedroni [Sat, 21 Feb 2004 21:00:36 +0000 (21:00 +0000)] 
adding passing test. testing for g(*Nothing()) where Nothing is a user-defined iterator.

21 years agoadd definitions required for expat 1.95.7
Andrew MacIntyre [Fri, 20 Feb 2004 12:00:06 +0000 (12:00 +0000)] 
add definitions required for expat 1.95.7

21 years agobackport of concrete.tex v1.35:
Andrew MacIntyre [Fri, 20 Feb 2004 11:58:27 +0000 (11:58 +0000)] 
backport of concrete.tex v1.35:

The semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
with most other concrete object checks, but the docs weren't brought into
line.

PyList_CheckExact() was added at 2.2 but never documented.