]>
granicus.if.org Git - python/log
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.
Antoine Pitrou [Sun, 2 Feb 2014 21:49:03 +0000 (22:49 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter
Antoine Pitrou [Sun, 2 Feb 2014 21:48:25 +0000 (22:48 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter
Victor Stinner [Sun, 2 Feb 2014 21:43:39 +0000 (22:43 +0100)]
asyncio: document the new asyncio.subprocess module
Serhiy Storchaka [Sun, 2 Feb 2014 21:05:10 +0000 (23:05 +0200)]
Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
Serhiy Storchaka [Sun, 2 Feb 2014 21:04:24 +0000 (23:04 +0200)]
Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
Benjamin Peterson [Sun, 2 Feb 2014 20:31:07 +0000 (15:31 -0500)]
merge 3.3 (#20102)
Benjamin Peterson [Sun, 2 Feb 2014 20:30:22 +0000 (15:30 -0500)]
use with statement to ensure zipfile is always closed (closes #20102)
R David Murray [Sun, 2 Feb 2014 17:50:48 +0000 (12:50 -0500)]
whatsnew: hmac accepts more bytes types, importlib decode_source, stat in C.
R David Murray [Sun, 2 Feb 2014 17:19:57 +0000 (12:19 -0500)]
whatsnew: -m <namespace package>, plus 'using' doc updates.
Yury Selivanov [Sun, 2 Feb 2014 17:51:20 +0000 (12:51 -0500)]
inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'
R David Murray [Sun, 2 Feb 2014 16:32:31 +0000 (11:32 -0500)]
whatsnew: some more importlib replacements for imp functions.
get_magic->util.MAGIC_NUMBER, source_from_cache, and cache_from_source.
R David Murray [Sun, 2 Feb 2014 16:11:01 +0000 (11:11 -0500)]
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
R David Murray [Sun, 2 Feb 2014 15:50:17 +0000 (10:50 -0500)]
whatsnew: fix importlib.reload entry.
Turns out I committed a work-in-progress entry because of a time
gap between when I wrote it and when I committed.
Victor Stinner [Sun, 2 Feb 2014 14:03:02 +0000 (15:03 +0100)]
asyncio doc: add "asyncio-" prefix to references
Terry Jan Reedy [Sun, 2 Feb 2014 04:14:59 +0000 (23:14 -0500)]
Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
Terry Jan Reedy [Sun, 2 Feb 2014 04:08:33 +0000 (23:08 -0500)]
Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
Victor Stinner [Sat, 1 Feb 2014 21:49:59 +0000 (22:49 +0100)]
Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module
* Add a new asyncio.subprocess module
* Add new create_subprocess_exec() and create_subprocess_shell() functions
* The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers
for stdout and stderr and a stream writer for stdin.
* The new asyncio.subprocess.Process class offers an API close to the
subprocess.Popen class:
- pid, returncode, stdin, stdout and stderr attributes
- communicate(), wait(), send_signal(), terminate() and kill() methods
* Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess
and unix_events, to not be confused with the symbols with the same name of
subprocess and asyncio.subprocess modules
* _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size
of the pending write
* _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if
the write buffer size is greater than the high water mark (64 KB by default)
Ezio Melotti [Sat, 1 Feb 2014 19:22:26 +0000 (21:22 +0200)]
#20288: merge with 3.3.
Ezio Melotti [Sat, 1 Feb 2014 19:21:01 +0000 (21:21 +0200)]
#20288: fix handling of invalid numeric charrefs in HTMLParser.
Yury Selivanov [Sat, 1 Feb 2014 18:49:29 +0000 (13:49 -0500)]
inspect.tests: Fix tests to work on python built with '--without-doc-strings' #20471