| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
run it and check in the resulting configure file.
|
|
|
|
|
| |
in signalmodule.c more robust. Includes Martin von Loewis's suggestion
to set is_tripped after .tripped.
|
| |
|
| |
|
|
|
|
| |
Written for GHOP by Turkay Eren.
|
|
|
|
|
|
| |
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
|
|
|
|
| |
Written by Michael Schneider for GHOP.
|
|
|
|
| |
source encoding. Will backport to 2.5.
|
|
|
|
| |
get_completion_type to readline.
|
| |
|
|
|
|
|
|
|
|
| |
even if package_dir is empty.
This needs to be backported. I'm too tired tonight. It would be great
if someone backports this if the buildbots are ok with it. Otherwise,
I will try to get to it tomorrow.
|
|
|
|
|
|
| |
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The old and the new class are still required to have the same slot
names, but the order in which they are specified is not relevant.
|
|
|
|
|
| |
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.
|
| |
|
|
|
|
|
|
|
|
|
| |
Arvin Schnell - 1668482
Sébastien Martini - 1481079
Heiko Wundram - 1491866
Damon Kohler - 1545011
Peter Parente - 1599845
Bjorn Lindqvist - 1678662
|
|
|
|
|
| |
which can be set to False to prevent the default delete-on-close
behavior.
|
|
|
|
|
|
| |
Brian Leair - 922167
Tomer Filiba - 1591665
Jeremy Jones - 1192590
|
| |
|
|
|
|
| |
functions on platforms where the underlying system calls are available.
|
|
|
|
| |
return negative numbers, per the underlying C implementation.
|
|
|
|
| |
written-in-C .hexdigest() method
|
| |
|
|
|
|
| |
Fixes #1545696 and #1566140. Will backport to 2.5.
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
| |
a unicode string in a build with wide unicode (UCS-4) support.
This code could be improved, so add an XXX comment.
|
| |
|
|
|
|
|
| |
a socket operation on a socket with a timeout, the exception will be
caught correctly. Previously, the exception was not caught.
|
|
|
|
| |
Also fix a SystemError when trying to assign to yield expressions.
|
|
|
|
| |
differs from both Linux and FreeBSD. Accepted by Neal Norwitz.
|
| |
|
|
|
|
| |
(implementation/tests contributed by Sam Ruby)
|
|
|
|
|
| |
copy is only in newer versions of zlib. This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In rare cases of strings specifying true values near sys.maxint,
and oddball bases (not decimal or a power of 2), int(string, base)
could deliver insane answers. This repairs all such problems, and
also speeds string->int significantly. On my box, here are %
speedups for decimal strings of various lengths:
length speedup
------ -------
1 12.4%
2 15.7%
3 20.6%
4 28.1%
5 33.2%
6 37.5%
7 41.9%
8 46.3%
9 51.2%
10 19.5%
11 19.9%
12 23.9%
13 23.7%
14 23.3%
15 24.9%
16 25.3%
17 28.3%
18 27.9%
19 35.7%
Note that the difference between 9 and 10 is the difference between
short and long Python ints on a 32-bit box. The patch doesn't
actually do anything to speed conversion to long: the speedup is
due to detecting "unsigned long" overflow more quickly.
This is a bugfix candidate, but it's a non-trivial patch and it
would be painful to separate the "bug fix" from the "speed up" parts.
|
| |
|
|
|
|
| |
I suppose this could be backported if anyone cares.
|
| |
|
|
|
|
| |
Most of the test_syntax changes are just updating the numbers.
|
|
|
|
|
|
| |
by Collin Winter.
Bugfix candidate (but I'm not going to bother).
|
|
|
|
|
|
|
| |
The new char-array used in ioctl calls wasn't explicitly NUL-terminated;
quite probably the cause for the test_pty failures on Solaris that we
circumvented earlier. (I wasn't able to reproduce it with this patch, but it
has been somewhat elusive to start with.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the 2005 Summer of Code).
The revision adds a number of new mailbox classes that support adding
and removing messages; these classes also support mailbox locking and
default to using email.Message instead of rfc822.Message.
The old mailbox classes are largely left alone for backward compatibility.
The exception is the Maildir class, which was present in the old module
and now inherits from the new classes. The Maildir class's interface
is pretty simple, though, so I think it'll be compatible with existing
code.
(The change to the NEWS file also adds a missing word to a different
news item, which unfortunately required rewrapping the line.)
|
|
|
|
|
|
| |
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844)
|
|
|
|
|
|
| |
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi
|
|
|
|
|
|
|
|
| |
Schroeder.
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was started by Mike Bland and completed by Guido
(with help from Neal).
This still needs a __future__ statement added;
Thomas is working on Michael's patch for that aspect.
There's a small amount of code cleanup and refactoring
in ast.c, compile.c and ceval.c (I fixed the lltrace
behavior when EXT_POP is used -- however I had to make
lltrace a static global).
|
| |
|