]>
granicus.if.org Git - python/log
Martin v. Löwis [Wed, 2 May 2012 05:41:22 +0000 (07:41 +0200)]
Issue #13183: Revert
0b53b70a40a0 (reenable test on windows)
Senthil Kumaran [Wed, 2 May 2012 00:01:02 +0000 (08:01 +0800)]
fix closes issue13183 - windows test failure
Senthil Kumaran [Wed, 2 May 2012 00:00:22 +0000 (08:00 +0800)]
fix windows test failure - issue13183
Victor Stinner [Tue, 1 May 2012 23:15:40 +0000 (01:15 +0200)]
unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computation
of the second argument of PyUnicode_New().
* Create also align_maxchar() function
* Optimize fix_decimal_and_space_to_ascii(): don't compute the maximum
character when ch <= 127 (it is ASCII)
Victor Stinner [Tue, 1 May 2012 22:41:57 +0000 (00:41 +0200)]
Issue #14687: Cleanup PyUnicode_Format()
Victor Stinner [Tue, 1 May 2012 22:29:36 +0000 (00:29 +0200)]
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)
Martin v. Löwis [Tue, 1 May 2012 16:15:13 +0000 (18:15 +0200)]
Merge sphinx changes
Benjamin Peterson [Tue, 1 May 2012 15:14:32 +0000 (11:14 -0400)]
don't use assertEqual for test for bool equality
Martin v. Löwis [Tue, 1 May 2012 14:37:44 +0000 (16:37 +0200)]
Include micro version even if it is 0.
Martin v. Löwis [Tue, 1 May 2012 14:31:18 +0000 (16:31 +0200)]
Include micro version even if it is 0.
Martin v. Löwis [Tue, 1 May 2012 14:27:55 +0000 (16:27 +0200)]
Include micro version even if it is 0.
Benjamin Peterson [Tue, 1 May 2012 13:51:46 +0000 (09:51 -0400)]
merge 3.2 (#14699)
Benjamin Peterson [Tue, 1 May 2012 13:51:09 +0000 (09:51 -0400)]
fix calling the classmethod descriptor directly (closes #14699)
Benjamin Peterson [Tue, 1 May 2012 13:38:34 +0000 (09:38 -0400)]
strip is_ prefixes on clock_info fields
Martin v. Löwis [Tue, 1 May 2012 12:08:22 +0000 (14:08 +0200)]
Check extract_version when opening a zipfile.
Georg Brandl [Tue, 1 May 2012 09:59:36 +0000 (11:59 +0200)]
Update timeit documentation w.r.t default timer changes.
Georg Brandl [Tue, 1 May 2012 09:56:22 +0000 (11:56 +0200)]
Add an option to timeit to use time.process_time() and mark -t and -c as deprecated.
Georg Brandl [Tue, 1 May 2012 07:57:42 +0000 (09:57 +0200)]
Added tag v3.3.0a3 for changeset
0b53b70a40a0
Georg Brandl [Tue, 1 May 2012 07:57:34 +0000 (09:57 +0200)]
Disable test_13183 temporarily on Windows for 3.3a3 release.
Georg Brandl [Tue, 1 May 2012 07:35:18 +0000 (09:35 +0200)]
Bump to 3.3.0a3.
Georg Brandl [Tue, 1 May 2012 07:29:56 +0000 (09:29 +0200)]
Suspicious markup check.
Georg Brandl [Tue, 1 May 2012 07:26:47 +0000 (09:26 +0200)]
Regenerate pydoc topics.
Georg Brandl [Tue, 1 May 2012 07:21:16 +0000 (09:21 +0200)]
test_pdb: fix failure of test_issue13183 in debug mode, and make sure files are cleaned up.
Georg Brandl [Tue, 1 May 2012 07:00:59 +0000 (09:00 +0200)]
Add missing comma in __all__ list.
Martin v. Löwis [Tue, 1 May 2012 06:44:08 +0000 (08:44 +0200)]
Recognize unsupported feature "compressed patch data set" from zip 2.7.
Martin v. Löwis [Tue, 1 May 2012 06:38:01 +0000 (08:38 +0200)]
Detect unsupported compression types.
Martin v. Löwis [Tue, 1 May 2012 05:58:44 +0000 (07:58 +0200)]
Issue #14371: Support bzip2 in zipfile module.
Patch by Serhiy Storchaka.
Raymond Hettinger [Tue, 1 May 2012 05:32:16 +0000 (22:32 -0700)]
Move make_key() out of the decorator body. Make keys that only need to be hashed once.
Raymond Hettinger [Tue, 1 May 2012 03:48:55 +0000 (20:48 -0700)]
Use a flag to indicate when the circular queue is fully populated and stable.
Senthil Kumaran [Tue, 1 May 2012 02:37:11 +0000 (10:37 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
Senthil Kumaran [Tue, 1 May 2012 02:07:49 +0000 (10:07 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
Raymond Hettinger [Mon, 30 Apr 2012 21:14:28 +0000 (14:14 -0700)]
Handle a possible race condition
Ned Deily [Mon, 30 Apr 2012 18:15:38 +0000 (11:15 -0700)]
Issue #10433: merge
Ned Deily [Mon, 30 Apr 2012 18:14:02 +0000 (11:14 -0700)]
Issue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.
Ezio Melotti [Mon, 30 Apr 2012 16:11:11 +0000 (19:11 +0300)]
#14558: merge with 3.2.
Ezio Melotti [Mon, 30 Apr 2012 16:10:28 +0000 (19:10 +0300)]
#14558: document the module, argv, and testLoader args of unittest.main.
Senthil Kumaran [Mon, 30 Apr 2012 14:43:46 +0000 (22:43 +0800)]
Issue11352 - Update cgi module docs
Senthil Kumaran [Mon, 30 Apr 2012 14:43:13 +0000 (22:43 +0800)]
Issue11352 - Update cgi module docs
Benjamin Peterson [Mon, 30 Apr 2012 14:23:40 +0000 (10:23 -0400)]
change insertdict to not steal references (#13903)
Richard Oudkerk [Mon, 30 Apr 2012 13:48:51 +0000 (14:48 +0100)]
Issue #14669: Skip multiprocessing connection pickling test on MacOSX
Passing of fds is unreliable on MacOSX, compare issues #6560 and #12958.
Richard Oudkerk [Mon, 30 Apr 2012 13:48:50 +0000 (14:48 +0100)]
Minor fix for multiprocessing unit test
Read from socket might have returned partial message.
Richard Oudkerk [Mon, 30 Apr 2012 11:13:55 +0000 (12:13 +0100)]
Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"
instead of BSD licence.
Georg Brandl [Mon, 30 Apr 2012 10:50:30 +0000 (12:50 +0200)]
Review of doc changes re PEP 418.
Martin v. Löwis [Mon, 30 Apr 2012 04:20:37 +0000 (06:20 +0200)]
Merge with 3.2: issue #14433
Martin v. Löwis [Mon, 30 Apr 2012 04:10:41 +0000 (06:10 +0200)]
Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed.
Victor Stinner [Mon, 30 Apr 2012 03:24:04 +0000 (05:24 +0200)]
merge
Victor Stinner [Mon, 30 Apr 2012 03:21:52 +0000 (05:21 +0200)]
Issue #14687: Avoid an useless duplicated string in PyUnicode_Format()
Victor Stinner [Mon, 30 Apr 2012 03:19:21 +0000 (05:19 +0200)]
Issue #14687: Cleanup PyUnicode_Format()
Raymond Hettinger [Mon, 30 Apr 2012 01:09:02 +0000 (18:09 -0700)]
Track the cache size directly.
Brett Cannon [Mon, 30 Apr 2012 00:59:41 +0000 (20:59 -0400)]
Write the What's New for the importlib stuff.
Victor Stinner [Sun, 29 Apr 2012 23:39:57 +0000 (01:39 +0200)]
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.
Victor Stinner [Sun, 29 Apr 2012 22:51:31 +0000 (00:51 +0200)]
Issue #14428: Make test_process_time_threads() less strict
Alexander Belopolsky [Sun, 29 Apr 2012 22:20:05 +0000 (18:20 -0400)]
merged
Alexander Belopolsky [Sun, 29 Apr 2012 22:16:46 +0000 (18:16 -0400)]
fixed test_imaplib failure on Win
Raymond Hettinger [Sun, 29 Apr 2012 21:57:05 +0000 (14:57 -0700)]
merge
Raymond Hettinger [Sun, 29 Apr 2012 21:55:27 +0000 (14:55 -0700)]
Factor out shared variables.
Mark Dickinson [Sun, 29 Apr 2012 21:20:01 +0000 (22:20 +0100)]
Issue #14696: Merge from 3.2
Mark Dickinson [Sun, 29 Apr 2012 21:18:31 +0000 (22:18 +0100)]
Issue #14696: Fix parser module to understand 'nonlocal' declarations.
Alexander Belopolsky [Sun, 29 Apr 2012 20:34:43 +0000 (16:34 -0400)]
merge
Alexander Belopolsky [Sun, 29 Apr 2012 20:12:27 +0000 (16:12 -0400)]
Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
the DST transition. Patch by Joe Peterson.
Alexander Belopolsky [Sun, 29 Apr 2012 19:56:49 +0000 (15:56 -0400)]
Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
the DST transition. Patch by Joe Peterson.
Raymond Hettinger [Sun, 29 Apr 2012 19:28:02 +0000 (12:28 -0700)]
Flatten the lru cache keyword args tuple for better memory utilization.
Brett Cannon [Sun, 29 Apr 2012 18:40:43 +0000 (14:40 -0400)]
Re-indent.
Brett Cannon [Sun, 29 Apr 2012 18:38:57 +0000 (14:38 -0400)]
merge
Brett Cannon [Sun, 29 Apr 2012 18:38:11 +0000 (14:38 -0400)]
Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.
Thanks to Eric Snow for the patch.
Sandro Tosi [Sun, 29 Apr 2012 18:33:28 +0000 (20:33 +0200)]
Issue #14691: indent the traceback so the example is highlighted
Mark Dickinson [Sun, 29 Apr 2012 18:17:05 +0000 (19:17 +0100)]
Remove untests for non-existent functionality.
Victor Stinner [Sun, 29 Apr 2012 17:46:19 +0000 (19:46 +0200)]
Issue #14428: Rewrite test_process_time_threads() test
time.process_time() is CPU time, not a number of seconds.
Mark Dickinson [Sun, 29 Apr 2012 17:35:56 +0000 (18:35 +0100)]
Issue #9154: Merge fix from 3.2.
Mark Dickinson [Sun, 29 Apr 2012 17:34:40 +0000 (18:34 +0100)]
Issue #9154: Fix parser module to understand function annotations.
Brett Cannon [Sun, 29 Apr 2012 16:50:32 +0000 (12:50 -0400)]
merge
Brett Cannon [Sun, 29 Apr 2012 16:50:03 +0000 (12:50 -0400)]
Issue #13959: Re-implement imp.NullImporter in Lib/imp.py.
Raymond Hettinger [Sun, 29 Apr 2012 16:35:39 +0000 (09:35 -0700)]
merge
Raymond Hettinger [Sun, 29 Apr 2012 16:32:30 +0000 (09:32 -0700)]
Issue 14688: Fix typo
Mark Dickinson [Sun, 29 Apr 2012 14:31:56 +0000 (15:31 +0100)]
Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
Ezio Melotti [Sun, 29 Apr 2012 10:37:13 +0000 (13:37 +0300)]
#14236: merge with 3.2.
Ezio Melotti [Sun, 29 Apr 2012 10:35:55 +0000 (13:35 +0300)]
#14236: fix docs for \S.
Ezio Melotti [Sun, 29 Apr 2012 08:48:54 +0000 (11:48 +0300)]
#14519: merge with 3.2.
Ezio Melotti [Sun, 29 Apr 2012 08:47:28 +0000 (11:47 +0300)]
#14519: fix the regex used in the scanf example.
Nick Coghlan [Sun, 29 Apr 2012 07:58:24 +0000 (17:58 +1000)]
Better control when dumping import state
Ezio Melotti [Sun, 29 Apr 2012 07:53:31 +0000 (10:53 +0300)]
Merge markup fix in unittest doc from 3.2.
Ezio Melotti [Sun, 29 Apr 2012 07:52:18 +0000 (10:52 +0300)]
Fix markup in unittest doc.
Senthil Kumaran [Sun, 29 Apr 2012 05:44:14 +0000 (13:44 +0800)]
issue6085 - update docs in default branch
Senthil Kumaran [Sun, 29 Apr 2012 05:41:03 +0000 (13:41 +0800)]
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
Ezio Melotti [Sun, 29 Apr 2012 05:24:02 +0000 (08:24 +0300)]
#14236: merge with 3.2.
Ezio Melotti [Sun, 29 Apr 2012 05:23:25 +0000 (08:23 +0300)]
#14236: mention Unicode whitespace in \s documentation.
Senthil Kumaran [Sun, 29 Apr 2012 04:51:54 +0000 (12:51 +0800)]
Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of client hostname
Ezio Melotti [Sun, 29 Apr 2012 04:35:22 +0000 (07:35 +0300)]
#14461: merge with 3.2.
Ezio Melotti [Sun, 29 Apr 2012 04:34:46 +0000 (07:34 +0300)]
#14461: fix wording.
Senthil Kumaran [Sun, 29 Apr 2012 03:51:56 +0000 (11:51 +0800)]
issue14427 - Document Request.get_header and Request.header_items
Senthil Kumaran [Sun, 29 Apr 2012 03:50:39 +0000 (11:50 +0800)]
issue14427 - Document Request.get_header and Request.header_items
Senthil Kumaran [Sun, 29 Apr 2012 02:40:23 +0000 (10:40 +0800)]
httplib - minor update to check empty response
Senthil Kumaran [Sun, 29 Apr 2012 02:39:49 +0000 (10:39 +0800)]
httplib - minor update to check empty response
Senthil Kumaran [Sun, 29 Apr 2012 02:21:26 +0000 (10:21 +0800)]
httplib test for early eof response. related to Issue13684
Senthil Kumaran [Sun, 29 Apr 2012 02:20:46 +0000 (10:20 +0800)]
httplib test for early eof response. related to Issue13684
Ezio Melotti [Sun, 29 Apr 2012 01:53:20 +0000 (04:53 +0300)]
#14155: merge note about \b from 3.2.
Ezio Melotti [Sun, 29 Apr 2012 01:52:30 +0000 (04:52 +0300)]
#14155: add a note about \b.
Victor Stinner [Sun, 29 Apr 2012 01:01:20 +0000 (03:01 +0200)]
Issue #14428: Use the new time.perf_counter() and time.process_time() functions
* Replace "time.clock on windows, or time.time" with time.perf_counter()
* profile module: only use time.process_time() instead of trying different
functions providing the process time
* timeit module: use time.perf_counter() by default, time.time() and
time.clock() can still be used using --time and --clock options
* pybench program: use time.perf_counter() by default, add support for
the new time.process_time() and time.perf_counter() functions, but stay
backward compatible. Use also time.get_clock_info() to display information
of the timer.
Victor Stinner [Sun, 29 Apr 2012 00:52:39 +0000 (02:52 +0200)]
Close #14309: Deprecate time.clock()
Use time.perf_counter() or time.process_time() instead.
Victor Stinner [Sun, 29 Apr 2012 00:41:27 +0000 (02:41 +0200)]
Issue #14428, #14397: Implement the PEP 418
* Rename time.steady() to time.monotonic()
* On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of
QueryPerformanceCounter()
* time.monotonic() uses CLOCK_HIGHRES if available
* Add time.get_clock_info(), time.perf_counter() and time.process_time()
functions