Commit graph

44014 commits

Author SHA1 Message Date
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
Georg Brandl
d2decd9965 Add some x-refs. 2010-03-02 22:17:38 +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
Michael Foord
abe6331cca Link correction in documentation. 2010-03-02 14:22:15 +00:00
Andrew M. Kuchling
ab21f75ff1 Add an item 2010-03-02 13:55:33 +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
Benjamin Peterson
41162ebdad remove CVS id 2010-03-01 23:25:13 +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
Andrew M. Kuchling
fe6f07c0ac #7637: avoid repeated-concatenation antipattern in example 2010-03-01 20:11:57 +00:00
Andrew M. Kuchling
66dab172fe #7191: describe more details of wbits parameter 2010-03-01 19:51:43 +00:00
Andrew M. Kuchling
f8af7b46fd #7637: update discussion of minidom.unlink() and garbage collection 2010-03-01 19:45:21 +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
4b862365c8 Fix for r78527. It left out updating forkpty. 2010-03-01 02:31:33 +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
Ezio Melotti
fb501123e3 #8030: more docstring fix for builtin types. 2010-02-28 23:59:00 +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
Georg Brandl
b36e63a5ee The set types can also be called without arguments. 2010-02-28 18:26:37 +00:00
Georg Brandl
bca1169e94 #8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object. 2010-02-28 18:19:17 +00:00
Ezio Melotti
68beef6633 Pep8ify test names in the examples. 2010-02-28 03:11:07 +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
Georg Brandl
37212ed489 Link to http://www.python.org/dev/workflow/ from bugs page. 2010-02-27 14:58:08 +00:00
Ezio Melotti
8dd547f689 Fix missing parenthesis. 2010-02-27 13:50:35 +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
82aa01fa29 Add entry for issue #691291. 2010-02-27 11:19:18 +00:00
Benjamin Peterson
8b65054fea run autoconf 2010-02-27 00:11:42 +00:00
Ezio Melotti
5820efb5c3 Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase). 2010-02-27 00:05:42 +00:00
Ezio Melotti
84424f1532 typo: __next__ -> next 2010-02-26 23:27:06 +00:00
Andrew M. Kuchling
9aeeffa929 #7407: specify default maxsize value; patch by Floris Bruynooghe 2010-02-26 13:22:50 +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
c994186dad Fixing issue5475 : urllib2.getproxies not documented 2010-02-26 00:47:05 +00:00
Martin v. Löwis
99bf01b4b4 Add Florent Xicluna. 2010-02-25 20:42:40 +00:00
Ezio Melotti
321251567e #7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding. 2010-02-25 17:36:04 +00:00
Eric Smith
271b7e1abb Issue #7928: Document str.format element_index better. 2010-02-25 14:26:33 +00:00
Eric Smith
de8b2ac332 Issue #5965: Add documentation for parts of format specification language. 2010-02-25 14:14:35 +00:00