]>
granicus.if.org Git - python/log
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
Victor Stinner [Sat, 28 Apr 2012 21:47:33 +0000 (23:47 +0200)]
Time doc: documentation that the CLOCK_* constants and clock_*() functions are
not always available.
Sandro Tosi [Sat, 28 Apr 2012 09:19:59 +0000 (11:19 +0200)]
Issue #14448: merge with 3.2
Sandro Tosi [Sat, 28 Apr 2012 09:19:37 +0000 (11:19 +0200)]
Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions
Victor Stinner [Fri, 27 Apr 2012 22:25:34 +0000 (00:25 +0200)]
Fix my previous commit: bool is a long, restore the specical case for bool
Antoine Pitrou [Fri, 27 Apr 2012 21:51:03 +0000 (23:51 +0200)]
Issue #14666: stop multiprocessing's resource-sharing thread after the tests are done.
Also, block delivery of signals to that thread. Patch by Richard Oudkerk.
This will hopefully fix sporadic freezes on the FreeBSD 9.0 buildbot.
Victor Stinner [Fri, 27 Apr 2012 21:40:13 +0000 (23:40 +0200)]
Simplify and optimize formatlong()
* Remove _PyBytes_FormatLong(): inline it into formatlong()
* the input type is always a long, so remove the code for bool
* don't duplicate the string if the length does not change
* Use PyUnicode_DATA() instead of _PyUnicode_AsString()
Brett Cannon [Fri, 27 Apr 2012 21:27:33 +0000 (17:27 -0400)]
merge
Brett Cannon [Fri, 27 Apr 2012 21:27:14 +0000 (17:27 -0400)]
Issue #14646: __import__() now sets __loader__ if need be.
importlib.util.module_for_loader also will set __loader__ along with
__package__. This is in conjunction to a forthcoming update to PEP 302
which will make these two attributes required for loaders to set.
Victor Stinner [Fri, 27 Apr 2012 20:26:58 +0000 (22:26 +0200)]
Optimize _PyUnicode_FindMaxChar() find pure ASCII strings
Brett Cannon [Fri, 27 Apr 2012 19:45:15 +0000 (15:45 -0400)]
Issue #14605: Don't error out if get_importer() returns None.
Brett Cannon [Fri, 27 Apr 2012 19:31:45 +0000 (15:31 -0400)]
merge
Brett Cannon [Fri, 27 Apr 2012 19:30:58 +0000 (15:30 -0400)]
Issue #14605: Use None in sys.path_importer_cache to represent no
finder instead of using some (now non-existent) implicit finder.
Benjamin Peterson [Fri, 27 Apr 2012 19:07:36 +0000 (15:07 -0400)]
decref cached keys on type deallocation (#13903)
Brett Cannon [Fri, 27 Apr 2012 18:02:33 +0000 (14:02 -0400)]
merge
Brett Cannon [Fri, 27 Apr 2012 18:01:58 +0000 (14:01 -0400)]
Issue #14605: Stop having implicit entries for sys.meta_path.
ImportWarning is raised if sys.meta_path is found to be empty.
Brett Cannon [Fri, 27 Apr 2012 17:52:55 +0000 (13:52 -0400)]
Issue #14605: Insert to the front of sys.meta_path, don't append.
Brett Cannon [Fri, 27 Apr 2012 17:52:03 +0000 (13:52 -0400)]
Invalidate finder caches after creating a new script.
Benjamin Peterson [Fri, 27 Apr 2012 15:56:30 +0000 (11:56 -0400)]
use wfile api
Martin v. Loewis [Fri, 27 Apr 2012 14:10:21 +0000 (16:10 +0200)]
Issue #14642: Add "hg touch" extension, and "make touch" target.
Victor Stinner [Fri, 27 Apr 2012 11:55:39 +0000 (13:55 +0200)]
Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)
* In debug mode, fill the string data with invalid characters
* Simplify also reference counting in PyCodec_BackslashReplaceErrors()
and PyCodec_XMLCharRefReplaceError()
Jesus Cea [Thu, 26 Apr 2012 15:05:31 +0000 (17:05 +0200)]
Backing out
86dc014cdd74 . Not ready yet
Jesus Cea [Thu, 26 Apr 2012 14:39:35 +0000 (16:39 +0200)]
Close #10142: Support for SEEK_HOLE/SEEK_DATA
Brian Curtin [Thu, 26 Apr 2012 04:38:05 +0000 (23:38 -0500)]
Add a missing close paren
Benjamin Peterson [Thu, 26 Apr 2012 04:27:06 +0000 (00:27 -0400)]
merge heads
Benjamin Peterson [Thu, 26 Apr 2012 04:26:37 +0000 (00:26 -0400)]
only incref when using borrowing functions