Commit Graph

52863 Commits

Author SHA1 Message Date
Nick Coghlan
2dfe6b00ed Fix merge glitch in What's New 2012-01-14 14:19:49 +10:00
Amaury Forgeot d'Arc
77b1ecf0ad Silence compilation warnings on Windows 2012-01-13 22:12:37 +01:00
Amaury Forgeot d'Arc
0a239e9191 Fix compilation with C89 compilers (Windows...) 2012-01-13 21:08:49 +01: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
Amaury Forgeot d'Arc
7e447c8224 Fix compilation warning on Windows 2011-12-17 10:23:14 +01:00
Benjamin Peterson
0296a56520 NULL and no exception set from tp_iternext means StopIteration 2012-01-13 14:54:31 -05:00
Benjamin Peterson
9a80fa81b0 add test, which was missing from d64ac9ab4cd0 2012-01-13 14:39:38 -05:00
Antoine Pitrou
98f4e39ed4 Issue #13764: remove outdated script Misc/build.sh 2012-01-13 19:42:13 +01:00
Antoine Pitrou
fffbfbd397 Issue #13764: remove outdated script Misc/build.sh 2012-01-13 19:41:42 +01:00
Georg Brandl
bc3b682923 Closes #13761: add a "flush" keyword argument to print(). 2012-01-13 19:41:25 +01:00
Antoine Pitrou
5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
2012-01-13 18:52:16 +01:00
Benjamin Peterson
1f918c1480 make Python-ast.c depend on Python-ast.h 2012-01-13 08:45:55 -05:00
Nick Coghlan
1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
Benjamin Peterson
e51757f6de move do_title to a better place 2012-01-12 21:10:29 -05:00
Antoine Pitrou
3a5d4cb940 Issue #13748: Raw bytes literals can now be written with the rb prefix as well as br. 2012-01-12 22:46:19 +01:00
Antoine Pitrou
b63a450cc4 test_strlit was never run 2012-01-12 22:38:13 +01:00
Antoine Pitrou
bbf53614b7 test_strlit was never run 2012-01-12 22:36:48 +01:00
Benjamin Peterson
821e4cfd01 make fix_decimal_and_space_to_ascii check if it modifies the string 2012-01-12 15:40:18 -05:00
Benjamin Peterson
1adbc6f56a merge heads 2012-01-12 15:26:20 -05:00
Benjamin Peterson
0c91392fe6 kill capwords implementation which has been disabled since the begining 2012-01-12 15:25:41 -05:00
Terry Jan Reedy
dc41e3f23f Merge #11633 At least 2 people prefer earlier revision. 2012-01-12 14:51:14 -05:00
Terry Jan Reedy
a3d1e2e342 #11633 At least 2 people prefer earlier revision. 2012-01-12 14:49:02 -05:00
Antoine Pitrou
70d62b30e4 Issue #13724: improve documentation for socket.create_connection. 2012-01-12 08:06:49 +01:00
Antoine Pitrou
889a5101c2 Issue #13724: improve documentation for socket.create_connection. 2012-01-12 08:06:19 +01:00
Benjamin Peterson
0ab2a26865 merge 3.2 2012-01-11 21:00:48 -05:00
Benjamin Peterson
21e0da228d remove some usage of Py_UNICODE_TOUPPER/LOWER 2012-01-11 21:00:42 -05:00
Benjamin Peterson
0010256de4 fold into one if statement 2012-01-11 21:00:16 -05:00
Benjamin Peterson
22ef4fa7e9 merge heads 2012-01-11 18:17:40 -05:00
Benjamin Peterson
b2bf01d824 use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Terry Jan Reedy
982c91e4c9 Merge with 3.2 2012-01-11 14:56:22 -05:00
Terry Jan Reedy
ea868d32a1 Minor correction. #11418 2012-01-11 14:54:34 -05:00
Terry Jan Reedy
7a825ba3c6 Merge with 3.2
#11633 Clarify print buffering (will change again if 13761 adds flush param).
2012-01-11 14:14:14 -05:00
Terry Jan Reedy
e247928fed Closes #11633 Clarify print buffering. 2012-01-11 14:09:49 -05:00
Terry Jan Reedy
610e8140de Merge with 3.2
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Terry Jan Reedy
f4ec3c5a92 #13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'
2012-01-11 03:29:42 -05:00
Antoine Pitrou
9007f72db0 Remove unused certificate from the test directory. 2012-01-10 23:46:26 +01:00
Antoine Pitrou
f7bfff0e42 Remove unused certificate from the test directory. 2012-01-10 23:45:54 +01:00
Victor Stinner
1134b0dbbd Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init() 2012-01-10 22:44:11 +01:00
Charles-François Natali
76961faaa0 Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).
2012-01-10 20:25:09 +01:00
Senthil Kumaran
bda7a80194 Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter. 2012-01-11 01:30:23 +08:00
Senthil Kumaran
19d85c2762 Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter. 2012-01-11 01:29:08 +08:00
Terry Jan Reedy
8d172343ad Merge with 3.2 2012-01-09 18:33:27 -05: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
Charles-François Natali
dc3044c704 Issue #12760: Add a create mode to open(). Patch by David Townshend. 2012-01-09 22:40:02 +01:00
Antoine Pitrou
8a9b9c7d16 Merge SSL doc fixes (issue #13747). 2012-01-09 21:46:11 +01:00
Antoine Pitrou
ac8bfcacfc Issue #13747: fix SSL compatibility table. 2012-01-09 21:43:18 +01:00
Antoine Pitrou
84a2edcdf7 Issue #13747: fix documentation error about the default SSL version. 2012-01-09 21:35:11 +01:00
Raymond Hettinger
7b7caa8ec6 Fix nasty typo 2012-01-09 20:02:24 +00:00
Giampaolo Rodola'
8bc8585873 provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable) 2012-01-09 17:10:10 +01:00
Raymond Hettinger
0c5e52f0bd Make the docstring style consistent. 2012-01-09 06:17:39 +00:00