Benjamin Peterson
2bb66e03b7
Merged revisions 78679,78681 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line
set svn:eol-style
........
r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line
remove svn:executable property
........
2010-03-05 03:24:17 +00:00
Benjamin Peterson
b3be23ad27
remove the svn:executable property from files that don't have shebang lines
2010-03-05 03:20:06 +00:00
Florent Xicluna
7272acfabe
These line should not be there.
2010-03-05 01:12:14 +00:00
Florent Xicluna
d6935631da
Let's use assertIsNone / assertIsNotNone. It's hype.
2010-03-05 01:05:55 +00:00
Florent Xicluna
80e0e2d2d8
Workaround #3137 : Retry SIGINT if it is not received the first time.
...
test_send_signal should not hang anymore on various Linux distributions.
2010-03-05 00:47:40 +00:00
Tarek Ziadé
dd7bef9bf5
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
2010-03-05 00:16:02 +00:00
Florent Xicluna
ab5e17f896
#2777 : Enable test_send_signal, test_kill and test_terminate on all platforms.
2010-03-04 21:31:58 +00:00
Florent Xicluna
bab22a7c6d
Cleanup.
2010-03-04 19:40:48 +00:00
Dirkjan Ochtman
19c9b6042e
Try to fix buildbot breakage from r78384.
...
Thanks bitdancer and briancurtin for the help.
2010-03-04 19:21:53 +00:00
Florent Xicluna
3bc5cb7e0d
#7805 : wait until all workers are started before collecting their PIDs
2010-03-04 15:58:54 +00:00
Florent Xicluna
a36e245deb
Fix transient refleak in test_popen2.
2010-03-04 15:57:20 +00:00
Victor Stinner
7c924ec925
Issue #1054943 : Fix unicodedata.normalize('NFC', text) for the Public Review
...
Issue #29 .
PR #29 was released in february 2004!
2010-03-04 12:09:33 +00:00
Benjamin Peterson
e689a889da
set svn:executable on all regen scripts
2010-03-04 02:07:55 +00:00
Lars Gustäbel
6458104188
Issue #7232 : Add support for the context manager protocol
...
to the TarFile class.
2010-03-03 11:55:48 +00:00
Florent Xicluna
9e220be19d
Fix wording.
2010-03-02 23:56:38 +00:00
Benjamin Peterson
842b95b030
plug ref leaks
2010-03-02 23:43:47 +00:00
Victor Stinner
d23d3930ff
Issue #7820 : The parser tokenizer restores all bytes in the right if the BOM
...
check fails.
Fix an assertion in pydebug mode.
2010-03-02 23:20:02 +00:00
Benjamin Peterson
0e717addd8
remove cross-version compatibility code
2010-03-02 23:02:02 +00:00
Benjamin Peterson
bd56722a27
remove code to avoid BaseException.message bug
2010-03-02 22:58:01 +00:00
Florent Xicluna
c0a9d4152d
Test test_pep277 is only relevant for Unicode-friendly filesystems.
2010-03-02 22:34:11 +00:00
Benjamin Peterson
fa31eaa5f6
convert deprecated fail* methods to assert* variants
2010-03-02 22:26:25 +00:00
Benjamin Peterson
e4d90c23a3
use test_main() in __main__ section
2010-03-02 22:24:30 +00:00
Benjamin Peterson
4aa8a13b86
prevent warning filter adjustment from altering other tests
2010-03-02 22:23:33 +00:00
Benjamin Peterson
036fae39ac
enable running of argparse tests and fix two that failed in the new environment
2010-03-02 22:20:10 +00:00
Benjamin Peterson
5e32fe5f9d
remove another coding cookie
2010-03-02 22:08:40 +00:00
Benjamin Peterson
a39e966e97
set svn:eol-style
2010-03-02 22:05:59 +00:00
Benjamin Peterson
c1df5460c5
remove coding cookie as mandated by PEP 8
2010-03-02 22:03:03 +00:00
Florent Xicluna
2db61fb7a8
Tentatively enable test_pep277 on all platforms.
2010-03-02 21:34:45 +00:00
Florent Xicluna
d8472a4545
Refactor test_dict using assertRaises.
2010-03-02 16:00:00 +00:00
Steven Bethard
e9330e7941
Initial commit of the argparse library, based on argparse 1.1.
...
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
2010-03-02 08:38:09 +00:00
Barry Warsaw
08a8fb30b6
Manually copy patch for bug 7250 from the release26-maint branch. I suck
...
because I did this in the wrong order and couldn't smack svnmerge into
submission.
2010-03-01 21:46:51 +00:00
Florent Xicluna
e7901c5ebb
#7808 : Fix reference leaks in _bsddb and related tests.
2010-03-01 20:45:01 +00:00
R. David Murray
343facabf1
Issue 3892 again. The bsddb3 replication test still fails randomly.
...
Since this module is unmaintained in the library and gone in py3k,
this patch skips the remainder of the replication test if a
second timeout occurs, as it randomly does. This should improve buildbot
stability.
2010-03-01 19:14:16 +00:00
Gregory P. Smith
7512a9068d
Fix test to be skipped on windows.
2010-03-01 06:01:02 +00:00
Gregory P. Smith
6a65f85e79
Fixes issue #7999 : os.setreuid() and os.setregid() would refuse to accept
...
a -1 parameter on some platforms such as OS X.
2010-03-01 05:43:43 +00:00
Gregory P. Smith
3c699d334a
Adds c_ssize_t to ctypes. issue 6729.
2010-03-01 04:56:12 +00:00
Gregory P. Smith
3c1586ab45
Cleanup the test added in r78517 based on Ezio Melotti's feedback.
2010-03-01 03:09:19 +00:00
Gregory P. Smith
c1baf4ac9e
Fix the new test on windows (skip it, its posix only)
2010-03-01 02:53:24 +00:00
Gregory P. Smith
e6390a1503
Adds the hashlib.algorithms attribute. See issue7418.
2010-03-01 02:01:47 +00:00
Gregory P. Smith
9e5d1327f8
Issue #7242 : On Solaris 9 and earlier calling os.fork() from within a
...
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
2010-03-01 01:22:39 +00:00
Gregory P. Smith
cce211f88c
Issue #1068268 : The subprocess module now handles EINTR in internal
...
os.waitpid and os.read system calls where appropriate.
2010-03-01 00:05:08 +00:00
Gregory P. Smith
613c7a549a
Issue #7481 : When a threading.Thread failed to start it would leave the
...
instance stuck in initial state and present in threading.enumerate().
2010-02-28 18:36:09 +00:00
Florent Xicluna
78fd521f1a
Fix an oversight in r78508: p.wait() should be compared to 0
2010-02-27 21:15:27 +00:00
Florent Xicluna
98e3fc39bf
Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
2010-02-27 19:20:50 +00:00
Florent Xicluna
be8c2b1ca7
#7793 : Fix RuntimeError when running "regrtest -R" for multibyte codecs.
2010-02-27 15:10:19 +00:00
Florent Xicluna
2a903b26e9
Issue #1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
2010-02-27 13:31:23 +00:00
Ezio Melotti
0263da547e
Add a test for normpath to test_macpath.
2010-02-27 12:42:52 +00:00
Florent Xicluna
f4b6186d9c
#691291 : codecs.open() should not convert end of lines on reading and writing.
2010-02-26 10:40:58 +00:00
Senthil Kumaran
e9a78083c0
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
...
a existing req object already having data.
2010-02-24 20:55:31 +00:00
Senthil Kumaran
8526adfbd9
Fix for Issue3819 - urllib2 sends Basic auth across redirects
2010-02-24 16:45:46 +00:00