Commit Graph

57101 Commits

Author SHA1 Message Date
Victor Stinner a4708231e6 Split the huge PyUnicode_Format() function (+540 lines) into subfunctions 2012-10-04 02:19:54 +02:00
Victor Stinner a049443fab PyUnicode_Format(): disable overallocation when we are writing the last part
of the output string
2012-10-03 23:03:46 +02:00
Victor Stinner afffce489b Unicode: resize_compact() and resize_inplace() fills also the Unicode strings
with invalid bytes in debug mode, as done by PyUnicode_New()
2012-10-03 23:03:17 +02:00
Nick Coghlan 75f108174a Merge #12947 workaround from 3.3 2012-10-03 13:53:28 +05:30
Nick Coghlan 0b26ccfaa6 Issue #12947: Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives 2012-10-03 13:52:48 +05:30
Nick Coghlan da0e579f39 Merge doctest note from 3.3 2012-10-03 12:22:16 +05:30
Nick Coghlan 8f80e0a651 Issue #12947: Add a note to doctest until the example rendering is fixed 2012-10-03 12:21:44 +05:30
Jesus Cea 497ebdad42 NULL merge 2012-10-03 03:18:33 +02:00
Jesus Cea 22ab5e7640 NULL merge 2012-10-03 03:18:05 +02:00
Jesus Cea cf45325b61 Closes #15897: zipimport.c doesn't check return value of fseek(). Typo 2012-10-03 03:16:42 +02:00
Jesus Cea f53b7623cb MERGE: Fix Misc/ACKS alphabetic order 2012-10-03 03:03:22 +02:00
Jesus Cea 42db4157a9 MERGE: Closes #15897: zipimport.c doesn't check return value of fseek() 2012-10-03 03:03:04 +02:00
Jesus Cea 491b6b7c79 MERGE: Fix Misc/ACKS alphabetic order 2012-10-03 03:01:13 +02:00
Jesus Cea fb22f542d2 MERGE: Closes #15897: zipimport.c doesn't check return value of fseek() 2012-10-03 03:00:37 +02:00
Jesus Cea 83451a2b40 Fix Misc/ACKS alphabetic order 2012-10-03 02:14:14 +02:00
Jesus Cea 09bf7a799d Closes #15897: zipimport.c doesn't check return value of fseek() 2012-10-03 02:13:05 +02:00
Alexander Belopolsky cf77454908 Issue #9650: List commonly used format codes in time.strftime and time.strptime docsttings. 2012-10-02 18:39:16 -04:00
R David Murray 8155ff4dc0 More whatsnew updates. 2012-10-02 18:26:31 -04:00
R David Murray 3430fb803e More whatsnew updates. 2012-10-02 18:24:56 -04:00
Ezio Melotti 3ffd29b615 Remove unnecessary []. 2012-10-02 19:45:00 +03:00
Nick Coghlan 30a13fb60e Reword the next version placeholder now that the changelog is part of the published What's New docs 2012-10-02 21:29:59 +05:30
Andrew Svetlov 3f459ecc6a Null merge 2012-10-02 18:43:00 +03:00
Andrew Svetlov ddd74b10e5 Merge: Close open bracket, thanks to Josh Helzer from docs@ 2012-10-02 18:42:22 +03:00
Andrew Svetlov 5b602757bf Merge: Close open bracket, thanks to Josh Helzer from docs@ 2012-10-02 18:40:00 +03:00
Andrew Svetlov f532035551 Close open bracket, thanks to Josh Helzer from docs@ 2012-10-02 18:39:25 +03:00
Vinay Sajip 3e763dadde Updated docstring for logging.config.listen(). 2012-10-02 16:15:33 +01:00
Vinay Sajip 4ded5512d7 Issue #15452: Added verify option for logging configuration socket listener. 2012-10-02 15:56:16 +01:00
R David Murray 814a13dc30 Merge: Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal. 2012-10-02 10:19:48 -04:00
R David Murray 994ce1a3c1 Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal. 2012-10-02 10:19:08 -04:00
Victor Stinner c89d28fdfc Issue #15609: Fix refleak introduced by my last optimization 2012-10-02 12:54:07 +02:00
Georg Brandl 450dbcf421 merge with 3.3. 2012-10-02 10:16:26 +02:00
Georg Brandl dc704c6751 In this case it is not useful to hide "threading". 2012-10-02 10:16:19 +02:00
Ezio Melotti b116b3bb39 #15979: merge with 3.3. 2012-10-02 06:02:08 +03:00
Ezio Melotti 4443762bf5 #15979: merge with 3.2. 2012-10-02 06:01:16 +03:00
Ezio Melotti d0fe3e5abb #15979: improve timeit documentation. 2012-10-02 05:35:39 +03:00
R David Murray 6c617163a3 Merge: Add threading.get_ident to whatsnew. 2012-10-01 22:10:53 -04:00
R David Murray 0bbfd6b817 Add threading.get_ident to whatsnew. 2012-10-01 22:10:15 -04:00
R David Murray 6e7bd65453 Merge #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:47:57 -04:00
R David Murray 258fabefde #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04:00
Victor Stinner 3b635cd447 Close #15766: Catch exceptions while raising the ImportError in imp.load_dynamic() 2012-10-02 00:55:07 +02:00
Ezio Melotti f25dabe1ec Merge changelog filtering fixes/improvements with 3.3. 2012-10-02 01:46:49 +03:00
Ezio Melotti 7eb03ddf11 Fix/improve the changelog filtering. 2012-10-02 01:43:42 +03:00
Victor Stinner 621ef3d84f Issue #15609: Optimize str%args for integer argument
- Use _PyLong_FormatWriter() instead of formatlong() when possible, to avoid
   a temporary buffer
 - Enable the fast path when width is smaller or equals to the length,
   and when the precision is bigger or equals to the length
 - Add unit tests!
 - formatlong() uses PyUnicode_Resize() instead of _PyUnicode_FromASCII()
   to resize the output string
2012-10-02 00:33:47 +02:00
Philip Jenvey fd0d3e5d25 more yield from
patch by Serhiy Storchaka
2012-10-01 15:34:31 -07:00
Antoine Pitrou 8bfcf51b5d Merge 2012-10-01 23:44:19 +02:00
Antoine Pitrou 77cddc3164 Merge 2012-10-01 23:44:00 +02:00
Antoine Pitrou 5f62aaaa9e Sanitize and modernize some of the _elementtree code (see issue #16089). 2012-10-01 23:41:51 +02:00
Antoine Pitrou c194884983 Sanitize and modernize some of the _elementtree code (see issue #16089). 2012-10-01 23:40:37 +02:00
Stefan Krah ca1232f7db Merge 3.3. 2012-10-01 23:30:32 +02:00
Stefan Krah 219c7b90d0 Issue #15599: Increase the switch interval. Several systems cannot handle
gil_interval == 1 in extreme situations.
2012-10-01 23:21:45 +02:00