Commit graph

17481 commits

Author SHA1 Message Date
Łukasz Langa
1aa422fe8f Closes #11324: ConfigParser(interpolation=None) doesn't work.
Initial patches by Tobias Brink. Thanks!
2011-04-28 17:03:45 +02:00
Łukasz Langa
ba702daef9 Style updates for the #11670 solution after post-commit review by Ezio Melotti:
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!
2011-04-28 12:02:05 +02:00
Senthil Kumaran
c20566cdf8 merge from 3.1 2011-04-28 17:08:12 +08:00
Senthil Kumaran
e3bdcf4ffd skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:05:55 +08:00
Łukasz Langa
e698cd54bc Closes #11858: configparser.ExtendedInterpolation and section case.
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Senthil Kumaran
8a410d319a merge from 3.1 2011-04-28 15:53:09 +08:00
Senthil Kumaran
123932f237 Add tests for tarfile extractall feature when with symlinks 2011-04-28 15:38:12 +08:00
Ezio Melotti
44aad855dd #11926: merge with 3.1. 2011-04-28 07:51:14 +03:00
Ezio Melotti
b185a04aa1 #11926: add missing keywords to help("keywords"). 2011-04-28 07:42:55 +03:00
Ezio Melotti
75cbd73666 #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. 2011-04-28 00:59:29 +03:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo
944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00
Éric Araujo
19acb88baf Branch merge 2011-04-27 16:25:27 +02:00
Éric Araujo
9a42793761 Branch merge 2011-04-27 16:23:56 +02:00
Ezio Melotti
edd117fd27 #11763: merge with 3.1. 2011-04-27 10:20:38 +03:00
Ezio Melotti
935a588825 #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
Senthil Kumaran
75e6ed18d0 merge from 3.1 codeline. 2011-04-26 21:00:27 +08:00
Senthil Kumaran
7cfe5f88ce Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 20:59:46 +08:00
Ezio Melotti
f2b3f780a1 #6780: merge with 3.1. 2011-04-26 06:40:59 +03:00
Ezio Melotti
ba42fd5801 #6780: fix starts/endswith error message to mention that tuples are accepted too. 2011-04-26 06:09:45 +03:00
Antoine Pitrou
11846905d3 Issue #11919: try to fix test_imp failure on some buildbots. 2011-04-25 21:39:49 +02:00
Antoine Pitrou
8e60577693 Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:21:07 +02:00
Raymond Hettinger
5db3e0167d Minor clean-ups to docstrings, comments, and var names. 2011-04-24 14:26:08 -07:00
Éric Araujo
2bad92d310 Remove obsolete/duplicate docstring 2011-04-24 17:10:30 +02:00
Éric Araujo
fbeb1a9468 Merge 3.1 2011-04-24 02:42:52 +02:00
Éric Araujo
cae1be85f5 Branch merge 2011-04-24 02:39:43 +02:00
Éric Araujo
5348b63a91 Branch merge 2011-04-24 02:34:11 +02:00
Victor Stinner
7fdd0fe48f Issue #9319: Fix the unit test 2011-04-23 01:24:11 +02:00
Victor Stinner
c68b6aaec8 Issue #9319: Fix a crash on parsing a Python source code without encoding
cookie and not valid in UTF-8: use "<file>" as the filename instead of
reading from NULL.
2011-04-23 00:41:19 +02:00
Éric Araujo
de579d4359 Add a space to make json doc a bit more readable 2011-04-21 02:37:41 +02:00
Raymond Hettinger
296d6d0cd6 Minor text rearrangement. 2011-04-20 13:08:40 -07:00
Raymond Hettinger
fc330aeb6f Minor text rearrangement. 2011-04-20 13:03:49 -07:00
Ezio Melotti
af92842bf9 Use non-deprecated method name. 2011-04-20 21:56:21 +03:00
Éric Araujo
37e6c54ba1 Merge 3.1 2011-04-20 19:24:09 +02:00
Éric Araujo
6f205ed37e Branch merge 2011-04-20 19:23:26 +02:00
Éric Araujo
ad0790e573 Branch merge 2011-04-20 18:54:12 +02:00
Éric Araujo
f8e1b60799 Add docstring to dbm.open 2011-04-20 18:52:55 +02:00
Jesus Cea
6159ee3cf5 MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:42:50 +02:00
Jesus Cea
ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:09:23 +02:00
Raymond Hettinger
25458f155a Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:17:51 -07:00
Raymond Hettinger
d07eaf177c Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:17:23 -07:00
Raymond Hettinger
111474452d merge 2011-04-19 11:12:47 -07:00
Raymond Hettinger
1cc986e4a7 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 11:10:43 -07:00
Raymond Hettinger
019a97c77c Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 10:21:27 -07:00
Raymond Hettinger
ab69438046 Hmm, __ne__ was missing 2011-04-19 10:05:53 -07:00
Raymond Hettinger
d08a2c2576 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 10:05:03 -07:00
Nadeem Vawda
cc3f029380 Merge test_startfile fix from 3.1. 2011-04-19 01:40:45 +02:00
Nadeem Vawda
58de6ee871 Fix sporadic failure in test_startfile.
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:38:47 +02:00
R David Murray
01581ee0b7 #11492: rewrite header folding algorithm. Less code, more passing tests. 2011-04-18 10:04:34 -04:00
Raymond Hettinger
c15d9e759f Rework multiset methods to use less memory and to make fewer calls to __hash__. 2011-04-17 19:47:24 -07:00