]> granicus.if.org Git - python/log
python
17 years agobackport of r60575 (issue #1750076): Debugger did not step on every iteration of...
Amaury Forgeot d'Arc [Mon, 4 Feb 2008 22:34:57 +0000 (22:34 +0000)]
backport of r60575 (issue #1750076): Debugger did not step on every iteration of a while statement.

The mapping between bytecode offsets and source lines (lnotab) did not contain
an entry for the beginning of the loop.

Now it does, and the lnotab can be a bit larger:
in particular, several statements on the same line generate several entries.
However, this does not bother the settrace function, which will trigger only
one 'line' event.

The lnotab seems to be exactly the same as with python2.4.

17 years agoBackport r59862 (issue #712900): make long regexp matches interruptable
Guido van Rossum [Mon, 4 Feb 2008 22:00:35 +0000 (22:00 +0000)]
Backport r59862 (issue #712900): make long regexp matches interruptable
by signals.

17 years agoBackport r60537: have order of CPPFLAGS and LDFLAGS be honored.
Brett Cannon [Sun, 3 Feb 2008 09:58:02 +0000 (09:58 +0000)]
Backport r60537: have order of CPPFLAGS and LDFLAGS be honored.

17 years agoDisable linking against BerkeleyDB 4.6 by default as it has proven to
Gregory P. Smith [Sun, 3 Feb 2008 08:10:20 +0000 (08:10 +0000)]
Disable linking against BerkeleyDB 4.6 by default as it has proven to
be a buggy release on many platforms.

17 years agobackport r60544 from trunk:
Gregory P. Smith [Sun, 3 Feb 2008 07:26:23 +0000 (07:26 +0000)]
backport r60544 from trunk:
Merge this fix from the pybsddb tree:
r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines

Solved memory leak when using cursors with
databases without environment.

17 years agoBackport 60542:
Andrew MacIntyre [Sun, 3 Feb 2008 07:20:39 +0000 (07:20 +0000)]
Backport 60542:
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2].

17 years agoBug #1234: Fixed semaphore errors on AIX 5.2
Christian Heimes [Wed, 30 Jan 2008 22:54:27 +0000 (22:54 +0000)]
Bug #1234: Fixed semaphore errors on AIX 5.2

17 years agoRevert rev. 59926, it breaks comtypes (I need to further examine this).
Thomas Heller [Mon, 28 Jan 2008 08:42:22 +0000 (08:42 +0000)]
Revert rev. 59926, it breaks comtypes (I need to further examine this).

17 years agoTry harder to provoke the exception since the ia64 buildbot still
Neal Norwitz [Mon, 28 Jan 2008 01:33:23 +0000 (01:33 +0000)]
Try harder to provoke the exception since the ia64 buildbot still
doesn't reliably produce an exception.

17 years agoSync up with trunk. Try to flush repeatedly to ensure the exception is raised.
Neal Norwitz [Sun, 27 Jan 2008 20:08:04 +0000 (20:08 +0000)]
Sync up with trunk.  Try to flush repeatedly to ensure the exception is raised.

17 years agoChange isbasestring function as discussed on the cvs list a while ago
Christian Heimes [Sun, 27 Jan 2008 19:01:59 +0000 (19:01 +0000)]
Change isbasestring function as discussed on the cvs list a while ago

17 years agoBackport 60342:
Neal Norwitz [Sun, 27 Jan 2008 05:02:56 +0000 (05:02 +0000)]
Backport 60342:
Try to prevent this test from being flaky.  We might need a sleep in here
which isn't as bad as it sounds.  The close() *should* raise an exception,
so if it didn't we should give more time to sync and really raise it.

17 years agoBackport r58453:
Neal Norwitz [Sun, 27 Jan 2008 01:24:44 +0000 (01:24 +0000)]
Backport r58453:
Let the O/S supply a port if none of the default ports can be used.
This should make the tests more robust at the expense of allowing
tests to be sloppier by not requiring them to cleanup after themselves.
(It will legitamitely help when running two test suites simultaneously
or if another process is already using one of the predefined ports.)

This will hopefully fix test_asynchat.

17 years agoBackport 60334:
Neal Norwitz [Sun, 27 Jan 2008 01:23:50 +0000 (01:23 +0000)]
Backport 60334:
On some systems (e.g., Ubuntu on hppa) the flush()
doesn't (always) cause the exception, but the close() does.

17 years ago#1940: make it possible to use curses.filter() before curses.initscr()
Georg Brandl [Sat, 26 Jan 2008 14:03:51 +0000 (14:03 +0000)]
#1940: make it possible to use curses.filter() before curses.initscr()
as the documentation says.
 (backport from rev. 60322)

17 years agoFix typo in constant name.
Thomas Wouters [Fri, 25 Jan 2008 21:08:41 +0000 (21:08 +0000)]
Fix typo in constant name.

17 years agoUse the right (portable) definition of the max of a Py_ssize_t.
Thomas Wouters [Fri, 25 Jan 2008 19:51:24 +0000 (19:51 +0000)]
Use the right (portable) definition of the max of a Py_ssize_t.

17 years agoRewrite the list_inline_repeat overflow check slightly differently.
Guido van Rossum [Fri, 25 Jan 2008 19:42:36 +0000 (19:42 +0000)]
Rewrite the list_inline_repeat overflow check slightly differently.

17 years agoSilence a compiler warning.
Guido van Rossum [Fri, 25 Jan 2008 06:11:53 +0000 (06:11 +0000)]
Silence a compiler warning.

17 years ago#1920: when considering a block starting by "while 0", the compiler optimized the
Amaury Forgeot d'Arc [Thu, 24 Jan 2008 23:42:08 +0000 (23:42 +0000)]
#1920: when considering a block starting by "while 0", the compiler optimized the
whole construct away, even when an 'else' clause is present::

    while 0:
        print("no")
    else:
        print("yes")

did not generate any code at all.

Now the compiler emits the 'else' block, like it already does for 'if' statements.

Backport of r60265.

17 years agoNews for some crashers I fixed recently.
Guido van Rossum [Thu, 24 Jan 2008 18:28:37 +0000 (18:28 +0000)]
News for some crashers I fixed recently.
Also removed three non-ASCII chars at start of file.

17 years agoBackport r60246.
Guido van Rossum [Thu, 24 Jan 2008 17:59:56 +0000 (17:59 +0000)]
Backport r60246.
Fix issue #1303614, test67.py.

17 years agoFix failing test_mailbox on Cygwin
Andrew M. Kuchling [Thu, 24 Jan 2008 14:08:00 +0000 (14:08 +0000)]
Fix failing test_mailbox on Cygwin

17 years agoInvert the checks in get_[u]long and get_[u]longlong. The intent was
Thomas Heller [Thu, 24 Jan 2008 13:08:54 +0000 (13:08 +0000)]
Invert the checks in get_[u]long and get_[u]longlong.  The intent was
to not accept float types; the result was that integer-like objects
were not accepted.

17 years agoFix two crashers (borrowed_ref_[34].py from the trunk).
Guido van Rossum [Wed, 23 Jan 2008 20:09:39 +0000 (20:09 +0000)]
Fix two crashers (borrowed_ref_[34].py from the trunk).

17 years agoFix product code handling for Win64.
Martin v. Löwis [Wed, 23 Jan 2008 17:54:14 +0000 (17:54 +0000)]
Fix product code handling for Win64.

17 years agoFixed bug #1915: Python compiles with --enable-unicode=no again. However several...
Christian Heimes [Wed, 23 Jan 2008 14:20:41 +0000 (14:20 +0000)]
Fixed bug #1915: Python compiles with --enable-unicode=no again. However several extension methods and modules do not work without unicode support.

17 years agoBackport r60208, skip some tests for huge passwd/group files.
Guido van Rossum [Wed, 23 Jan 2008 01:20:26 +0000 (01:20 +0000)]
Backport r60208, skip some tests for huge passwd/group files.

17 years agoBackport: #1889 - fixup \xhh specs.
Georg Brandl [Tue, 22 Jan 2008 07:54:07 +0000 (07:54 +0000)]
Backport: #1889 - fixup \xhh specs.

17 years agoBackport of r60190:
Gregory P. Smith [Tue, 22 Jan 2008 01:29:11 +0000 (01:29 +0000)]
Backport of r60190:
- Fix Issue #1703448: A joined thread could show up in the
  threading.enumerate() list after the join() for a brief period until
  it actually exited.

17 years agoRemove extra test that was accidentally backported from the trunk
Mark Dickinson [Mon, 21 Jan 2008 23:35:11 +0000 (23:35 +0000)]
Remove extra test that was accidentally backported from the trunk

17 years agoIssue 1678380: fix a bug identifying -0.0 and 0.0
Mark Dickinson [Mon, 21 Jan 2008 21:54:47 +0000 (21:54 +0000)]
Issue 1678380:  fix a bug identifying -0.0 and 0.0

17 years agoAdd NEWS entry for #1882.
Georg Brandl [Mon, 21 Jan 2008 18:36:54 +0000 (18:36 +0000)]
Add NEWS entry for #1882.
 (backport from rev. 60170)

17 years agoIssue #1882: when compiling code from a string, encoding cookies in the
Georg Brandl [Mon, 21 Jan 2008 18:35:52 +0000 (18:35 +0000)]
Issue #1882: when compiling code from a string, encoding cookies in the
second line of code were not always recognized correctly.
 (backport from rev. 60168)

17 years agoFix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch...
Vinay Sajip [Mon, 21 Jan 2008 17:03:46 +0000 (17:03 +0000)]
Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch thanks to Kathryn M. Kowalski.

17 years agoFix off-by-one error that resulted in missed characters
Andrew M. Kuchling [Sat, 19 Jan 2008 23:44:39 +0000 (23:44 +0000)]
Fix off-by-one error that resulted in missed characters

17 years agobackport r60116 - fix zipfile to work with archives having file
Gregory P. Smith [Sat, 19 Jan 2008 23:16:01 +0000 (23:16 +0000)]
backport r60116 - fix zipfile to work with archives having file
headers beyond the signed 2**31 byte boundary.

17 years agobackport r60104 + r60111 from trunk.
Gregory P. Smith [Sat, 19 Jan 2008 22:29:41 +0000 (22:29 +0000)]
backport r60104 + r60111 from trunk.
- Issue #1336: fix a race condition in subprocess.Popen if the garbage
  collector kicked in at the wrong time that would cause the process
  to hang when the child wrote to stderr.

17 years agoBug 1296: restore text describing OptionGroup
Andrew M. Kuchling [Sat, 19 Jan 2008 21:01:39 +0000 (21:01 +0000)]
Bug 1296: restore text describing OptionGroup

17 years agoBackport r59688.
Georg Brandl [Sat, 19 Jan 2008 20:34:19 +0000 (20:34 +0000)]
Backport r59688.

17 years agoBug 1277: make Maildir use the user-provided factory instead of hard-wiring MaildirMe...
Andrew M. Kuchling [Sat, 19 Jan 2008 20:14:40 +0000 (20:14 +0000)]
Bug 1277: make Maildir use the user-provided factory instead of hard-wiring MaildirMessage.

17 years agoThis got fixed in r60056.
Guido van Rossum [Fri, 18 Jan 2008 23:06:49 +0000 (23:06 +0000)]
This got fixed in r60056.

17 years agoBackport r55080:
Guido van Rossum [Fri, 18 Jan 2008 21:31:32 +0000 (21:31 +0000)]
Backport r55080:
Fix for #1303614 and #1174712:
- __dict__ descriptor abuse for subclasses of built-in types
- subclassing from both ModuleType and another built-in types

17 years agoFix an edge case whereby the __del__() method of a classic class could
Guido van Rossum [Fri, 18 Jan 2008 20:53:37 +0000 (20:53 +0000)]
Fix an edge case whereby the __del__() method of a classic class could
create a new weakref to the object.

17 years ago** backport r60015 from trunk.
Gregory P. Smith [Thu, 17 Jan 2008 07:54:47 +0000 (07:54 +0000)]
** backport r60015 from trunk.
- Issue829951: In the smtplib module, SMTP.starttls() now complies with
  RFC 3207 and forgets any knowledge obtained from the server not obtained
  from the TLS negotiation itself.  Patch contributed by Bill Fenner.

17 years agoBackport from trunk:
Thomas Heller [Wed, 16 Jan 2008 19:24:20 +0000 (19:24 +0000)]
Backport from trunk:
  Fix a potential 'SystemError: NULL result without error'.
  NULL may be a valid return value from PyLong_AsVoidPtr.
Also move an older ctypes NEWS item in the correct category.

17 years agoBackport r59999: fix MSDN link. (#1854)
Georg Brandl [Wed, 16 Jan 2008 16:57:19 +0000 (16:57 +0000)]
Backport r59999: fix MSDN link. (#1854)

17 years agoFix 1698398: Zipfile.printdir() crashed because the format string expected a tuple...
Raymond Hettinger [Mon, 14 Jan 2008 23:02:51 +0000 (23:02 +0000)]
Fix 1698398:  Zipfile.printdir() crashed because the format string expected a tuple object of length six instead of a time.struct_time object.

17 years agoAdded NEWS entry, plus:
Thomas Heller [Fri, 11 Jan 2008 19:48:46 +0000 (19:48 +0000)]
Added NEWS entry, plus:

Merged revisions 59925 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r59925 | thomas.heller | 2008-01-11 20:34:06 +0100 (Fr, 11 Jan 2008) | 5 lines

  Raise an error instead of crashing with a segfault when a NULL
  function pointer is called.

  Will backport to release25-maint.
........

17 years agoLink to external documentation about new style classes was
Facundo Batista [Wed, 9 Jan 2008 16:37:02 +0000 (16:37 +0000)]
Link to external documentation about new style classes was
wrong. Fix issue 1774.

17 years agoUpdate reference to bug tracker
Andrew M. Kuchling [Wed, 9 Jan 2008 12:43:55 +0000 (12:43 +0000)]
Update reference to bug tracker

17 years agoAdd Decimal backport to Misc/NEWS
Mark Dickinson [Wed, 9 Jan 2008 01:02:07 +0000 (01:02 +0000)]
Add Decimal backport to Misc/NEWS

17 years agoFix Decimal hash in Python 2.5 maintenance branch so that hash(x) == hash(int(x))
Mark Dickinson [Tue, 8 Jan 2008 21:42:03 +0000 (21:42 +0000)]
Fix Decimal hash in Python 2.5 maintenance branch so that hash(x) == hash(int(x))
for any integral Decimal instance x.

17 years agoDecimal module and test cases were updated to their state of
Facundo Batista [Tue, 8 Jan 2008 16:20:31 +0000 (16:20 +0000)]
Decimal module and test cases were updated to their state of
the art.  It now complies latest specification and tests.

The only difference of this version with the one in the trunk
is that a small subset that hash tests were removed, because
they rely on modifications to core hash() function (see
issue 1182 for further details).

17 years agoPatch 1114: fix compilation of curses module on 64-bit AIX, and any other LP64 platfo...
Andrew M. Kuchling [Tue, 8 Jan 2008 14:58:52 +0000 (14:58 +0000)]
Patch 1114: fix compilation of curses module on 64-bit AIX, and any other LP64 platforms where attr_t isn't a C long

17 years agoFix bug tracker link.
Martin v. Löwis [Mon, 7 Jan 2008 22:46:22 +0000 (22:46 +0000)]
Fix bug tracker link.

17 years agoBackport of issue 1755179 fix.
Facundo Batista [Mon, 7 Jan 2008 16:49:02 +0000 (16:49 +0000)]
Backport of issue 1755179 fix.

17 years agoForgot to backport the rest of #1637.
Guido van Rossum [Sun, 6 Jan 2008 02:40:07 +0000 (02:40 +0000)]
Forgot to backport the rest of #1637.

17 years agoBackport r59758.
Guido van Rossum [Sat, 5 Jan 2008 23:34:38 +0000 (23:34 +0000)]
Backport r59758.
Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'.
Fix by John Nagle.

17 years agoBackport r57216 (see issue #1731).
Guido van Rossum [Fri, 4 Jan 2008 19:06:02 +0000 (19:06 +0000)]
Backport r57216 (see issue #1731).
Add a hack (originally devised in a slightly different form by Thomas Wouters)
to prevent spurious tracebacks when a daemon thread's cleanup happens to wake
up when the world around it has already been destroyed.

This also backports other small changes to this file, essentially making
it identical to the trunk version.

17 years agoUpdate links to bug/patch tracker
Andrew M. Kuchling [Fri, 4 Jan 2008 14:47:42 +0000 (14:47 +0000)]
Update links to bug/patch tracker

17 years agoIssue #1735: TarFile.extractall() now correctly sets directory
Lars Gustäbel [Fri, 4 Jan 2008 14:44:23 +0000 (14:44 +0000)]
Issue #1735: TarFile.extractall() now correctly sets directory
permissions and times.

(backport from r59712)

17 years agoBug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint.
Christian Heimes [Fri, 4 Jan 2008 13:22:36 +0000 (13:22 +0000)]
Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

17 years agoFix bug #1301 -- a bad assert in _tkinter.
Guido van Rossum [Thu, 3 Jan 2008 23:52:04 +0000 (23:52 +0000)]
Fix bug #1301 -- a bad assert in _tkinter.

17 years agoIssue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Guido van Rossum [Thu, 3 Jan 2008 19:08:15 +0000 (19:08 +0000)]
Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Regular Expression inline flags not handled correctly for some unicode
characters.

17 years agoAdd some news items I missed. Careful inspection of the svn log output
Guido van Rossum [Thu, 3 Jan 2008 18:57:40 +0000 (18:57 +0000)]
Add some news items I missed.  Careful inspection of the svn log output
reveals that a lot more are missing.  If you checked anything into the
2.5.2 branch without updating Misc/NEWS, please correct your mistake!

17 years agoPatch #1696. Don't attempt to call None.close() in dry-run mode.
Guido van Rossum [Wed, 2 Jan 2008 18:59:36 +0000 (18:59 +0000)]
Patch #1696.  Don't attempt to call None.close() in dry-run mode.

17 years agoBug #1699: Define _BSD_SOURCE only on OpenBSD.
Martin v. Löwis [Sat, 29 Dec 2007 18:48:57 +0000 (18:48 +0000)]
Bug #1699: Define _BSD_SOURCE only on OpenBSD.

17 years agoBackport of fix for issue 1695.
Brett Cannon [Mon, 24 Dec 2007 20:00:42 +0000 (20:00 +0000)]
Backport of fix for issue 1695.

17 years agoChange ctypes version number to 1.0.3 (when Python 2.5.2 is released,
Thomas Heller [Wed, 19 Dec 2007 17:22:34 +0000 (17:22 +0000)]
Change ctypes version number to 1.0.3 (when Python 2.5.2 is released,
ctypes 1.0.3 will be also be released).

17 years agoFixed merge glitch, second try
Christian Heimes [Tue, 18 Dec 2007 22:03:10 +0000 (22:03 +0000)]
Fixed merge glitch, second try

17 years agoFixed merge glitch
Christian Heimes [Tue, 18 Dec 2007 22:00:19 +0000 (22:00 +0000)]
Fixed merge glitch

17 years agoBackport of #1638: %zd configure test fails on Linux
Christian Heimes [Tue, 18 Dec 2007 21:14:54 +0000 (21:14 +0000)]
Backport of #1638: %zd configure test fails on Linux

17 years agoIssue #1642: Fix segfault in ctypes when trying to delete attributes.
Thomas Heller [Tue, 18 Dec 2007 19:00:59 +0000 (19:00 +0000)]
Issue #1642: Fix segfault in ctypes when trying to delete attributes.

17 years agoAdd a note about future import needed for with statement.
Georg Brandl [Sat, 15 Dec 2007 09:36:15 +0000 (09:36 +0000)]
Add a note about future import needed for with statement.

17 years agoRegenerated with autoconf.
Thomas Heller [Fri, 14 Dec 2007 06:58:04 +0000 (06:58 +0000)]
Regenerated with autoconf.

17 years agoBug #1608: use -fwrapv when GCC supports it. This is important, newer
Guido van Rossum [Thu, 13 Dec 2007 20:42:33 +0000 (20:42 +0000)]
Bug #1608: use -fwrapv when GCC supports it.  This is important, newer
GCC versions may optimize away overflow buffer overflow checks without
this option!  Thanks to Ismail Donmez.  No thanks to the GCC devs.

17 years agoBackport r59480.
Alexandre Vassalotti [Thu, 13 Dec 2007 18:18:47 +0000 (18:18 +0000)]
Backport r59480.
Fix issue #1313119.

17 years agoBackport patch #1643738.
Guido van Rossum [Mon, 10 Dec 2007 23:03:55 +0000 (23:03 +0000)]
Backport patch #1643738.

17 years agoThis is a backport of the fix in rev. 59369.
Ronald Oussoren [Wed, 5 Dec 2007 20:43:57 +0000 (20:43 +0000)]
This is a backport of the fix in rev. 59369.

This patch doesn't remove the wrappers for OSADebug* API's but only defines
them when configure detects that the API's are present in the system's
header files.

17 years agomerge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can...
Christian Heimes [Wed, 5 Dec 2007 12:51:23 +0000 (12:51 +0000)]
merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError

17 years agoos.access now returns True on Windows for any existing directory.
Martin v. Löwis [Mon, 3 Dec 2007 22:39:10 +0000 (22:39 +0000)]
os.access now returns True on Windows for any existing directory.

17 years agoIssue #1531: Read fileobj from the current offset, do not seek to
Lars Gustäbel [Sat, 1 Dec 2007 21:06:06 +0000 (21:06 +0000)]
Issue #1531: Read fileobj from the current offset, do not seek to
the start.

(backport from r59260)

17 years agoBackport of r59241: str.decode fails on very long strings on 64bit platforms.
Amaury Forgeot d'Arc [Fri, 30 Nov 2007 21:53:17 +0000 (21:53 +0000)]
Backport of r59241: str.decode fails on very long strings on 64bit platforms.

PyArgs_ParseTuple t# and w# formats truncated the lengths to 32bit.

17 years agoSpaces vs. Tabs.
Georg Brandl [Thu, 29 Nov 2007 18:33:04 +0000 (18:33 +0000)]
Spaces vs. Tabs.
 (backport from rev. 59224)

17 years agoFix bug #1517, a possible segfault in lookup().
Guido van Rossum [Thu, 29 Nov 2007 18:23:48 +0000 (18:23 +0000)]
Fix bug #1517, a possible segfault in lookup().

17 years ago- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
Gerhard Häring [Sun, 25 Nov 2007 17:40:35 +0000 (17:40 +0000)]
- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
  statement recompilation with no bound parameters lead to a segfault
- Backported a fix necessary because of an SQLite API change in version 3.5.
  This prevents segfaults when executing empty queries, like our test suite
  does.

17 years agoback in these go - thanks to Titus Brown for the fix
Skip Montanaro [Sat, 24 Nov 2007 14:31:16 +0000 (14:31 +0000)]
back in these go - thanks to Titus Brown for the fix

17 years agoIssue #1445: Fix a SystemError when accessing the ``cell_contents``
Amaury Forgeot d'Arc [Sat, 24 Nov 2007 13:53:29 +0000 (13:53 +0000)]
Issue #1445: Fix a SystemError when accessing the ``cell_contents``
attribute of an empty cell object.  Now a ValueError is raised.

Backport of r59170.

17 years agorevert
Skip Montanaro [Sat, 24 Nov 2007 04:31:07 +0000 (04:31 +0000)]
revert

17 years agorevert change that breaks test_doctest (which I forgot to run - sorry)
Skip Montanaro [Sat, 24 Nov 2007 04:29:52 +0000 (04:29 +0000)]
revert change that breaks test_doctest (which I forgot to run - sorry)

17 years agoissue 1429818
Skip Montanaro [Fri, 23 Nov 2007 17:13:21 +0000 (17:13 +0000)]
issue 1429818

17 years agoMake trace and doctest play nice together (issue 1429818). Backported from
Skip Montanaro [Fri, 23 Nov 2007 17:09:34 +0000 (17:09 +0000)]
Make trace and doctest play nice together (issue 1429818).  Backported from
head.

17 years agoBackport of a fix for the __loader__.get_data() test.
Brett Cannon [Fri, 23 Nov 2007 00:07:49 +0000 (00:07 +0000)]
Backport of a fix for the __loader__.get_data() test.

17 years agoA test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4...
Ronald Oussoren [Thu, 22 Nov 2007 10:14:26 +0000 (10:14 +0000)]
A test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4. The end result is that
a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard).

This patch fixes this issue.

17 years agoAllow simultaneous installation of 32-bit and 64-bit versions
Martin v. Löwis [Thu, 22 Nov 2007 06:47:17 +0000 (06:47 +0000)]
Allow simultaneous installation of 32-bit and 64-bit versions
on 64-bit Windows systems.

17 years agoBackport of r59082 (doctest and using __loader__.get_data()).
Brett Cannon [Wed, 21 Nov 2007 00:58:54 +0000 (00:58 +0000)]
Backport of r59082 (doctest and using __loader__.get_data()).

17 years agoFixed #1372: zlibmodule.c: int overflow in PyZlib_decompress
Christian Heimes [Wed, 21 Nov 2007 00:44:57 +0000 (00:44 +0000)]
Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompress

17 years agoRemove an old SF reference.
Brett Cannon [Mon, 19 Nov 2007 18:56:54 +0000 (18:56 +0000)]
Remove an old SF reference.

17 years agoBackport r59049:
Walter Dörwald [Mon, 19 Nov 2007 12:43:39 +0000 (12:43 +0000)]
Backport r59049:
Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode())
calling codecs.utf_8_decode() with final==True, which falled with incomplete
byte sequences. Fix and test by James G. Sack.