]>
granicus.if.org Git - python/log
Brett Cannon [Sat, 9 Mar 2013 19:22:35 +0000 (14:22 -0500)]
Touch up the Python 2 to 3 porting guide
Eli Bendersky [Sat, 9 Mar 2013 13:54:32 +0000 (05:54 -0800)]
Add warning in ctypes documentation for #16575 and #16576
Eli Bendersky [Sat, 9 Mar 2013 13:54:00 +0000 (05:54 -0800)]
Add warning in ctypes documentation for #16575 and #16576
Terry Jan Reedy [Sat, 9 Mar 2013 07:25:18 +0000 (02:25 -0500)]
Merge heads
Terry Jan Reedy [Sat, 9 Mar 2013 07:14:27 +0000 (02:14 -0500)]
Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte
Raymond Hettinger [Sat, 9 Mar 2013 07:01:07 +0000 (23:01 -0800)]
Sync-up with 3.4 to make maintenance easier.
Raymond Hettinger [Sat, 9 Mar 2013 04:11:55 +0000 (21:11 -0700)]
Improve comments and variable names.
Terry Jan Reedy [Sat, 9 Mar 2013 00:39:30 +0000 (19:39 -0500)]
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
Terry Jan Reedy [Sat, 9 Mar 2013 00:35:15 +0000 (19:35 -0500)]
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
Vinay Sajip [Fri, 8 Mar 2013 23:26:43 +0000 (23:26 +0000)]
Issue #17376: Merged clarification from 3.2.
Vinay Sajip [Fri, 8 Mar 2013 23:24:30 +0000 (23:24 +0000)]
Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation.
Eli Bendersky [Fri, 8 Mar 2013 13:32:45 +0000 (05:32 -0800)]
Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
Eli Bendersky [Fri, 8 Mar 2013 13:31:54 +0000 (05:31 -0800)]
Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
Victor Stinner [Fri, 8 Mar 2013 01:33:06 +0000 (02:33 +0100)]
Issue #17223: the test is specific to 32-bit wchar_t type
Skip the test on Windows.
R David Murray [Thu, 7 Mar 2013 23:16:47 +0000 (18:16 -0500)]
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
R David Murray [Thu, 7 Mar 2013 23:15:13 +0000 (18:15 -0500)]
PEP8 fixup on previous patch, remove unused import in test_email.
R David Murray [Thu, 7 Mar 2013 21:43:58 +0000 (16:43 -0500)]
Merge: #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
R David Murray [Thu, 7 Mar 2013 21:38:03 +0000 (16:38 -0500)]
#14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
Ezio Melotti [Thu, 7 Mar 2013 17:55:08 +0000 (19:55 +0200)]
Merge typo fix in Misc/NEWS entry from 3.2.
Ezio Melotti [Thu, 7 Mar 2013 17:53:19 +0000 (19:53 +0200)]
Fix typo in Misc/NEWS entry.
Ezio Melotti [Thu, 7 Mar 2013 16:45:48 +0000 (18:45 +0200)]
#11732: null merge with 3.2.
Ezio Melotti [Thu, 7 Mar 2013 16:44:29 +0000 (18:44 +0200)]
#11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
Ezio Melotti [Thu, 7 Mar 2013 16:37:13 +0000 (18:37 +0200)]
#11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003.
Nick Coghlan [Thu, 7 Mar 2013 13:14:44 +0000 (23:14 +1000)]
Close #15465: Document C API version macros
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.
Patch by Kushal Das.
Stefan Krah [Thu, 7 Mar 2013 00:12:03 +0000 (01:12 +0100)]
Issue #17361: Use cc from sysconfig for testing flags.
Victor Stinner [Wed, 6 Mar 2013 18:28:37 +0000 (19:28 +0100)]
_PyUnicode_Writer() now also reuses Unicode singletons:
empty string and latin1 single character
Eli Bendersky [Wed, 6 Mar 2013 14:49:22 +0000 (06:49 -0800)]
Fix doc grammar and line width
Eli Bendersky [Wed, 6 Mar 2013 14:48:57 +0000 (06:48 -0800)]
Fix doc grammar and line width
Ezio Melotti [Wed, 6 Mar 2013 01:23:28 +0000 (03:23 +0200)]
#17364: merge with 3.2.
Ezio Melotti [Wed, 6 Mar 2013 01:20:27 +0000 (03:20 +0200)]
#17364: remove documentation for a function that does not exist.
Ezio Melotti [Wed, 6 Mar 2013 00:57:25 +0000 (02:57 +0200)]
#17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs.
Ezio Melotti [Tue, 5 Mar 2013 18:31:34 +0000 (20:31 +0200)]
Fix indentation.
Ezio Melotti [Tue, 5 Mar 2013 18:26:17 +0000 (20:26 +0200)]
#11732: add a new suppress_crash_popup() context manager to test.support.
Senthil Kumaran [Tue, 5 Mar 2013 10:26:50 +0000 (02:26 -0800)]
Reverting the changeset
5d76a4746d9d made for Issue #12921
Senthil Kumaran [Tue, 5 Mar 2013 10:25:58 +0000 (02:25 -0800)]
Reverting the changeset
5126e62c60af made for Issue #12921
Senthil Kumaran [Tue, 5 Mar 2013 09:23:44 +0000 (01:23 -0800)]
Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
Senthil Kumaran [Tue, 5 Mar 2013 09:22:57 +0000 (01:22 -0800)]
Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
Raymond Hettinger [Tue, 5 Mar 2013 07:11:10 +0000 (02:11 -0500)]
Fix typo
Raymond Hettinger [Tue, 5 Mar 2013 06:36:30 +0000 (01:36 -0500)]
Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
Antoine Pitrou [Mon, 4 Mar 2013 19:33:36 +0000 (20:33 +0100)]
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
Antoine Pitrou [Mon, 4 Mar 2013 19:30:01 +0000 (20:30 +0100)]
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
Benjamin Peterson [Mon, 4 Mar 2013 14:47:50 +0000 (09:47 -0500)]
fix possible setdefault refleak (closes #17328)
Ezio Melotti [Mon, 4 Mar 2013 13:19:02 +0000 (15:19 +0200)]
#17346: merge with 3.2.
Ezio Melotti [Mon, 4 Mar 2013 13:17:56 +0000 (15:17 +0200)]
#17346: make sure pickle tests are run against all protocols. Initial patch by Marius Gedminas.
Raymond Hettinger [Mon, 4 Mar 2013 09:19:09 +0000 (04:19 -0500)]
Another nit.
Raymond Hettinger [Mon, 4 Mar 2013 08:34:09 +0000 (03:34 -0500)]
Fix other re-entrancy nits for the lru_cache.
Keep references for oldkey and oldvalue so they can't
trigger a __del__ method to reenter our thread.
Move the cache[key]=link step to the end, after the link
data is in a consistent state.
Under exotic circumstances, the cache[key]=link step could
trigger reentrancy (i.e. the key would have to have a hash
exactly equal to that for another key in the cache and the
key would need a __eq__ method that makes a reentrant call
our cached function).
Raymond Hettinger [Mon, 4 Mar 2013 07:52:50 +0000 (02:52 -0500)]
Add test for RLock in the lru_cache().
Nadeem Vawda [Sun, 3 Mar 2013 21:44:22 +0000 (22:44 +0100)]
Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.
Nadeem Vawda [Sun, 3 Mar 2013 21:31:21 +0000 (22:31 +0100)]
Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.
Gregory P. Smith [Sun, 3 Mar 2013 18:45:05 +0000 (10:45 -0800)]
Issue #16962: Use getdents64 instead of the obsolete getdents syscall in
the subprocess module on Linux.
Ezio Melotti [Sat, 2 Mar 2013 12:47:07 +0000 (14:47 +0200)]
#17334: test_index now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Sat, 2 Mar 2013 12:25:56 +0000 (14:25 +0200)]
#17333: test_imaplib now works with unittest test discovery. Patch by Zachary Ware.
Raymond Hettinger [Sat, 2 Mar 2013 07:43:48 +0000 (23:43 -0800)]
Issue #17331: Use isidentifier() instead of isalnum() to check for valid identifiers.
Raymond Hettinger [Sat, 2 Mar 2013 07:20:13 +0000 (23:20 -0800)]
Remove dependency on dummy_threading (to solve a bootstrap problem).
Ezio Melotti [Fri, 1 Mar 2013 19:28:06 +0000 (21:28 +0200)]
Merge markup fixes in unittest doc from 3.2.
Ezio Melotti [Fri, 1 Mar 2013 19:26:04 +0000 (21:26 +0200)]
Fix markup in unittest doc.
Ezio Melotti [Fri, 1 Mar 2013 19:00:05 +0000 (21:00 +0200)]
#17315: merge with 3.2.
Ezio Melotti [Fri, 1 Mar 2013 18:59:17 +0000 (20:59 +0200)]
#17315: unlink a file that test_posixpath was leaving around.
Raymond Hettinger [Fri, 1 Mar 2013 11:47:57 +0000 (03:47 -0800)]
Don't deadlock on a reentrant call.
Raymond Hettinger [Fri, 1 Mar 2013 11:30:20 +0000 (03:30 -0800)]
Regex should be a raw string
Ezio Melotti [Fri, 1 Mar 2013 09:23:28 +0000 (11:23 +0200)]
#17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 1 Mar 2013 08:55:17 +0000 (10:55 +0200)]
#17079: test_ctypes now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 28 Feb 2013 16:03:16 +0000 (18:03 +0200)]
Merge link addition from 3.2.
Ezio Melotti [Thu, 28 Feb 2013 16:02:28 +0000 (18:02 +0200)]
Add a link to the demo dir.
Ezio Melotti [Thu, 28 Feb 2013 06:29:37 +0000 (08:29 +0200)]
Merge markup fixes in unittest docs from 3.2.
Ezio Melotti [Thu, 28 Feb 2013 06:28:11 +0000 (08:28 +0200)]
Fix markup in unittest docs.
Chris Jerdonek [Wed, 27 Feb 2013 18:03:26 +0000 (10:03 -0800)]
Issue #16406: Combine the doc pages for uploading and registering to PyPI.
Chris Jerdonek [Wed, 27 Feb 2013 18:00:20 +0000 (10:00 -0800)]
Issue #16406: Combine the doc pages for uploading and registering to PyPI.
R David Murray [Wed, 27 Feb 2013 14:02:49 +0000 (09:02 -0500)]
Null merge for issue
1692335 backport.
R David Murray [Wed, 27 Feb 2013 13:57:09 +0000 (08:57 -0500)]
#17296: backport fix for issue
1692335 , naive exception pickling.
Ezio Melotti [Wed, 27 Feb 2013 08:09:12 +0000 (10:09 +0200)]
#17304: test_hash now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Wed, 27 Feb 2013 08:00:03 +0000 (10:00 +0200)]
#17303: test_future* now work with unittest test discovery. Patch by Zachary Ware.
Victor Stinner [Tue, 26 Feb 2013 21:52:11 +0000 (22:52 +0100)]
Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)
Petri Lehtinen [Tue, 26 Feb 2013 19:45:09 +0000 (21:45 +0200)]
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Petri Lehtinen [Tue, 26 Feb 2013 19:32:02 +0000 (21:32 +0200)]
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Vinay Sajip [Tue, 26 Feb 2013 16:29:06 +0000 (16:29 +0000)]
Closes #17290: Loading cursor now does not persist when launching GUI scripts.
Eli Bendersky [Tue, 26 Feb 2013 13:53:23 +0000 (05:53 -0800)]
Some cosmetic changes
Richard Oudkerk [Tue, 26 Feb 2013 13:00:15 +0000 (13:00 +0000)]
Merge
Richard Oudkerk [Tue, 26 Feb 2013 12:39:57 +0000 (12:39 +0000)]
Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR.
Senthil Kumaran [Tue, 26 Feb 2013 09:04:22 +0000 (01:04 -0800)]
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
Senthil Kumaran [Tue, 26 Feb 2013 09:02:58 +0000 (01:02 -0800)]
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
Victor Stinner [Mon, 25 Feb 2013 23:27:38 +0000 (00:27 +0100)]
Issue #17223: array module: Fix a crasher when converting an array containing
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
Victor Stinner [Mon, 25 Feb 2013 23:15:54 +0000 (00:15 +0100)]
Issue #17223: Fix PyUnicode_FromUnicode() for string of 1 character outside
the range U+0000-U+10ffff.
Serhiy Storchaka [Mon, 25 Feb 2013 15:20:59 +0000 (17:20 +0200)]
Issue #15083: Convert ElementTree doctests to unittests.
Serhiy Storchaka [Mon, 25 Feb 2013 11:46:32 +0000 (13:46 +0200)]
Issue #
1470548 : Add test for fragment producing with XMLGenerator.
Serhiy Storchaka [Mon, 25 Feb 2013 11:46:10 +0000 (13:46 +0200)]
Issue #
1470548 : Add test for fragment producing with XMLGenerator.
R David Murray [Sun, 24 Feb 2013 03:07:55 +0000 (22:07 -0500)]
Merge #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
R David Murray [Sun, 24 Feb 2013 02:51:05 +0000 (21:51 -0500)]
#17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
Petri Lehtinen [Sat, 23 Feb 2013 22:12:35 +0000 (23:12 +0100)]
Revert "Issue #16121: Fix line number accounting in shlex"
Petri Lehtinen [Sat, 23 Feb 2013 22:03:15 +0000 (23:03 +0100)]
Revert "Issue #16121: Fix line number accounting in shlex"
Petri Lehtinen [Sat, 23 Feb 2013 21:09:51 +0000 (22:09 +0100)]
Issue #16121: Fix line number accounting in shlex
Petri Lehtinen [Sat, 23 Feb 2013 21:07:39 +0000 (22:07 +0100)]
Issue #16121: Fix line number accounting in shlex
Petri Lehtinen [Sat, 23 Feb 2013 20:09:12 +0000 (21:09 +0100)]
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO
Petri Lehtinen [Sat, 23 Feb 2013 20:05:27 +0000 (21:05 +0100)]
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO
Petri Lehtinen [Sat, 23 Feb 2013 18:55:36 +0000 (19:55 +0100)]
Issue #16695: Document how glob handles filenames starting with a dot
Petri Lehtinen [Sat, 23 Feb 2013 18:53:03 +0000 (19:53 +0100)]
Issue #16695: Document how glob handles filenames starting with a dot
Petri Lehtinen [Sat, 23 Feb 2013 18:34:15 +0000 (19:34 +0100)]
Issue #8890: Stop advertising an insecure use of /tmp in docs
Petri Lehtinen [Sat, 23 Feb 2013 18:26:56 +0000 (19:26 +0100)]
Issue #8890: Stop advertising an insecure use of /tmp in docs
Petri Lehtinen [Sat, 23 Feb 2013 18:07:02 +0000 (19:07 +0100)]
Issue #14720: sqlite3: Convert datetime microseconds correctly
Petri Lehtinen [Sat, 23 Feb 2013 18:05:09 +0000 (19:05 +0100)]
Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman