]>
granicus.if.org Git - python/log
Guido van Rossum [Sat, 8 Feb 2014 00:11:17 +0000 (16:11 -0800)]
More asyncio news.
Victor Stinner [Fri, 7 Feb 2014 22:34:58 +0000 (23:34 +0100)]
Issue #20505: Remove resolution and _granularity from selectors and asyncio
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
R David Murray [Fri, 7 Feb 2014 20:04:26 +0000 (15:04 -0500)]
Merge: #17369: Improve handling of broken RFC2231 values in get_filename.
R David Murray [Fri, 7 Feb 2014 20:02:19 +0000 (15:02 -0500)]
#17369: Improve handling of broken RFC2231 values in get_filename.
This fixes a regression relative to python2.
R David Murray [Fri, 7 Feb 2014 18:48:46 +0000 (13:48 -0500)]
Null merge of commit accidentally made to default branch first.
R David Murray [Fri, 7 Feb 2014 18:47:40 +0000 (13:47 -0500)]
#20013: don't raise socket error when selected mailbox deleted.
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
R David Murray [Fri, 7 Feb 2014 18:44:57 +0000 (13:44 -0500)]
#20013: don't raise socket error when selected mailbox deleted.
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
R David Murray [Fri, 7 Feb 2014 18:04:18 +0000 (13:04 -0500)]
Merge: #19063: the unicode-in-set_payload problem isn't getting fixed in 3.4.
R David Murray [Fri, 7 Feb 2014 18:03:08 +0000 (13:03 -0500)]
#19063: the unicode-in-set_payload problem isn't getting fixed in 3.4.
R David Murray [Fri, 7 Feb 2014 17:46:17 +0000 (12:46 -0500)]
#20531: Apply the 3.3 version of the #19063 fix.
So passing unicode to set_payload works again (but still doesn't
do what you want when the message is serialized).
R David Murray [Fri, 7 Feb 2014 17:40:37 +0000 (12:40 -0500)]
#20531: Revert
e20f98a8ed71 , the 3.4 version of the #19063 fix.
Victor Stinner [Fri, 7 Feb 2014 18:03:05 +0000 (19:03 +0100)]
asyncio doc: mention that asyncio is not thread-safe
Victor Stinner [Fri, 7 Feb 2014 16:53:13 +0000 (17:53 +0100)]
Issue #20505: add debug info
R David Murray [Fri, 7 Feb 2014 15:55:17 +0000 (10:55 -0500)]
#20477: add examples of using the new contentmanager API.
R David Murray [Fri, 7 Feb 2014 15:44:16 +0000 (10:44 -0500)]
#20476: use EmailMessage as factory if non-compat32 policy is used.
In 3.5 I will fix this right by adding a message_factory attribute
to the policy.
Nick Coghlan [Fri, 7 Feb 2014 13:46:38 +0000 (23:46 +1000)]
Issue #20053: Mark as an expected failure for 3.4
Nick Coghlan [Fri, 7 Feb 2014 13:34:41 +0000 (23:34 +1000)]
Issue 20542: Temporarily skip failing test
Nick Coghlan [Fri, 7 Feb 2014 12:28:18 +0000 (22:28 +1000)]
Issue #20053: Actually test relevant assumption
Serhiy Storchaka [Fri, 7 Feb 2014 08:10:55 +0000 (10:10 +0200)]
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka [Fri, 7 Feb 2014 08:06:39 +0000 (10:06 +0200)]
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Yury Selivanov [Fri, 7 Feb 2014 03:06:16 +0000 (22:06 -0500)]
asyncio.tasks: Fix as_completed, gather & wait to work with duplicate coroutines
Ethan Furman [Fri, 7 Feb 2014 01:28:50 +0000 (17:28 -0800)]
Close issue20534: test_enum now tests all supported pickle protocols (2 - HIGHEST_PROTOCOL, inclusive).
Serhiy Storchaka [Thu, 6 Feb 2014 22:29:03 +0000 (00:29 +0200)]
Null merge
Serhiy Storchaka [Thu, 6 Feb 2014 22:26:57 +0000 (00:26 +0200)]
Silence BytesWarning (backport
267a4d4d9d65 ).
Zachary Ware [Thu, 6 Feb 2014 21:46:38 +0000 (15:46 -0600)]
Issue #3158: Provide a couple of fallbacks for in case a method_descriptor
doesn't have __objclass__.
Serhiy Storchaka [Thu, 6 Feb 2014 20:52:23 +0000 (22:52 +0200)]
Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
Serhiy Storchaka [Thu, 6 Feb 2014 20:49:45 +0000 (22:49 +0200)]
Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
Serhiy Storchaka [Thu, 6 Feb 2014 20:44:27 +0000 (22:44 +0200)]
Catch deprecation warnings emitted when non-integers are formatted with %c, %o
and %x (introduced in issue #19995).
Serhiy Storchaka [Thu, 6 Feb 2014 19:11:33 +0000 (21:11 +0200)]
Fix empty strings to empty bytes objects.
Serhiy Storchaka [Thu, 6 Feb 2014 19:10:41 +0000 (21:10 +0200)]
Fix empty strings to empty bytes objects.
Yury Selivanov [Thu, 6 Feb 2014 17:03:53 +0000 (12:03 -0500)]
asyncio.tasks.gather: Fix docstring
Ethan Furman [Thu, 6 Feb 2014 16:13:14 +0000 (08:13 -0800)]
Close issue20412: Updated Enum docs to have referencable Enum and IntEnum classes
Brett Cannon [Thu, 6 Feb 2014 14:49:53 +0000 (09:49 -0500)]
Merge for issue #20488
Brett Cannon [Thu, 6 Feb 2014 14:46:08 +0000 (09:46 -0500)]
Issue #20488: Update docs to say importlib is *the* implementaiton of
import and not *an* implementation.
Brett Cannon [Thu, 6 Feb 2014 14:22:51 +0000 (09:22 -0500)]
Issue #6386: When executing a script that's a symlink, the directory
where the symlink resolves to is added to sys.path, not the directory
containing the symlink itself.
Thanks to Sanko Resic for an initial attempt at the patch.
Ronald Oussoren [Thu, 6 Feb 2014 10:19:18 +0000 (11:19 +0100)]
Issue #14455: fix handling of unsigned long long values for binary plist files
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.
Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.
The change to plistlib.py is from a patch by Serhiy.
Serhiy Storchaka [Thu, 6 Feb 2014 07:27:28 +0000 (09:27 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Serhiy Storchaka [Thu, 6 Feb 2014 07:26:56 +0000 (09:26 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Yury Selivanov [Thu, 6 Feb 2014 05:18:48 +0000 (00:18 -0500)]
merge heads
Yury Selivanov [Thu, 6 Feb 2014 05:14:30 +0000 (00:14 -0500)]
asyncio.streams.StreamReader: Add 'at_eof()' method
Ned Deily [Thu, 6 Feb 2014 01:03:42 +0000 (17:03 -0800)]
Issue #20374: merge
Ned Deily [Thu, 6 Feb 2014 01:02:29 +0000 (17:02 -0800)]
Issue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 00:55:20 +0000 (16:55 -0800)]
Issue #20374: merge
Ned Deily [Thu, 6 Feb 2014 00:53:10 +0000 (16:53 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
Yury Selivanov [Wed, 5 Feb 2014 23:11:13 +0000 (18:11 -0500)]
asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data
R David Murray [Wed, 5 Feb 2014 19:56:39 +0000 (14:56 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.
R David Murray [Wed, 5 Feb 2014 19:53:40 +0000 (14:53 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.
Serhiy Storchaka [Wed, 5 Feb 2014 18:54:43 +0000 (20:54 +0200)]
Issue #19920: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 5 Feb 2014 18:53:36 +0000 (20:53 +0200)]
Issue #19920: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
Eric V. Smith [Wed, 5 Feb 2014 15:33:14 +0000 (10:33 -0500)]
TestNamedTuple.test_pickle was only testing through protocol 2. Changed to have it automatically test through the most recent version.
Nick Coghlan [Wed, 5 Feb 2014 13:54:55 +0000 (23:54 +1000)]
Issue #20053: new test to check an assumption
Serhiy Storchaka [Wed, 5 Feb 2014 11:42:29 +0000 (13:42 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Serhiy Storchaka [Wed, 5 Feb 2014 11:42:01 +0000 (13:42 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Serhiy Storchaka [Wed, 5 Feb 2014 11:34:01 +0000 (13:34 +0200)]
Issue #20489: Explicitly qualified expressions for default values in methods.
Ned Deily [Wed, 5 Feb 2014 02:44:17 +0000 (18:44 -0800)]
Issue #20465: Update SQLite shipped with OS X installer to 3.8.3.
Christian Heimes [Tue, 4 Feb 2014 23:29:48 +0000 (00:29 +0100)]
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID
1167595
Christian Heimes [Tue, 4 Feb 2014 23:29:17 +0000 (00:29 +0100)]
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID
1167595
Guido van Rossum [Tue, 4 Feb 2014 22:27:14 +0000 (14:27 -0800)]
asyncio: Cosmetic improvement to test__run_once_logging() mock argument.
Guido van Rossum [Tue, 4 Feb 2014 21:49:34 +0000 (13:49 -0800)]
Add missing word ("thread") to sentence about call_soon_threadsafe.
Victor Stinner [Tue, 4 Feb 2014 17:18:27 +0000 (18:18 +0100)]
asyncio doc: add an example to schedule a coroutine from a different thread
Vinay Sajip [Tue, 4 Feb 2014 16:42:04 +0000 (16:42 +0000)]
Closes #20509: Merged documentation update from 3.3.
Vinay Sajip [Tue, 4 Feb 2014 16:28:07 +0000 (16:28 +0000)]
Issue #20509: Added cross-reference in documentation.
Benjamin Peterson [Tue, 4 Feb 2014 15:12:18 +0000 (10:12 -0500)]
merge 3.3 (#19186)
Benjamin Peterson [Tue, 4 Feb 2014 15:10:55 +0000 (10:10 -0500)]
restore namespacing of pyexpat symbols (closes #19186)
Nick Coghlan [Tue, 4 Feb 2014 13:02:36 +0000 (23:02 +1000)]
Close #20053: ignore default pip config settings
ensurepip now sets PIP_CONFIG_FILE to os.devnull before
import pip from the wheel file. This also ensures venv
ignores the default settings when bootstrapping pip.
Nick Coghlan [Tue, 4 Feb 2014 12:11:18 +0000 (22:11 +1000)]
Close #20404: blacklist non-text encodings in io.TextIOWrapper
- io.TextIOWrapper (and hence the open() builtin) now use the
internal codec marking system added for issue #19619
- also tweaked the C code to only look up the encoding once,
rather than multiple times
- the existing output type checks remain in place to deal with
unmarked third party codecs.
Victor Stinner [Tue, 4 Feb 2014 08:49:14 +0000 (09:49 +0100)]
Issue #17162: Fix compilation, replace non-breaking space with an ASCII space
Martin v. Löwis [Tue, 4 Feb 2014 08:33:05 +0000 (09:33 +0100)]
Issue #17162: Add PyType_GetSlot.
Victor Stinner [Tue, 4 Feb 2014 07:57:48 +0000 (08:57 +0100)]
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()
Do nothing if the pipe is already closed. _loop_writing() may call
_force_close() when it gets ConnectionResetError.
Victor Stinner [Mon, 3 Feb 2014 22:59:52 +0000 (23:59 +0100)]
Oops, undo unwanted changes in test_asyncio: mistakes of my the last sync with
Tulip (changeset
d7ac90c0463a )
Victor Stinner [Mon, 3 Feb 2014 22:26:28 +0000 (23:26 +0100)]
asyncio doc: add an example of asyncio.subprocess with communicate() and wait()
Victor Stinner [Mon, 3 Feb 2014 22:08:14 +0000 (23:08 +0100)]
asyncio.subprocess: Replace Process.get_subprocess() method with a
Process.subprocess read-only property
Ned Deily [Mon, 3 Feb 2014 22:02:26 +0000 (14:02 -0800)]
Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
Ned Deily [Mon, 3 Feb 2014 21:58:31 +0000 (13:58 -0800)]
Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
Serhiy Storchaka [Mon, 3 Feb 2014 20:32:00 +0000 (22:32 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Serhiy Storchaka [Mon, 3 Feb 2014 20:31:09 +0000 (22:31 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Antoine Pitrou [Mon, 3 Feb 2014 20:01:35 +0000 (21:01 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Antoine Pitrou [Mon, 3 Feb 2014 19:59:59 +0000 (20:59 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Serhiy Storchaka [Mon, 3 Feb 2014 19:36:17 +0000 (21:36 +0200)]
Merge heads
Serhiy Storchaka [Mon, 3 Feb 2014 19:34:14 +0000 (21:34 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:33:33 +0000 (21:33 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:25:56 +0000 (21:25 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
Serhiy Storchaka [Mon, 3 Feb 2014 19:24:07 +0000 (21:24 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
Benjamin Peterson [Mon, 3 Feb 2014 19:08:00 +0000 (14:08 -0500)]
remove extra backtick
Serhiy Storchaka [Mon, 3 Feb 2014 18:46:14 +0000 (20:46 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Serhiy Storchaka [Mon, 3 Feb 2014 18:41:34 +0000 (20:41 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Benjamin Peterson [Mon, 3 Feb 2014 14:35:08 +0000 (09:35 -0500)]
remove code which does nothing but cause refleaks
Andrew Kuchling [Mon, 3 Feb 2014 14:20:22 +0000 (09:20 -0500)]
Merge from 3.3
Andrew Kuchling [Mon, 3 Feb 2014 14:04:02 +0000 (09:04 -0500)]
Use different word
Vinay Sajip [Mon, 3 Feb 2014 11:52:24 +0000 (11:52 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Mon, 3 Feb 2014 11:51:45 +0000 (11:51 +0000)]
Added cookbook entry on logging filter configuration using dictConfig().
Yury Selivanov [Mon, 3 Feb 2014 07:46:07 +0000 (02:46 -0500)]
inspect.signature: Add (restore) support for builtin classes #20473
R David Murray [Mon, 3 Feb 2014 06:33:39 +0000 (01:33 -0500)]
whatsnew: read/write on closed SSL socket exception has changed.
R David Murray [Mon, 3 Feb 2014 06:14:03 +0000 (01:14 -0500)]
whatsnew: html.escape 10x faster, _gestalt module gone.
Victor Stinner [Sun, 2 Feb 2014 23:35:46 +0000 (00:35 +0100)]
Issue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it
requires at least Mac OS X 10.6.
Victor Stinner [Sun, 2 Feb 2014 23:32:13 +0000 (00:32 +0100)]
Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6
Antoine Pitrou [Sun, 2 Feb 2014 22:38:48 +0000 (23:38 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Antoine Pitrou [Sun, 2 Feb 2014 22:37:29 +0000 (23:37 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Ned Deily [Sun, 2 Feb 2014 22:00:39 +0000 (14:00 -0800)]
Issue #19990: Install test/imghdrdata.
Ned Deily [Sun, 2 Feb 2014 21:59:49 +0000 (13:59 -0800)]
Issue #19990: Install test/imghdrdata.