Commit Graph

54891 Commits

Author SHA1 Message Date
Victor Stinner b5c3ea3af3 Issue #14687: Optimize str%args
* formatfloat() uses unicode_fromascii() instead of PyUnicode_DecodeASCII()
   to not have to check characters, we know that it is really ASCII
 * Use PyUnicode_FromOrdinal() instead of _PyUnicode_FromUCS4() to format
   a character: if avoids a call to ucs4lib_find_max_char() to compute
   the maximum character (whereas we already know it, it is just the character
   itself)
2012-05-02 00:29:36 +02:00
Martin v. Löwis cc1c146c7a Merge sphinx changes 2012-05-01 18:15:13 +02:00
Benjamin Peterson 1c5ae55c85 don't use assertEqual for test for bool equality 2012-05-01 11:14:32 -04:00
Martin v. Löwis bd31db6f79 Include micro version even if it is 0. 2012-05-01 16:37:44 +02:00
Martin v. Löwis 7f9d181d56 Include micro version even if it is 0. 2012-05-01 16:31:18 +02:00
Martin v. Löwis 24a05f787e Include micro version even if it is 0. 2012-05-01 16:27:55 +02:00
Benjamin Peterson 8fbd295458 merge 3.2 (#14699) 2012-05-01 09:51:46 -04:00
Benjamin Peterson 7295c6a871 fix calling the classmethod descriptor directly (closes #14699) 2012-05-01 09:51:09 -04:00
Benjamin Peterson 49a69e4d48 strip is_ prefixes on clock_info fields 2012-05-01 09:38:34 -04:00
Martin v. Löwis d099b56be7 Check extract_version when opening a zipfile. 2012-05-01 14:08:22 +02:00
Georg Brandl 67c1444454 Update timeit documentation w.r.t default timer changes. 2012-05-01 11:59:36 +02:00
Georg Brandl c9d77b2455 Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
Georg Brandl 1503eed688 Added tag v3.3.0a3 for changeset 0b53b70a40a0 2012-05-01 09:57:42 +02:00
Georg Brandl b613a3d458 Disable test_13183 temporarily on Windows for 3.3a3 release. 2012-05-01 09:57:34 +02:00
Georg Brandl ab0ef20663 Bump to 3.3.0a3. 2012-05-01 09:35:18 +02:00
Georg Brandl ebb29640fa Suspicious markup check. 2012-05-01 09:29:56 +02:00
Georg Brandl 0aca6a8235 Regenerate pydoc topics. 2012-05-01 09:26:47 +02:00
Georg Brandl 4bde9caf74 test_pdb: fix failure of test_issue13183 in debug mode, and make sure files are cleaned up. 2012-05-01 09:21:16 +02:00
Georg Brandl 5c01678174 Add missing comma in __all__ list. 2012-05-01 09:00:59 +02:00
Martin v. Löwis 2a2ce328fb Recognize unsupported feature "compressed patch data set" from zip 2.7. 2012-05-01 08:44:08 +02:00
Martin v. Löwis b3260f08cf Detect unsupported compression types. 2012-05-01 08:38:01 +02:00
Martin v. Löwis f6b16a4b50 Issue #14371: Support bzip2 in zipfile module.
Patch by Serhiy Storchaka.
2012-05-01 07:58:44 +02:00
Raymond Hettinger 9acbb6074f Move make_key() out of the decorator body. Make keys that only need to be hashed once. 2012-04-30 22:32:16 -07:00
Raymond Hettinger 018b4fbb9b Use a flag to indicate when the circular queue is fully populated and stable. 2012-04-30 20:48:55 -07:00
Senthil Kumaran 417c3848d5 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:37:11 +08:00
Senthil Kumaran 42d7081806 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
Raymond Hettinger 34d94a2101 Handle a possible race condition 2012-04-30 14:14:28 -07:00
Ned Deily ca9bfe17be Issue #10433: merge 2012-04-30 11:15:38 -07:00
Ned Deily 2e20968feb Issue #10433: Document unique behavior of 'os.getgroups' on Mac OS X. 2012-04-30 11:14:02 -07:00
Ezio Melotti cfc104ee76 #14558: merge with 3.2. 2012-04-30 19:11:11 +03:00
Ezio Melotti 3d6d7a5e15 #14558: document the module, argv, and testLoader args of unittest.main. 2012-04-30 19:10:28 +03:00
Senthil Kumaran d3433918e7 Issue11352 - Update cgi module docs 2012-04-30 22:43:46 +08:00
Senthil Kumaran 290416f364 Issue11352 - Update cgi module docs 2012-04-30 22:43:13 +08:00
Benjamin Peterson a6f195e48e change insertdict to not steal references (#13903) 2012-04-30 10:23:40 -04:00
Richard Oudkerk 2452419921 Issue #14669: Skip multiprocessing connection pickling test on MacOSX
Passing of fds is unreliable on MacOSX, compare issues #6560 and #12958.
2012-04-30 14:48:51 +01:00
Richard Oudkerk 4460c3476d Minor fix for multiprocessing unit test
Read from socket might have returned partial message.
2012-04-30 14:48:50 +01:00
Richard Oudkerk 3e268aac3b Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"
instead of BSD licence.
2012-04-30 12:13:55 +01:00
Georg Brandl 514880caae Review of doc changes re PEP 418. 2012-04-30 12:50:30 +02:00
Martin v. Löwis ce58ed3e7c Merge with 3.2: issue #14433 2012-04-30 06:20:37 +02:00
Martin v. Löwis e654c11f56 Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed. 2012-04-30 06:10:41 +02:00
Victor Stinner 0e8ccb8304 merge 2012-04-30 05:24:04 +02:00
Victor Stinner b80e46eca4 Issue #14687: Avoid an useless duplicated string in PyUnicode_Format() 2012-04-30 05:21:52 +02:00
Victor Stinner aff3cc659b Issue #14687: Cleanup PyUnicode_Format() 2012-04-30 05:19:21 +02:00
Raymond Hettinger b6b98c093e Track the cache size directly. 2012-04-29 18:09:02 -07:00
Brett Cannon c204348906 Write the What's New for the importlib stuff. 2012-04-29 20:59:41 -04:00
Victor Stinner 9a8ad0c5ea Issue #14428: Remove test_process_time_threads() from test_time
The test is unstable and it's not really interesting to test exactly how
threads are handled.
2012-04-30 01:39:57 +02:00
Victor Stinner 5df72c2c27 Issue #14428: Make test_process_time_threads() less strict 2012-04-30 00:51:31 +02:00
Alexander Belopolsky 934cb18ef5 merged 2012-04-29 18:20:05 -04:00
Alexander Belopolsky b8f02b5a5f fixed test_imaplib failure on Win 2012-04-29 18:16:46 -04:00
Raymond Hettinger a6df2ee7d0 merge 2012-04-29 14:57:05 -07:00