Commit Graph

53104 Commits

Author SHA1 Message Date
Meador Inge
da05f454e3 Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:31:57 -06:00
Meador Inge
3388060127 Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:15:36 -06:00
Terry Jan Reedy
2d496005fd Merge with 3.2 #13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.
2012-01-15 19:08:28 -05:00
Terry Jan Reedy
7f53aea53b #13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.
2012-01-15 19:03:23 -05:00
Gregory P. Smith
f5b62a9b31 Consolidate the occurrances of the prime used as the multiplier when hashing. 2012-01-14 15:45:13 -08:00
Gregory P. Smith
63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing
to a single #define instead of having several copies in several files.

This excludes the Modules/ tree (datetime and expat both have a copy
for their own purposes with no need for it to be the same).
2012-01-14 15:31:34 -08:00
Gregory P. Smith
d66b505155 merge heads 2012-01-14 15:09:07 -08:00
Gregory P. Smith
5831bd2f3b Remove an unnecessary extra copy of the bytes hash function.
This copy also had a bug in it, it fails to incorporate the length
into the hash by using it as the loop variable so it'll always be -1
by the time it is XORed in.

As such: I'm doing this only in Python 3.3 and not backporting as it
would change the existing hash behavior of datetime objects.
2012-01-14 14:31:13 -08:00
Sandro Tosi
ee090c71b7 merge with 3.2 2012-01-14 22:27:56 +01:00
Sandro Tosi
515687a7ed remove 'Documenting Python' and its references, it's now on devguide 2012-01-14 22:23:27 +01:00
Gregory P. Smith
0ea3ea5e69 Mention the additional way to use the lvl parameter and when it changed. 2012-01-14 13:19:20 -08:00
Gregory P. Smith
c1f079f317 Mention the additional way to use the lvl parameter and when it changed. 2012-01-14 12:46:17 -08:00
Benjamin Peterson
c8d8b8861e fix possible refleaks if PyUnicode_READY fails 2012-01-14 13:37:31 -05:00
Benjamin Peterson
bac79498c8 always explicitly check for -1 from PyUnicode_READY 2012-01-14 13:34:47 -05: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
Martin v. Löwis
50590f111b Use GetModuleHandleW to avoid *A functions where possible. 2012-01-14 17:54:09 +01:00
Meador Inge
d61fdc17d3 Issue #13725: Add a NEWS entry. 2012-01-14 09:56:42 -06:00
Meador Inge
f37c1989b1 Issue #13725: Add a NEWS entry. 2012-01-14 09:32:41 -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
87c0bebead merge heads. 2012-01-14 19:13:06 +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
Charles-François Natali
512d54fea2 Merge. 2012-01-14 11:53:37 +01:00
Charles-François Natali
d612de10e5 Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. 2012-01-14 11:51:00 +01: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
Nick Coghlan
138f4656e3 Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 patch, and make the private CallMethod variants consistent with the public one 2012-01-14 16:45:48 +10:00
Nick Coghlan
76e1bb0ef9 Fix indenting 2012-01-14 16:08:08 +10:00
Nick Coghlan
4c1be9e3d2 Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted 2012-01-14 16:03:07 +10:00
Terry Jan Reedy
7cdb447b56 Merge 2012-01-13 23:47:41 -05:00
Terry Jan Reedy
ec6d7c89be Merge with 3.2 #13730 grammar fix 2012-01-13 23:44:49 -05:00
Nick Coghlan
0ed8019c20 Add versionchanged notes for PEP 380 2012-01-14 14:43:24 +10:00
Terry Jan Reedy
a931463fea #13730 grammar fix 2012-01-13 23:43:13 -05:00
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
Antoine Pitrou
fffbfbd397 Issue #13764: remove outdated script Misc/build.sh 2012-01-13 19:41:42 +01:00
Antoine Pitrou
bbf53614b7 test_strlit was never run 2012-01-12 22:36:48 +01:00
Terry Jan Reedy
a3d1e2e342 #11633 At least 2 people prefer earlier revision. 2012-01-12 14:49:02 -05:00
Antoine Pitrou
889a5101c2 Issue #13724: improve documentation for socket.create_connection. 2012-01-12 08:06:19 +01:00
Benjamin Peterson
0010256de4 fold into one if statement 2012-01-11 21:00:16 -05:00