David Wolever
fbe7c55905
Added my name to ACKS
2008-03-19 02:26:57 +00:00
Eric Smith
7c47894a2a
Backport of the print function, using a __future__ import.
...
This work is substantially Anthony Baxter's, from issue
1633807. I just freshened it, made a few minor tweaks,
and added the test cases. I also created issue 2412,
which is to check for 2to3's behavior with the print
function. I also added myself to ACKS.
2008-03-18 23:45:49 +00:00
Guido van Rossum
04edb528ca
- Issue #2371 : Add a Py3k warning when catching an exception that
...
doesn't derive from BaseException.
2008-03-18 02:49:46 +00:00
Brett Cannon
4a6e8d669a
Move test_gdbm to use unittest.
...
Closes issue #1960 . Thanks Giampaolo Rodola.
2008-03-13 21:02:16 +00:00
Brett Cannon
2e0f9f3dd9
Convert test_contains, test_crypt, and test_select to unittest.
...
Patch from GHOP 294 by David Marek.
2008-03-13 20:47:41 +00:00
Brett Cannon
b8d37359cd
Move test_tokenize to doctest.
...
Done as GHOP 238 by Josip Dzolonga.
2008-03-13 20:33:10 +00:00
Brett Cannon
56c4debe0d
Refactor test_logging to use unittest. This should finally solve the flakiness
...
issues.
Thanks to Antoine Pitrou for the patch.
2008-03-03 00:38:58 +00:00
Andrew M. Kuchling
19aff0c90a
#1433694 : minidom's .normalize() failed to set .nextSibling for last element.
...
Fix by Malte Helmert
2008-02-23 17:10:46 +00:00
Brett Cannon
f9db8a3a20
Move test_logging over to doctest.
...
Thanks to Christopher White from GHOP.
2008-02-17 01:59:18 +00:00
Georg Brandl
d22b4661fd
Rewrite test_queue as unittest. Written for GHOP by Ian Seyer.
2008-02-02 11:39:29 +00:00
Georg Brandl
593b77cb5a
Add GHOP contributor.
2008-02-02 11:05:34 +00:00
Andrew M. Kuchling
4a2762d146
Patch #1048820 from Stefan Wehr: add insert-mode editing to Textbox.
...
Fix an off-by-one error I noticed.
2008-01-20 00:00:38 +00:00
Andrew M. Kuchling
060e6855a8
Patch #1019808 from Federico Schwindt: Return correct socket error when
...
a default timeout has been set, by using getsockopt() to get the error
condition (instead of trying another connect() call, which seems to be
a Linuxism).
2.5 bugfix candidate, assuming no one reports any problems with this change.
2008-01-19 20:47:59 +00:00
Andrew M. Kuchling
5c60bfcfbf
Patch #976880 : add mmap .rfind() method, and 'end' paramter to .find().
...
Contributed by John Lenton.
2008-01-19 18:18:41 +00:00
Andrew M. Kuchling
4be0bc642e
Sort two names into position
2008-01-19 18:08:52 +00:00
Andrew M. Kuchling
e45a77adbe
Patch #742598 from Michael Pomraning: add .timeout attribute to SocketServer that will call
...
.handle_timeout() method when no requests are received within the timeout period.
2008-01-19 16:26:13 +00:00
Raymond Hettinger
cbf8f6cffb
Temporarily revert 59967 until GC can be added.
2008-01-15 05:39:59 +00:00
Raymond Hettinger
c216df9288
Issue 1820: structseq objects did not work with the % formatting operator or isinstance(t, tuple).
...
Orignal patch (without tests) by Leif Walsh.
2008-01-15 03:02:37 +00:00
Andrew M. Kuchling
e0a49b6e05
Patch 1137: allow assigning to .buffer_size attribute of PyExpat.parser objects
2008-01-08 14:30:55 +00:00
Guido van Rossum
eb94d4c3e3
Add John Nagle (of issue #1637 ).
2008-01-05 22:20:01 +00:00
Guido van Rossum
7c862f8077
Patch #1608 . Someone with access to autoconf 2.61 or higher needs to
...
run it and check in the resulting configure file.
2007-12-13 20:50:10 +00:00
Guido van Rossum
137c49ce6a
Patch #1643738 by Ulisses Furquim -- make the is_tripped variable
...
in signalmodule.c more robust. Includes Martin von Loewis's suggestion
to set is_tripped after .tripped.
2007-12-10 23:00:12 +00:00
Georg Brandl
953f5faade
Add Jeff Wheeler.
2007-12-09 22:38:26 +00:00
Georg Brandl
dc563a655f
Fix Eren's name.
2007-12-08 11:05:36 +00:00
Georg Brandl
5d1b4d44aa
Increase unit test coverage of SimpleXMLRPCServer.
...
Written for GHOP by Turkay Eren.
2007-12-07 09:07:10 +00:00
Martin v. Löwis
6b449f4f2b
Issue #1727780 : Support loading pickles of random.Random objects created
...
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.
2007-12-03 19:20:02 +00:00
Georg Brandl
e4317fade8
Add test suite for cmd module.
...
Written by Michael Schneider for GHOP.
2007-12-01 22:38:48 +00:00
Martin v. Löwis
a5136196bc
Patch #1031213 : Decode source line in SyntaxErrors back to its original
...
source encoding. Will backport to 2.5.
2007-09-04 14:19:28 +00:00
Martin v. Löwis
58bd49f5fe
Patch #1388440 : Add set_completion_display_matches_hook and
...
get_completion_type to readline.
2007-09-04 13:13:14 +00:00
Neal Norwitz
67862ba34c
Add Atul Varma for patch # 1667860
2007-06-11 00:42:11 +00:00
Neal Norwitz
4a700bb469
SF 1668596/1720897: distutils now copies data files
...
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.
2007-06-01 07:29:12 +00:00
Neal Norwitz
b1a9b37aa8
Fix bug in marshal where bad data would cause a segfault due to
...
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
2007-05-16 20:05:11 +00:00
Andrew M. Kuchling
400a49ba79
Add window.chgat() method, submitted via e-mail by Fabian Kreutz
2007-04-11 13:39:00 +00:00
Neal Norwitz
eff49dce56
Add Mark Dickinson for SF # 1675423.
2007-03-23 05:17:23 +00:00
Collin Winter
a8785cc26a
Patch #1630118 : add a SpooledTemporaryFile class to tempfile.
2007-03-19 18:52:08 +00:00
Collin Winter
6f187743ff
Patch 1339796: add a relpath() function to os.path.
2007-03-16 22:16:08 +00:00
Žiga Seilnacht
6f2d09c949
Patch #1623563 : allow __class__ assignment for classes with __slots__.
...
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.
2007-03-16 11:59:38 +00:00
Georg Brandl
d9bef35e3c
Patch #1533909 : the timeit module now accepts callables in addition to
...
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.
2007-03-13 19:32:21 +00:00
Georg Brandl
dd5384d16c
Acks for recent patches.
2007-03-13 19:00:36 +00:00
Collin Winter
abb34c5828
Add acks for recent patch checkins:
...
Arvin Schnell - 1668482
Sébastien Martini - 1481079
Heiko Wundram - 1491866
Damon Kohler - 1545011
Peter Parente - 1599845
Bjorn Lindqvist - 1678662
2007-03-13 18:53:04 +00:00
Georg Brandl
35ef9c19fe
Patch #1537850 : tempfile.NamedTemporaryFile now has a "delete" parameter
...
which can be set to False to prevent the default delete-on-close
behavior.
2007-03-13 18:31:49 +00:00
Neal Norwitz
1ff06c7fc8
Add some other acks for recent checkins:
...
Brian Leair - 922167
Tomer Filiba - 1591665
Jeremy Jones - 1192590
2007-03-13 05:07:14 +00:00
Neal Norwitz
1ea3de7512
Add Jerry Seutter for a bunch of his recent patches refactoring tests
2007-03-13 04:59:58 +00:00
Martin v. Löwis
382abeff0f
Patch #1490190 : posixmodule now includes os.chflags() and os.lchflags()
...
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Guido van Rossum
bb2cc698c1
Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or
...
return negative numbers, per the underlying C implementation.
2007-01-14 17:03:32 +00:00
Andrew M. Kuchling
7166232399
[Rest of patch #1182394 ] Add ._current() method so that we can use the written-in-C .hexdigest() method
2006-12-27 03:31:24 +00:00
Martin v. Löwis
ee82c0e6b7
Patch #1567274 : Support SMTP over TLS.
2006-10-27 07:13:28 +00:00
Martin v. Löwis
b5bc537c5e
Patch #1549049 : Rewrite type conversion in structmember.
...
Fixes #1545696 and #1566140 . Will backport to 2.5.
2006-10-27 06:16:31 +00:00
Thomas Wouters
9e398cac94
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.)
2006-08-24 18:40:20 +00:00
Neal Norwitz
17753ecbfa
Patch #1541585 : fix buffer overrun when performing repr() on
...
a unicode string in a build with wide unicode (UCS-4) support.
This code could be improved, so add an XXX comment.
2006-08-21 22:21:19 +00:00