]>
granicus.if.org Git - python/log
Ethan Furman [Wed, 13 Nov 2013 22:25:45 +0000 (14:25 -0800)]
removed Enum.__eq__ as it added nothing
Guido van Rossum [Wed, 13 Nov 2013 19:08:34 +0000 (11:08 -0800)]
asyncio: Temporary fix by Victor Stinner for issue 19566.
Nick Coghlan [Wed, 13 Nov 2013 14:24:31 +0000 (00:24 +1000)]
Issue #17839: mention base64 change in What's New
Nick Coghlan [Wed, 13 Nov 2013 13:49:21 +0000 (23:49 +1000)]
Close #17828: better handling of codec errors
- output type errors now redirect users to the type-neutral
convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
will now be automatically wrapped in exceptions that give
the name of the codec involved
Victor Stinner [Wed, 13 Nov 2013 13:17:30 +0000 (14:17 +0100)]
Don't use deprecated function PyUnicode_GET_SIZE()
Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize()
Victor Stinner [Wed, 13 Nov 2013 12:29:37 +0000 (13:29 +0100)]
Issue #19437: Fix ctypes, handle PyCData_GetContainer() and GetKeepedObjects()
failures
Victor Stinner [Wed, 13 Nov 2013 12:24:50 +0000 (13:24 +0100)]
Issue #19437: Fix GetKeepedObjects() of ctypes, handle PyCData_GetContainer()
failure
Victor Stinner [Wed, 13 Nov 2013 12:23:35 +0000 (13:23 +0100)]
Issue #19437: Fix PyCData_GetContainer() of ctypes, handle PyDict_New() failure
Victor Stinner [Wed, 13 Nov 2013 11:11:36 +0000 (12:11 +0100)]
Issue #19437: Fix PyImport_ImportModuleLevelObject(), handle
PyUnicode_Substring() failure (ex: MemoryError)
Nick Coghlan [Wed, 13 Nov 2013 12:24:58 +0000 (22:24 +1000)]
Avoid global side effect in test_ensurepip
Nick Coghlan [Wed, 13 Nov 2013 12:10:16 +0000 (22:10 +1000)]
Fix test_socket for repr update
Giampaolo Rodola' [Tue, 12 Nov 2013 22:09:01 +0000 (23:09 +0100)]
merge
Giampaolo Rodola' [Tue, 12 Nov 2013 22:08:27 +0000 (23:08 +0100)]
test.support: considering the module is a mix of utilities unrelated with each other divide __all__ in sub-sections so that it can be used as a quick-reference doc
Victor Stinner [Tue, 12 Nov 2013 20:44:18 +0000 (21:44 +0100)]
Issue #19515: Remove duplicated identifiers in zipimport.c
Victor Stinner [Tue, 12 Nov 2013 20:39:02 +0000 (21:39 +0100)]
Issue #19515: Remove identifiers duplicated in the same file.
Patch written by Andrei Dorian Duma.
Victor Stinner [Tue, 12 Nov 2013 16:18:51 +0000 (17:18 +0100)]
Issue #19466: Fix typo. Patch written by Vajrasky Kok.
Victor Stinner [Tue, 12 Nov 2013 15:37:55 +0000 (16:37 +0100)]
Close #19466: Clear the frames of daemon threads earlier during the Python
shutdown to call objects destructors. So "unclosed file" resource warnings are
now corretly emitted for daemon threads.
Andrew Kuchling [Tue, 12 Nov 2013 15:26:15 +0000 (10:26 -0500)]
Merge from 3.3
Andrew Kuchling [Tue, 12 Nov 2013 15:25:15 +0000 (10:25 -0500)]
Closes #12828: add docstring text noting this is an internal-only module
Andrew Kuchling [Tue, 12 Nov 2013 15:03:20 +0000 (10:03 -0500)]
Merge from 3.3
Andrew Kuchling [Tue, 12 Nov 2013 15:02:35 +0000 (10:02 -0500)]
Update e-mail address
Tim Golden [Tue, 12 Nov 2013 13:33:17 +0000 (13:33 +0000)]
Issue #13674 Null merge with 3.3
Tim Golden [Tue, 12 Nov 2013 13:24:03 +0000 (13:24 +0000)]
Issue #13674 Updated NEWS
Tim Golden [Tue, 12 Nov 2013 13:22:39 +0000 (13:22 +0000)]
Issue #13674 Updated NEWS
Tim Golden [Tue, 12 Nov 2013 12:51:37 +0000 (12:51 +0000)]
Remove mis-merged artefact
Tim Golden [Tue, 12 Nov 2013 12:48:20 +0000 (12:48 +0000)]
Issue13674 Correct crash with strftime %y format under Windows
Tim Golden [Tue, 12 Nov 2013 12:36:54 +0000 (12:36 +0000)]
Issue13674 Correct crash with strftime %y format under Windows
Zachary Ware [Tue, 12 Nov 2013 04:59:23 +0000 (22:59 -0600)]
Issue #19440: Clean up test_capi
Zachary Ware [Tue, 12 Nov 2013 04:47:04 +0000 (22:47 -0600)]
Issue #19440: Clean up test_capi
Zachary Ware [Tue, 12 Nov 2013 04:44:03 +0000 (22:44 -0600)]
Null merge
Zachary Ware [Tue, 12 Nov 2013 04:30:47 +0000 (22:30 -0600)]
Correct a merge error in Misc/NEWS
Andrew Kuchling [Mon, 11 Nov 2013 19:50:13 +0000 (14:50 -0500)]
#15422: remove NEWS item for a change that was later reverted
Andrew Kuchling [Mon, 11 Nov 2013 19:03:23 +0000 (14:03 -0500)]
Closes #6683: add a test that exercises multiple authentication.
The SMTP server advertises four different authentication methods, and
the code will try CRAM-MD5 first, which will fail, but LOGIN succeeds.
Tim Golden [Mon, 11 Nov 2013 15:08:40 +0000 (15:08 +0000)]
Remove outdated comment
Tim Golden [Mon, 11 Nov 2013 15:08:04 +0000 (15:08 +0000)]
Remove outdated comment
Nick Coghlan [Mon, 11 Nov 2013 12:11:55 +0000 (22:11 +1000)]
Close #19406: Initial implementation of ensurepip
Patch by Donald Stufft and Nick Coghlan
Kristjan Valur Jonsson [Mon, 11 Nov 2013 11:29:04 +0000 (11:29 +0000)]
Issue #8799: Reduce timing sensitivity of condition test by explicitly
delaying the main thread so that it doesn't race ahead of the workers.
Serhiy Storchaka [Mon, 11 Nov 2013 05:47:35 +0000 (07:47 +0200)]
Fixed compile error on Windows caused by arithmetic with void * pointers
(issue #16685).
Andrew Kuchling [Mon, 11 Nov 2013 02:46:02 +0000 (21:46 -0500)]
#
1097797 : add the original mapping file
Andrew Kuchling [Mon, 11 Nov 2013 02:45:24 +0000 (21:45 -0500)]
Fix some PEP8-formatting problems in the generated code
Jason R. Coombs [Mon, 11 Nov 2013 01:28:18 +0000 (20:28 -0500)]
Fix failing test incorrectly merged in
b1244046f37a
Jason R. Coombs [Sun, 10 Nov 2013 23:59:44 +0000 (18:59 -0500)]
Merge with 3.3 for Issue #19544 and Issue #6286. Merge is untested. I was unable to test due to
bab0cbf86835 .
Jason R. Coombs [Sun, 10 Nov 2013 23:50:10 +0000 (18:50 -0500)]
Issue #19544 and Issue #6286: Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2.
Jason R. Coombs [Sun, 10 Nov 2013 23:21:49 +0000 (18:21 -0500)]
Merge with 3.3 for Issue #19544 and Issue #7457
Jason R. Coombs [Sun, 10 Nov 2013 23:15:03 +0000 (18:15 -0500)]
Issue 19544 and Issue #7457: Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2.
Serhiy Storchaka [Sun, 10 Nov 2013 19:44:36 +0000 (21:44 +0200)]
Issue #16685: Added support for any bytes-like objects in the audioop module.
Removed support for strings.
Jason R. Coombs [Sun, 10 Nov 2013 19:13:44 +0000 (14:13 -0500)]
Update Misc/NEWS for Issue #7171
Serhiy Storchaka [Sun, 10 Nov 2013 19:05:38 +0000 (21:05 +0200)]
Merge heads
Serhiy Storchaka [Sun, 10 Nov 2013 19:02:53 +0000 (21:02 +0200)]
Issue #19261: Added support for writing 24-bit samples in the sunau module.
Jason R. Coombs [Sun, 10 Nov 2013 19:02:40 +0000 (14:02 -0500)]
Merge
Jason R. Coombs [Sun, 10 Nov 2013 19:02:04 +0000 (14:02 -0500)]
Normalize whitespace
Andrew Kuchling [Sun, 10 Nov 2013 18:47:57 +0000 (13:47 -0500)]
Add news entry for #
1097797 ; whitespace cleanup
Andrew Kuchling [Sun, 10 Nov 2013 18:44:30 +0000 (13:44 -0500)]
#
1097797 : Add CP273 codec, and exercise it in the test suite
Andrew Kuchling [Sun, 10 Nov 2013 18:43:47 +0000 (13:43 -0500)]
Ignore two constructed directories in Tools/unicode
Jason R. Coombs [Sun, 10 Nov 2013 18:43:22 +0000 (13:43 -0500)]
Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching implementation for Unix).
Serhiy Storchaka [Sat, 9 Nov 2013 21:15:52 +0000 (23:15 +0200)]
Issue #
1575020 : Fixed support of 24-bit wave files on big-endian platforms.
Serhiy Storchaka [Sat, 9 Nov 2013 21:12:06 +0000 (23:12 +0200)]
Issue #
1575020 : Fixed support of 24-bit wave files on big-endian platforms.
Serhiy Storchaka [Sat, 9 Nov 2013 19:17:37 +0000 (21:17 +0200)]
Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085).
Serhiy Storchaka [Sat, 9 Nov 2013 19:16:19 +0000 (21:16 +0200)]
Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085).
Stefan Krah [Fri, 8 Nov 2013 20:08:46 +0000 (21:08 +0100)]
Null merge.
Stefan Krah [Fri, 8 Nov 2013 19:37:01 +0000 (20:37 +0100)]
Merge.
Brett Cannon [Fri, 8 Nov 2013 19:27:42 +0000 (14:27 -0500)]
remove dead import
Brett Cannon [Fri, 8 Nov 2013 19:25:37 +0000 (14:25 -0500)]
Issue #16803: test.test_importlib.source now tests frozen and source code
Stefan Krah [Fri, 8 Nov 2013 19:18:09 +0000 (20:18 +0100)]
Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
Stefan Krah [Fri, 8 Nov 2013 19:18:09 +0000 (20:18 +0100)]
Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
Charles-François Natali [Fri, 8 Nov 2013 18:56:59 +0000 (19:56 +0100)]
Issue #18923: Update subprocess to use the new selectors module.
Brett Cannon [Fri, 8 Nov 2013 18:35:34 +0000 (13:35 -0500)]
Simplify test.test_importlib.__main__
Brett Cannon [Fri, 8 Nov 2013 18:34:59 +0000 (13:34 -0500)]
Issue #16803: test.test_importlib.import_ now tests frozen and source code
Stefan Krah [Fri, 8 Nov 2013 17:05:02 +0000 (18:05 +0100)]
Move PyErr_NoMemory() closer to the failure.
Stefan Krah [Fri, 8 Nov 2013 17:05:02 +0000 (18:05 +0100)]
Move PyErr_NoMemory() closer to the failure.
Stefan Krah [Fri, 8 Nov 2013 16:48:58 +0000 (17:48 +0100)]
Change style to match the surrounding code (no early returns).
Stefan Krah [Fri, 8 Nov 2013 16:48:58 +0000 (17:48 +0100)]
Change style to match the surrounding code (no early returns).
Brett Cannon [Fri, 8 Nov 2013 16:10:41 +0000 (11:10 -0500)]
Issue #16803: test.test_importlib.frozen now runs both frozen and source code
Victor Stinner [Fri, 8 Nov 2013 13:07:11 +0000 (14:07 +0100)]
Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the
stable ABI
Victor Stinner [Thu, 7 Nov 2013 23:50:58 +0000 (00:50 +0100)]
Issue #19437: Fix datetime_subtract(), handle new_delta() failure
Victor Stinner [Thu, 7 Nov 2013 23:29:41 +0000 (00:29 +0100)]
Issue #19437: Fix _io._IOBase.close(), handle _PyObject_SetAttrId() failure
Victor Stinner [Thu, 7 Nov 2013 22:56:10 +0000 (23:56 +0100)]
Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc()
failure
Victor Stinner [Thu, 7 Nov 2013 22:12:23 +0000 (23:12 +0100)]
_Py_normalize_encoding(): explain how the value 6 was computed
Victor Stinner [Thu, 7 Nov 2013 22:07:29 +0000 (23:07 +0100)]
Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used.
Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
Victor Stinner [Thu, 7 Nov 2013 21:22:39 +0000 (22:22 +0100)]
frameobject.c: Use an identifer instead of creating explicitly an interned
string for "__builtins__" literal string
Victor Stinner [Thu, 7 Nov 2013 21:05:48 +0000 (22:05 +0100)]
C API doc: try to group concrete objects
Victor Stinner [Thu, 7 Nov 2013 20:50:55 +0000 (21:50 +0100)]
Issue #19514: Add Andrei Dorian Duma to Misc/ACKS for changeset
4a09cc62419b
Victor Stinner [Thu, 7 Nov 2013 12:33:36 +0000 (13:33 +0100)]
Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8"
if the input string is NULL
Martin v. Löwis [Thu, 7 Nov 2013 17:46:53 +0000 (18:46 +0100)]
Issue #19514: Deduplicate some _Py_IDENTIFIER declarations.
Patch by Andrei Dorian Duma.
Guido van Rossum [Thu, 7 Nov 2013 17:25:36 +0000 (09:25 -0800)]
Remove redundant test_selectors.py from test_asyncio.
Ezio Melotti [Thu, 7 Nov 2013 17:18:34 +0000 (19:18 +0200)]
#17080: improve error message of float/complex when the wrong type is passed.
Guido van Rossum [Thu, 7 Nov 2013 16:39:28 +0000 (08:39 -0800)]
Optimize BaseSelector.modify(). Patch by Arnaud Faure.
Ezio Melotti [Thu, 7 Nov 2013 16:35:27 +0000 (18:35 +0200)]
#19480: merge with 3.3.
Ezio Melotti [Thu, 7 Nov 2013 16:33:24 +0000 (18:33 +0200)]
#19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
R David Murray [Thu, 7 Nov 2013 15:51:41 +0000 (10:51 -0500)]
Merge #18985: Improve fcntl documentation.
R David Murray [Thu, 7 Nov 2013 15:51:07 +0000 (10:51 -0500)]
#18985: Improve fcntl documentation.
Original patch by Vajrasky Kok, further improved (I hope) by me.
Victor Stinner [Thu, 7 Nov 2013 11:37:56 +0000 (12:37 +0100)]
print_error_text() doesn't encode the filename anymore
Use aslo PyUnicode_FromFormat() to format the line so only one call to
PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has
similar implementation.
Guido van Rossum [Thu, 7 Nov 2013 04:25:50 +0000 (20:25 -0800)]
asyncio: Add close() back to Unix selector event loop, to remove all signal handlers. Should fix buildbot issues.
Victor Stinner [Wed, 6 Nov 2013 23:53:56 +0000 (00:53 +0100)]
remove an outdated comment
The comment is meaningless since changeset
4e985a96a612 .
Victor Stinner [Wed, 6 Nov 2013 23:43:05 +0000 (00:43 +0100)]
Issue #19512: Use the new _PyId_builtins identifier
Victor Stinner [Wed, 6 Nov 2013 23:46:04 +0000 (00:46 +0100)]
Issue #19512: add _PyUnicode_CompareWithId() function
_PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString()
when both strings are equal and interned.
Add also _PyId_builtins identifier for "builtins" common string.
Victor Stinner [Wed, 6 Nov 2013 23:12:30 +0000 (00:12 +0100)]
print_exception(): don't encode the module name to UTF-8
Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
Victor Stinner [Wed, 6 Nov 2013 23:01:51 +0000 (00:01 +0100)]
Issue #19512: builtin print() function uses an identifier instead of literal
string "flush" to call the flush method
Victor Stinner [Wed, 6 Nov 2013 22:52:55 +0000 (23:52 +0100)]
Issue #19512: _count_elements() of _collections reuses PyId_get identifier
instead of literal "get" string
Victor Stinner [Wed, 6 Nov 2013 22:50:10 +0000 (23:50 +0100)]
Issue #19512: fileio_init() reuses PyId_name identifier instead of "name"
literal string