]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
19 years agoMerge rev 51711 from the 2.5 branch.
Tim Peters [Tue, 5 Sep 2006 02:00:47 +0000 (02:00 +0000)] 
Merge rev 51711 from the 2.5 branch.

i_divmod():  As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.

19 years agoBackport trunk's revision 51565:
Thomas Wouters [Thu, 24 Aug 2006 18:55:01 +0000 (18:55 +0000)] 
Backport trunk's revision 51565:

Fix SF bug #1545837: array.array borks on deepcopy.
array.__deepcopy__() needs to take an argument, even if it doesn't actually
use it. Will backport to 2.5 and 2.4 (if applicable.)

19 years agoBackport rev 51448:
Georg Brandl [Tue, 22 Aug 2006 08:25:33 +0000 (08:25 +0000)] 
Backport rev 51448:
- Patch #1541585: fix buffer overrun when performing repr() on
  a unicode string in a build with wide unicode (UCS-4) support.

19 years agoPatch #1540329: _hotshot.c fix backports.
Georg Brandl [Sat, 19 Aug 2006 07:48:06 +0000 (07:48 +0000)] 
Patch #1540329: _hotshot.c fix backports.

19 years agoMinor edits
Andrew M. Kuchling [Fri, 18 Aug 2006 13:56:50 +0000 (13:56 +0000)] 
Minor edits

19 years agoTypo in tp_clear docs.
Georg Brandl [Fri, 18 Aug 2006 07:35:50 +0000 (07:35 +0000)] 
Typo in tp_clear docs.
 (backport from rev. 51368)

19 years agoBug #1541682: Fix example in the "Refcount details" API docs.
Georg Brandl [Fri, 18 Aug 2006 07:25:22 +0000 (07:25 +0000)] 
Bug #1541682: Fix example in the "Refcount details" API docs.
Additionally, remove a faulty example showing PySequence_SetItem applied
to a newly created list object and add notes that this isn't a good idea.
 (backport)

19 years agoAdd an additional test: BZ2File write methods should raise IOError
Georg Brandl [Mon, 14 Aug 2006 21:45:35 +0000 (21:45 +0000)] 
Add an additional test: BZ2File write methods should raise IOError
when file is read-only.
 (backport from rev. 51287)

19 years agoPatch #1535500: fix segfault in BZ2File.writelines and make sure it
Georg Brandl [Mon, 14 Aug 2006 21:42:58 +0000 (21:42 +0000)] 
Patch #1535500: fix segfault in BZ2File.writelines and make sure it
raises the correct exceptions.
 (backport from rev. 51285)

19 years agoBackport a patch applied to trunk that allows Python to compile with
Matt Fleming [Sun, 13 Aug 2006 21:41:29 +0000 (21:41 +0000)] 
Backport a patch applied to trunk that allows Python to compile with
NetBSD's bluetooth API.

19 years agoFix typo.
Georg Brandl [Fri, 11 Aug 2006 07:35:51 +0000 (07:35 +0000)] 
Fix typo.

19 years agoBackport whitespace-normalization-proofing test_cgi fix.
Georg Brandl [Fri, 11 Aug 2006 07:32:53 +0000 (07:32 +0000)] 
Backport whitespace-normalization-proofing test_cgi fix.

19 years agoChris McDonough's patch to defend against certain DoS attacks on FieldStorage.
Georg Brandl [Fri, 11 Aug 2006 07:14:38 +0000 (07:14 +0000)] 
Chris McDonough's patch to defend against certain DoS attacks on FieldStorage.
SF bug #1112549. (backport from rev. 51190)

19 years agoBackport fixes for #1523610 (crashes in PyArg_ParseTuple):
Georg Brandl [Wed, 9 Aug 2006 07:15:29 +0000 (07:15 +0000)] 
Backport fixes for #1523610 (crashes in PyArg_ParseTuple):
rev. 51158 and rev. 50843.

19 years agoBug #1536660: separate two words.
Georg Brandl [Tue, 8 Aug 2006 20:13:16 +0000 (20:13 +0000)] 
Bug #1536660: separate two words.
 (backport from rev. 51153)

19 years agoBug #1536828: typo: TypeType should have been StringType.
Georg Brandl [Tue, 8 Aug 2006 20:11:30 +0000 (20:11 +0000)] 
Bug #1536828: typo: TypeType should have been StringType.
 (backport from rev. 51151)

19 years agomemcmp() can return values other than -1, 0, and +1 but tp_compare
Thomas Heller [Tue, 8 Aug 2006 17:42:30 +0000 (17:42 +0000)] 
memcmp() can return values other than -1, 0, and +1 but tp_compare
must not.

19 years ago[Patch #1464056] Ensure that we use the panelw library when linking with ncursesw
Andrew M. Kuchling [Mon, 7 Aug 2006 00:37:19 +0000 (00:37 +0000)] 
[Patch #1464056] Ensure that we use the panelw library when linking with ncursesw

19 years agoUpdate status of relative import
Andrew M. Kuchling [Sun, 6 Aug 2006 22:10:11 +0000 (22:10 +0000)] 
Update status of relative import

19 years agoDon't produce output in test_builtin.
Georg Brandl [Sun, 6 Aug 2006 09:17:22 +0000 (09:17 +0000)] 
Don't produce output in test_builtin.
 (backport from rev. 51131)

19 years agoBug #1535165: fixed a segfault in input() and raw_input() when
Georg Brandl [Sun, 6 Aug 2006 08:23:59 +0000 (08:23 +0000)] 
Bug #1535165: fixed a segfault in input() and raw_input() when
sys.stdin is closed.
 (backport from rev. 51129)

19 years agoBug #1535182: really test the xreadlines() method of bz2 objects.
Georg Brandl [Sun, 6 Aug 2006 07:08:16 +0000 (07:08 +0000)] 
Bug #1535182: really test the xreadlines() method of bz2 objects.
    (backport from rev. 51126)

19 years agoFix mangled sentence
Andrew M. Kuchling [Fri, 4 Aug 2006 21:14:22 +0000 (21:14 +0000)] 
Fix mangled sentence

19 years agoSF patch #1534048 (bug #1531003): fix typo in error message
Fred Drake [Fri, 4 Aug 2006 05:16:04 +0000 (05:16 +0000)] 
SF patch #1534048 (bug #1531003): fix typo in error message

19 years agoBug #1531349: right <-> left glitch in __rop__ description.
Georg Brandl [Sun, 30 Jul 2006 20:18:54 +0000 (20:18 +0000)] 
Bug #1531349: right <-> left glitch in __rop__ description.
 (backport from rev. 50990)

19 years agoDrop usage of test -e in configure as it is not portable.
Martin v. Löwis [Sun, 30 Jul 2006 14:11:03 +0000 (14:11 +0000)] 
Drop usage of test -e in configure as it is not portable.
Fixes #1439538

19 years agoBackport r50856:
Martin v. Löwis [Sun, 30 Jul 2006 13:34:47 +0000 (13:34 +0000)] 
Backport r50856:
Don't kill a normal instance of python running on windows when checking
to kill a cygwin instance.  build\\python.exe was matching a normal
windows instance.  Prefix that with a \\ to ensure build is a directory
and not PCbuild.  As discussed on python-dev.

19 years agoComplain about missing VS 2003 in the error message
Martin v. Löwis [Sun, 30 Jul 2006 13:31:20 +0000 (13:31 +0000)] 
Complain about missing VS 2003 in the error message
of msvccompiler, and mention Cygwin as an alternative.
Fixes #1257728.

19 years agoBug #1002398: The documentation for os.path.sameopenfile now correctly
Georg Brandl [Sun, 30 Jul 2006 11:08:48 +0000 (11:08 +0000)] 
Bug #1002398: The documentation for os.path.sameopenfile now correctly
refers to file descriptors, not file objects.
   (backport from rev. 50974)

19 years ago[Patch #1068277] Clarify that os.path.exists() can return False depending on permissions.
Andrew M. Kuchling [Sat, 29 Jul 2006 19:52:08 +0000 (19:52 +0000)] 
[Patch #1068277] Clarify that os.path.exists() can return False depending on permissions.

19 years agoUpdate URL
Andrew M. Kuchling [Sat, 29 Jul 2006 14:05:17 +0000 (14:05 +0000)] 
Update URL

19 years agoBug #835255: The "closure" argument to new.function() is now documented.
Georg Brandl [Sat, 29 Jul 2006 08:51:25 +0000 (08:51 +0000)] 
Bug #835255: The "closure" argument to new.function() is now documented.
 (backport from rev. 50922)

19 years agoPatch #1529686: run test_iterlen and test_email_codecs in 2.4.
Georg Brandl [Fri, 28 Jul 2006 18:30:50 +0000 (18:30 +0000)] 
Patch #1529686: run test_iterlen and test_email_codecs in 2.4.

19 years agoBackport r50840 to Python 2.4:
Barry Warsaw [Fri, 28 Jul 2006 03:18:56 +0000 (03:18 +0000)] 
Backport r50840 to Python 2.4:

    Forward port some fixes that were in email 2.5 but for some reason didn't
    make it into email 4.0.  Specifically, in Message.get_content_charset(),
    handle RFC 2231 headers that contain an encoding not known to Python, or a
    character in the data that isn't in the charset encoding.  Also forward
    port the appropriate unit tests.

Also, this resolves SF bug #1414018.

19 years ago- pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename
Gregory P. Smith [Fri, 28 Jul 2006 03:16:53 +0000 (03:16 +0000)] 
- pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename
  methods now allow their database parameter to be None as the
  sleepycat API allows.

also adds a testcase.

backport of trunk commit 50889 to 2.4.

19 years agoDelete a misleading example. SF bug #1481650.
Barry Warsaw [Fri, 28 Jul 2006 02:34:35 +0000 (02:34 +0000)] 
Delete a misleading example.  SF bug #1481650.

19 years agoMerge rev 50882 from the trunk.
Tim Peters [Thu, 27 Jul 2006 23:56:12 +0000 (23:56 +0000)] 
Merge rev 50882 from the trunk.

Bug #1529297:  The rewrite of doctest for Python 2.4 unintentionally
lost that tests are sorted by name before being run.  ``DocTestFinder``
has been changed to sort the list of tests it returns.

19 years agoUpdate URL
Andrew M. Kuchling [Thu, 27 Jul 2006 18:48:47 +0000 (18:48 +0000)] 
Update URL

19 years ago[Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetns...
Andrew M. Kuchling [Wed, 26 Jul 2006 17:25:53 +0000 (17:25 +0000)] 
[Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetnstr(); it was conditionalized a few lines below.  Fix from Paul Eggert.  I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment.

19 years agoBug #1524310: Properly report errors from FindNextFile in os.listdir.
Martin v. Löwis [Mon, 24 Jul 2006 12:57:47 +0000 (12:57 +0000)] 
Bug #1524310: Properly report errors from FindNextFile in os.listdir.

19 years agoOops, this time, really bump the email version number to 3.0.2.
Barry Warsaw [Sun, 23 Jul 2006 17:04:35 +0000 (17:04 +0000)] 
Oops, this time, really bump the email version number to 3.0.2.

19 years agoPort r50754 to Python 2.4/email 3.0. Bump the email version number to 3.0.2.
Barry Warsaw [Sun, 23 Jul 2006 17:02:55 +0000 (17:02 +0000)] 
Port r50754 to Python 2.4/email 3.0.  Bump the email version number to 3.0.2.

19 years agoComplete backport of rev 50787 that was started in rev 50788
Andrew MacIntyre [Sun, 23 Jul 2006 14:29:02 +0000 (14:29 +0000)] 
Complete backport of rev 50787 that was started in rev 50788

19 years agobugfix: PyThread_start_new_thread() returns the thread ID, not a flag;
Andrew MacIntyre [Sun, 23 Jul 2006 13:01:03 +0000 (13:01 +0000)] 
bugfix: PyThread_start_new_thread() returns the thread ID, not a flag;
backport of rev 50787.

19 years agoclean up some link markup
Fred Drake [Sun, 16 Jul 2006 01:21:47 +0000 (01:21 +0000)] 
clean up some link markup

19 years agoBackport revision 50664
George Yoshida [Sat, 15 Jul 2006 16:12:49 +0000 (16:12 +0000)] 
Backport revision 50664

Bug #15187702 : ext/win-cookbook.html has a broken link to distutils

19 years agono need to elaborate "string".
Georg Brandl [Wed, 5 Jul 2006 15:50:08 +0000 (15:50 +0000)] 
no need to elaborate "string".
 (backport from rev. 47244)

19 years agoPatch #1517490: fix glitches in filter() docs.
Georg Brandl [Wed, 5 Jul 2006 14:18:49 +0000 (14:18 +0000)] 
Patch #1517490: fix glitches in filter() docs.
 (backport from rev. 47241)

19 years ago[Bug #1511911] Backport: Clarify optional arguments to sorted() and improve xref
Andrew M. Kuchling [Mon, 3 Jul 2006 14:19:01 +0000 (14:19 +0000)] 
[Bug #1511911] Backport: Clarify optional arguments to sorted() and improve xref

19 years agoPut method-wrappers into trashcan. Fixes #927248.
Martin v. Löwis [Mon, 3 Jul 2006 13:47:29 +0000 (13:47 +0000)] 
Put method-wrappers into trashcan. Fixes #927248.

19 years agoPatch #825417: Fix timeout processing in expect,
Martin v. Löwis [Mon, 3 Jul 2006 13:02:58 +0000 (13:02 +0000)] 
Patch #825417: Fix timeout processing in expect,
read_until.

19 years agoBug #1267547: Put proper recursive setup.py call into the
Martin v. Löwis [Mon, 3 Jul 2006 12:29:51 +0000 (12:29 +0000)] 
Bug #1267547: Put proper recursive setup.py call into the
spec file generated by bdist_rpm.

19 years agodocument recent bugfixes in sgmllib
Fred Drake [Thu, 29 Jun 2006 02:58:04 +0000 (02:58 +0000)] 
document recent bugfixes in sgmllib

19 years agoSF bug #1504333: sgmlib should allow angle brackets in quoted values
Fred Drake [Thu, 29 Jun 2006 00:52:32 +0000 (00:52 +0000)] 
SF bug #1504333: sgmlib should allow angle brackets in quoted values
(modified patch by Sam Ruby; changed to use separate REs for start and end
 tags to reduce matching cost for end tags; extended tests; updated to avoid
 breaking previous changes to support IPv6 addresses in unquoted attribute
 values)

19 years agoBackport 47139:
Neal Norwitz [Wed, 28 Jun 2006 06:38:25 +0000 (06:38 +0000)] 
Backport 47139:

Fix bug #1512695: cPickle.loads could crash if it was interrupted with
a KeyboardInterrupt since PyTuple_Pack was passed a NULL.

19 years agoRemoved buggy exception handling in doRollover of rotating file handlers. Exceptions...
Vinay Sajip [Tue, 27 Jun 2006 07:37:45 +0000 (07:37 +0000)] 
Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller.

19 years agoUse a different install dir than 2.5. Otherwise running the 2.4 version at the same...
Neal Norwitz [Tue, 27 Jun 2006 04:32:20 +0000 (04:32 +0000)] 
Use a different install dir than 2.5.  Otherwise running the 2.4 version at the same time as the 2.5 versions would break the 2.5 tests since the install dir was removed.

19 years ago- SF bug #853506: IP6 address parsing in sgmllib
Fred Drake [Fri, 23 Jun 2006 06:12:31 +0000 (06:12 +0000)] 
- SF bug #853506: IP6 address parsing in sgmllib
  ('[' and ']' were not accepted in unquoted attribute values)

19 years agoApplied patch #1506758: Prevent MemoryErrors with large MAXFD. Backport of 47077.
Peter Astrand [Thu, 22 Jun 2006 20:28:33 +0000 (20:28 +0000)] 
Applied patch #1506758: Prevent MemoryErrors with large MAXFD. Backport of 47077.

19 years agoBackport of r47061.
Armin Rigo [Wed, 21 Jun 2006 22:11:16 +0000 (22:11 +0000)] 
Backport of r47061.

19 years agoremove unnecessary markup
Fred Drake [Sun, 18 Jun 2006 02:58:20 +0000 (02:58 +0000)] 
remove unnecessary markup

19 years agoUpdate url.
George Yoshida [Sat, 17 Jun 2006 16:40:46 +0000 (16:40 +0000)] 
Update url.

Old url returned status code:301 Moved permanently.
(Backport from r47005)

19 years agomarkup fix
George Yoshida [Sat, 17 Jun 2006 16:32:36 +0000 (16:32 +0000)] 
markup fix

19 years agoBug #1117556: SimpleHTTPServer now tries to find and use the system's
Georg Brandl [Wed, 14 Jun 2006 08:50:05 +0000 (08:50 +0000)] 
Bug #1117556: SimpleHTTPServer now tries to find and use the system's
mime.types file for determining MIME types.
 (backport from rev. 46955)

19 years agoBug #1153163: describe __add__ vs __radd__ behavior when adding
Georg Brandl [Wed, 14 Jun 2006 08:31:41 +0000 (08:31 +0000)] 
Bug #1153163: describe __add__ vs __radd__ behavior when adding
objects of same type/of subclasses of the other.
 (backport from rev. 46952)

19 years agoBug #1501122: mention __gt__ &co in description of comparison order.
Georg Brandl [Wed, 14 Jun 2006 06:29:13 +0000 (06:29 +0000)] 
Bug #1501122: mention __gt__ &co in description of comparison order.
 (backport from rev. 46949)

19 years agoBug #1339007: Shelf objects now don't raise an exception in their
Georg Brandl [Wed, 14 Jun 2006 06:08:33 +0000 (06:08 +0000)] 
Bug #1339007: Shelf objects now don't raise an exception in their
__del__ method when initialization failed.
 (backport from rev. 46946)

19 years agoClassic class that defined ``def __coerce__(self, other): return other, self``
Brett Cannon [Tue, 13 Jun 2006 21:50:24 +0000 (21:50 +0000)] 
Classic class that defined ``def __coerce__(self, other): return other, self``
would infinitely recourse and segfault the interpreter.  Now a recursion check
occurs after a coercion.

Backport of fix for bug #992017.

19 years agoMerge rev 46840 from trunk.
Tim Peters [Sat, 10 Jun 2006 22:54:19 +0000 (22:54 +0000)] 
Merge rev 46840 from trunk.

shuffle() doscstring:  Removed warning about sequence length
versus generator period.  While this was a real weakness of the
older WH generator for lists with just a few dozen elements,
and so could potentially bite the naive ;-), the Twister should
show excellent behavior up to at least 600 elements.

19 years agocredit for SF patch #1303595
Fred Drake [Sat, 10 Jun 2006 20:04:25 +0000 (20:04 +0000)] 
credit for SF patch #1303595

19 years agoSF patch #1303595: improve description of __builtins__, explaining how it
Fred Drake [Sat, 10 Jun 2006 20:04:06 +0000 (20:04 +0000)] 
SF patch #1303595: improve description of __builtins__, explaining how it
varies between __main__ and other modules, and strongly suggest not touching
it but using __builtin__ if absolutely necessary

19 years agobackport wording fix
Skip Montanaro [Sat, 10 Jun 2006 16:46:02 +0000 (16:46 +0000)] 
backport wording fix

19 years agoAdd build\\python.exe to the list of programs to be killed.
Martin v. Löwis [Sat, 10 Jun 2006 08:07:25 +0000 (08:07 +0000)] 
Add build\\python.exe to the list of programs to be killed.

19 years agoAdd missing implementation file.
Martin v. Löwis [Sat, 10 Jun 2006 08:01:42 +0000 (08:01 +0000)] 
Add missing implementation file.

19 years agoAdd cygwin makefile.
Martin v. Löwis [Sat, 10 Jun 2006 07:46:49 +0000 (07:46 +0000)] 
Add cygwin makefile.

19 years agoAdd the new test from the #1503157 patch to the branch.
Georg Brandl [Sat, 10 Jun 2006 06:44:50 +0000 (06:44 +0000)] 
Add the new test from the #1503157 patch to the branch.

19 years agoFix bug introduced in rev. 46807 where variable was not declared at top of block.
Brett Cannon [Fri, 9 Jun 2006 22:49:31 +0000 (22:49 +0000)] 
Fix bug introduced in rev. 46807 where variable was not declared at top of block.

19 years agoBackport of fix of bug #532646 for new-style classes.
Brett Cannon [Fri, 9 Jun 2006 22:38:29 +0000 (22:38 +0000)] 
Backport of fix of bug #532646 for new-style classes.

19 years ago[Bug #1472827] Correctly escape newlines and tabs in attribute values in saxutils...
Andrew M. Kuchling [Fri, 9 Jun 2006 14:00:15 +0000 (14:00 +0000)] 
[Bug #1472827] Correctly escape newlines and tabs in attribute values in saxutils.XMLGenerator

19 years agoCheck for error on module creation
Andrew M. Kuchling [Fri, 9 Jun 2006 13:55:00 +0000 (13:55 +0000)] 
Check for error on module creation

19 years agoBackport of endianness fix for argvemulator
Ronald Oussoren [Thu, 8 Jun 2006 20:19:15 +0000 (20:19 +0000)] 
Backport of endianness fix for argvemulator

19 years agoBackport change to binascii.hexlify() to use s# for its arguments instead of t#
Brett Cannon [Thu, 8 Jun 2006 16:24:56 +0000 (16:24 +0000)] 
Backport change to binascii.hexlify() to use s# for its arguments instead of t#
in order to match its documentation.

19 years agoArgh. "integer" is a very confusing word ;)
Georg Brandl [Thu, 8 Jun 2006 13:31:14 +0000 (13:31 +0000)] 
Argh. "integer" is a very confusing word ;)
Actually, checking for INT_MAX and INT_MIN is correct since
the format code explicitly handles a C "int".
 (backport from rev. 46746)

19 years agoBug #1502728: Correctly link against librt library on HP-UX.
Georg Brandl [Thu, 8 Jun 2006 12:54:16 +0000 (12:54 +0000)] 
Bug #1502728: Correctly link against librt library on HP-UX.
 (backport from rev. 46743)

19 years agoBug #1502750: Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds checking.
Georg Brandl [Thu, 8 Jun 2006 12:45:05 +0000 (12:45 +0000)] 
Bug #1502750: Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds checking.
 (backport from rev. 46741)

19 years agoClarify docs for bf_getcharbuffer.
Brett Cannon [Wed, 7 Jun 2006 21:59:32 +0000 (21:59 +0000)] 
Clarify docs for bf_getcharbuffer.

19 years ago- Bug #1493322: bsddb: the __len__ method of a DB object has been fixed to
Gregory P. Smith [Tue, 6 Jun 2006 00:23:21 +0000 (00:23 +0000)] 
- Bug #1493322: bsddb: the __len__ method of a DB object has been fixed to
  return correct results.  It could previously incorrectly return 0 in some
  cases.  Fixes SF bug 1493322 (pybsddb bug 1184012).

19 years agoFix possible buffer overflow on Windows when reading code page.
Brett Cannon [Mon, 5 Jun 2006 23:56:36 +0000 (23:56 +0000)] 
Fix possible buffer overflow on Windows when reading code page.

Backport of fix for bug #1501223.

19 years ago[Bug #1470026] Include link to list of classifiers; remove use of Trove name
Andrew M. Kuchling [Mon, 5 Jun 2006 19:11:02 +0000 (19:11 +0000)] 
[Bug #1470026] Include link to list of classifiers; remove use of Trove name

19 years agoDon't crash on Py_UNICODE values < 0. Fixes #1454485.
Martin v. Löwis [Mon, 5 Jun 2006 10:43:57 +0000 (10:43 +0000)] 
Don't crash on Py_UNICODE values < 0. Fixes #1454485.

19 years ago(Backport from trunk) Fix a potentially invalid memory access of
Hye-Shik Chang [Mon, 5 Jun 2006 01:09:46 +0000 (01:09 +0000)] 
(Backport from trunk) Fix a potentially invalid memory access of
CJKCodecs' shift-jis decoder.

19 years agofix potential use of uninitialized char ** to construct a list if log_archive
Gregory P. Smith [Mon, 5 Jun 2006 00:40:31 +0000 (00:40 +0000)] 
fix potential use of uninitialized char ** to construct a list if log_archive
is called with the (unsupported and unexported in this version) flag DB_ARCH_REMOVE.

also fix a log_list memory leak on error return in the event that python can't create
a new list object.

19 years agoBug #1500293: fix memory leaks in _subprocess module.
Georg Brandl [Sun, 4 Jun 2006 22:15:45 +0000 (22:15 +0000)] 
Bug #1500293: fix memory leaks in _subprocess module.
 (backport from rev. 46651)

19 years ago[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
Andrew M. Kuchling [Sat, 3 Jun 2006 20:34:33 +0000 (20:34 +0000)] 
[Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.
Fix by renaming the variable.

In a different module, Neal fixed it by renaming _self to self.  There's
already a variable named 'self' here, so I used selfptr.

19 years ago[Bug #1441864] Clarify description of 'data' argument
Andrew M. Kuchling [Sat, 3 Jun 2006 18:46:03 +0000 (18:46 +0000)] 
[Bug #1441864] Clarify description of 'data' argument

19 years ago[Bug #1475554] Strengthen text to say 'must' instead of 'should'
Andrew M. Kuchling [Sat, 3 Jun 2006 18:34:03 +0000 (18:34 +0000)] 
[Bug #1475554] Strengthen text to say 'must' instead of 'should'

19 years ago[Bug #1472084] Fix description of do_tag
Andrew M. Kuchling [Sat, 3 Jun 2006 18:10:03 +0000 (18:10 +0000)] 
[Bug #1472084] Fix description of do_tag

19 years agoBackport of 46608: Port to OpenBSD 3.9.
Martin v. Löwis [Sat, 3 Jun 2006 07:40:03 +0000 (07:40 +0000)] 
Backport of 46608: Port to OpenBSD 3.9.

19 years agoClarify wording about how default values in strptime() are used.
Brett Cannon [Wed, 31 May 2006 02:22:02 +0000 (02:22 +0000)] 
Clarify wording about how default values in strptime() are used.

Backport of fix for bug #1496315.

19 years agoRemove various dependencies on dictionary order in the standard library
Armin Rigo [Sun, 28 May 2006 18:15:43 +0000 (18:15 +0000)] 
Remove various dependencies on dictionary order in the standard library
tests, and one (clearly an oversight, potentially critical) in the
standard library itself - base64.py.

test_extcall is an output test which still needs to be fixed somehow.

Forwardporting candidate...