Commit graph

9799 commits

Author SHA1 Message Date
Senthil Kumaran
3800ea9f65 Fix Issue6631 - Disallow relative file paths in urllib urlopen 2012-01-21 11:52:48 +08:00
Benjamin Peterson
77fc1f3c06 add another test case 2012-01-20 11:01:06 -05:00
Łukasz Langa
002890861f #13760: picklability tests for configparser exceptions 2012-01-20 15:53:10 +01:00
Łukasz Langa
e7851956de #13760: picklability tests for configparser exceptions 2012-01-20 14:57:55 +01:00
Victor Stinner
2dd254d17a Issue #10278: Be more explicit in tests than wallclock() is monotonic (cannot
go backward)
2012-01-20 02:24:18 +01:00
Benjamin Peterson
cff9237d57 check after comments, too (#13832) 2012-01-19 17:46:13 -05:00
Meador Inge
fa21bf015d Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement 2012-01-19 01:08:41 -06:00
Meador Inge
00c7f85298 Issue #2134: Add support for tokenize.TokenInfo.exact_type. 2012-01-19 00:44:45 -06:00
Antoine Pitrou
391166fbfc Be more lenient in test_wallclock (issue #10278). 2012-01-18 22:35:21 +01:00
Antoine Pitrou
af5facc4ca Add part of test_inspect test from 2.7 2012-01-18 17:40:48 +01:00
Antoine Pitrou
0c60381749 Add part of test_inspect test from 2.7 2012-01-18 17:40:18 +01:00
Nadeem Vawda
50a4d5debb Merge: #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-18 09:32:25 +02:00
Nadeem Vawda
892b0b928d Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-18 09:25:58 +02:00
Victor Stinner
b94b266cfc Close #10278: Add time.wallclock() function, monotonic clock. 2012-01-18 01:50:21 +01:00
Nadeem Vawda
72750a85f9 Issue #13809: Make bz2 module work with threads disabled.
Original patch by Amaury Forgeot d'Arc.
2012-01-18 01:57:14 +02:00
Antoine Pitrou
7422b22e5e Test running of code in a sub-interpreter
(prelude to issue #6531).
2012-01-18 00:22:06 +01:00
Antoine Pitrou
2f828f2c88 Test running of code in a sub-interpreter
(prelude to issue #6531).
2012-01-18 00:21:11 +01:00
Antoine Pitrou
0174db50a5 Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.
2012-01-17 17:14:30 +01:00
Antoine Pitrou
03757ec4a5 Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.
2012-01-17 17:13:04 +01:00
Benjamin Peterson
d5890c8db5 add str.casefold() (closes #13752) 2012-01-14 13:23:30 -05:00
Meador Inge
94d5a7174a Issue #13786: Remove unimplemented 'trace' long option from regrtest.py. 2012-01-14 11:54:43 -06:00
Meador Inge
b0ae0ac668 Issue #13786: Remove unimplemented 'trace' long option from regrtest.py. 2012-01-14 11:50:33 -06:00
Meador Inge
124598caf7 Issue #13725: regrtest does not recognize -d flag.
Patch by Erno Tukia.
2012-01-14 09:17:10 -06:00
Meador Inge
3f55e59282 Issue #13725: regrtest does not recognize -d flag.
Patch by Erno Tukia.
2012-01-14 09:12:55 -06:00
Benjamin Peterson
527c622926 make YieldFrom its own distinct from Yield (closes #13780) 2012-01-14 08:58:23 -05:00
Senthil Kumaran
91f252b179 merge from 3.2 - Fix issue13726: -S accepts an argument just as --start. 2012-01-14 21:08:15 +08:00
Senthil Kumaran
3ffd7ca041 Fix issue13726: -S accepts an argument just as --start. 2012-01-14 21:07:31 +08:00
Senthil Kumaran
4479577388 merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication. 2012-01-14 19:12:28 +08:00
Senthil Kumaran
c5c5a14577 Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication. 2012-01-14 19:09:04 +08:00
Senthil Kumaran
6c3dd7ea42 merge from 3.2 2012-01-14 18:39:23 +08:00
Senthil Kumaran
0e0772d859 merge from 3.2 2012-01-14 18:39:06 +08:00
Senthil Kumaran
9bbcb254db Adding the -o option for Issue13726 2012-01-14 18:38:28 +08:00
Senthil Kumaran
bcfe56d77c Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test. 2012-01-14 18:26:27 +08:00
Amaury Forgeot d'Arc
e557da804a Fix a crash when the return value of a subgenerator is a temporary
object (with a refcount of 1)
2012-01-13 21:06:12 +01:00
Antoine Pitrou
bbf53614b7 test_strlit was never run 2012-01-12 22:36:48 +01:00
Antoine Pitrou
f7bfff0e42 Remove unused certificate from the test directory. 2012-01-10 23:45:54 +01:00
Terry Jan Reedy
ee91e0990a #11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.
2012-01-09 18:20:09 -05:00
Ross Lagerwall
66e2fb68ac Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor. 2012-01-08 08:29:40 +02:00
Charles-François Natali
ded0348c08 Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
2012-01-07 18:24:56 +01:00
Vinay Sajip
cdf6cd9ff3 Closes #13699. Skipped two tests if Python is optimised. 2012-01-05 11:45:31 +00:00
Senthil Kumaran
6497aa3e00 Issue13696 - Fix 302 Redirection for Relative urls. 2012-01-04 13:46:59 +08:00
Benjamin Peterson
a8d7037e32 merge 3.1 2012-01-03 16:24:39 -06:00
Benjamin Peterson
b462da8c0a fix this to not depend on dictionary order 2012-01-03 16:23:11 -06:00
Antoine Pitrou
8f85f907e3 Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
2012-01-03 22:46:48 +01:00
Charles-François Natali
366999a011 Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
2012-01-02 15:47:29 +01:00
Sandro Tosi
70efbefcc5 Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk 2012-01-01 22:53:08 +01:00
Sandro Tosi
bdd5354700 Issue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk 2012-01-01 18:04:37 +01:00
Benjamin Peterson
0e61350d3a propgate error in other conditions 2011-12-27 15:16:34 -06:00
Michael Foord
3ba95f8bd9 Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
Closes issue 11829.
2011-12-22 01:13:37 +00:00
Antoine Pitrou
65a3f4b8c5 Use context managers in test_ssl to simplify test writing. 2011-12-21 16:52:40 +01:00