Commit graph

79620 commits

Author SHA1 Message Date
Andrew Svetlov
a5b89c178b Fix typo 2013-04-05 11:40:01 +03:00
Andrew Svetlov
e463b668e8 Fix typo 2013-04-05 11:39:50 +03:00
Andrew Svetlov
974045523b Fix typo. 2013-04-05 10:11:25 +03:00
Andrew Svetlov
815b0e23bf Fix typo. 2013-04-05 10:10:12 +03:00
Senthil Kumaran
a8a57f4f27 null merge 2013-04-04 19:35:11 -07:00
Senthil Kumaran
4a2ab120f3 Issue #17483: 3.3 Branch - Remove unreachable code in urllib.request 2013-04-04 19:34:02 -07:00
Andrew Svetlov
ace34dda0a #17365: Remove Python 2 code from test_print
Patch by Berker Peksag
2013-04-04 22:32:28 +03:00
Ezio Melotti
b9e2147dee #8913: merge with 3.3. 2013-04-04 09:16:42 +03:00
Ezio Melotti
09f0ddec21 #8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki Partanen. 2013-04-04 09:16:15 +03:00
Benjamin Peterson
4d34bae217 merge 3.3 (#17625) 2013-04-03 22:38:00 -04:00
Benjamin Peterson
38546ee51c close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson
7684fa8a38 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Benjamin Peterson
cf658c2833 close search and replace dialog after it is used (closes #17625) 2013-04-03 22:35:12 -04:00
Ezio Melotti
effbdeedb5 Remove the "Extension Modules" section. 2013-04-04 02:34:33 +03:00
Ezio Melotti
d57f047665 #17572: merge with 3.3. 2013-04-04 02:16:27 +03:00
Ezio Melotti
0f38908684 #17572: Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa. 2013-04-04 02:09:20 +03:00
Terry Jan Reedy
8fc16b37ea Merge with 3.3 2013-04-03 13:20:02 -04:00
Terry Jan Reedy
a99e1711f7 Issue #15940: NEWS entry 2013-04-03 13:07:46 -04:00
Terry Jan Reedy
fd4bba1bf3 Merge with 3.3 2013-04-03 12:45:47 -04:00
Terry Jan Reedy
41459a9b29 Issue #15940: Replace tab. 2013-04-03 12:45:24 -04:00
Terry Jan Reedy
670e1b7b1e Merge with 3.3 2013-04-03 12:35:25 -04:00
Terry Jan Reedy
b5e2e7e93a Issue #15940: Specify effect of locale on time functions. 2013-04-03 12:34:57 -04:00
Richard Oudkerk
eea1f5c2e4 Merge 2013-04-03 13:49:36 +01:00
Richard Oudkerk
614c578dec Issue #17619: Make input() check for Ctrl-C correctly on Windows. 2013-04-03 13:44:50 +01:00
R David Murray
c616604a15 Merge: Use repr when printing unknown url type in urlopen. 2013-04-03 07:01:07 -04:00
R David Murray
d8a46969f7 Use repr when printing unknown url type in urlopen. 2013-04-03 06:58:34 -04:00
R David Murray
9c7dfbf720 Merge #17623: fix whatsnew typo
Patch by Thomas Heller.
2013-04-03 06:17:30 -04:00
R David Murray
03b2a1ce51 #17623: fix whatsnew typo
Patch by Thomas Heller.
2013-04-03 06:16:14 -04:00
Giampaolo Rodola'
06d0c1e72c remove uneffective 'while True' clause 2013-04-03 12:01:44 +02:00
Roger Serwy
1be94cea0f #14254: merge with 3.3. 2013-04-03 00:43:31 -05:00
Roger Serwy
6b7a5ae2c1 #14254: IDLE now handles readline correctly across shell restarts. 2013-04-03 00:42:24 -05:00
Roger Serwy
a64a084670 #17614: merge with 3.3. 2013-04-02 22:40:39 -05:00
Roger Serwy
0d28a61d23 #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:39:39 -05:00
Roger Serwy
d7c9d9cdcd #17614: IDLE no longer raises exception when quickly closing a file. 2013-04-02 22:37:12 -05:00
Victor Stinner
207dd38726 fix unused variable 2013-04-03 03:14:58 +02:00
Victor Stinner
eb4b5ac8af Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function
when possible
2013-04-03 02:02:33 +02:00
Victor Stinner
cfc4c13b04 Add _PyUnicodeWriter_WriteSubstring() function
Write a function to enable more optimizations:

 * If the substring is the whole string and overallocation is disabled, just
   keep a reference to the string, don't copy characters
 * Avoid a call to the expensive _PyUnicode_FindMaxChar() function when
   possible
2013-04-03 01:48:39 +02:00
Victor Stinner
4489e927a6 (Merge 3.3) Close #6822: ftplib.FTP.storlines() expects a binary file, not a text file
Add an unit test to ensure that text files are rejectect (with TypeError)
2013-04-02 22:13:49 +02:00
Victor Stinner
ed3a303548 Close #6822: ftplib.FTP.storlines() expects a binary file, not a text file
Add an unit test to ensure that text files are rejectect (with TypeError)
2013-04-02 22:13:27 +02:00
R David Murray
d9ebf4dc1f #17489: Add explanatory comment that __getstate__ is not called.
We don't put coverage directives in the stdlib, but anyone looking at a
coverage report for Random should see the comment and understand why the lines
aren't covered.
2013-04-02 13:10:52 -04:00
R David Murray
e3e1c17e08 #17492: Additional tests for random module.
Patch by Victor Terrón.
2013-04-02 12:47:23 -04:00
R David Murray
c993a19480 #13163: fix names of _get_socket args
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.

Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Georg Brandl
ef0faa5c59 merge 2013-04-02 11:07:27 +02:00
Benjamin Peterson
d3f41fe121 merge 3.3 (#17610) 2013-04-01 17:43:30 -04:00
Benjamin Peterson
6395241471 list slotdefs in offset order rather than sorting them (closes #17610)
This means we can remove our usage of qsort() than relied on undefined behavior.
2013-04-01 17:41:41 -04:00
Brett Cannon
49e835bec6 Issue #14135: Let's try this again. 2013-04-01 14:11:37 -04:00
Brett Cannon
a495b498af merge 2013-04-01 13:26:21 -04:00
Brett Cannon
daf4daa295 merge 2013-04-01 13:25:40 -04:00
Brett Cannon
f8ffec0617 Issue #17357: Add missing verbosity messages when running under
-v/-vv that were lost in the transition to importlib.
2013-04-01 13:10:51 -04:00
Antoine Pitrou
9a8d6934df Issue #17483: remove unreachable code in urlopen(). 2013-04-01 18:55:35 +02:00