]> granicus.if.org Git - python/log
python
10 years agoasyncio.tasks: Fix as_completed, gather & wait to work with duplicate coroutines
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

10 years agoClose issue20534: test_enum now tests all supported pickle protocols (2 - HIGHEST_PRO...
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).

10 years agoNull merge
Serhiy Storchaka [Thu, 6 Feb 2014 22:29:03 +0000 (00:29 +0200)]
Null merge

10 years agoSilence BytesWarning (backport 267a4d4d9d65).
Serhiy Storchaka [Thu, 6 Feb 2014 22:26:57 +0000 (00:26 +0200)]
Silence BytesWarning (backport 267a4d4d9d65).

10 years agoIssue #3158: Provide a couple of fallbacks for in case a method_descriptor
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__.

10 years agoIssue #20363. Fixed BytesWarning triggerred by test suite.
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.

10 years agoIssue #20363. Fixed BytesWarning triggerred by test suite.
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.

10 years agoCatch deprecation warnings emitted when non-integers are formatted with %c, %o
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).

10 years agoFix empty strings to empty bytes objects.
Serhiy Storchaka [Thu, 6 Feb 2014 19:11:33 +0000 (21:11 +0200)]
Fix empty strings to empty bytes objects.

10 years agoFix 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.

10 years agoasyncio.tasks.gather: Fix docstring
Yury Selivanov [Thu, 6 Feb 2014 17:03:53 +0000 (12:03 -0500)]
asyncio.tasks.gather: Fix docstring

10 years agoClose issue20412: Updated Enum docs to have referencable Enum and IntEnum classes
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

10 years agoMerge for issue #20488
Brett Cannon [Thu, 6 Feb 2014 14:49:53 +0000 (09:49 -0500)]
Merge for issue #20488

10 years agoIssue #20488: Update docs to say importlib is *the* implementaiton of
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.

10 years agoIssue #6386: When executing a script that's a symlink, the directory
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.

10 years agoIssue #14455: fix handling of unsigned long long values for binary plist files
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.

10 years agoIssue #20520: Fixed readline test in test_codecs.
Serhiy Storchaka [Thu, 6 Feb 2014 07:27:28 +0000 (09:27 +0200)]
Issue #20520: Fixed readline test in test_codecs.

10 years agoIssue #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.

10 years agomerge heads
Yury Selivanov [Thu, 6 Feb 2014 05:18:48 +0000 (00:18 -0500)]
merge heads

10 years agoasyncio.streams.StreamReader: Add 'at_eof()' method
Yury Selivanov [Thu, 6 Feb 2014 05:14:30 +0000 (00:14 -0500)]
asyncio.streams.StreamReader: Add 'at_eof()' method

10 years agoIssue #20374: merge
Ned Deily [Thu, 6 Feb 2014 01:03:42 +0000 (17:03 -0800)]
Issue #20374: merge

10 years agoIssue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 01:02:29 +0000 (17:02 -0800)]
Issue #20374: delete spurious empty line

10 years agoIssue #20374: merge
Ned Deily [Thu, 6 Feb 2014 00:55:20 +0000 (16:55 -0800)]
Issue #20374: merge

10 years agoIssue #20374: Avoid compiler warnings when compiling readline with libedit.
Ned Deily [Thu, 6 Feb 2014 00:53:10 +0000 (16:53 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.

10 years agoasyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data
Yury Selivanov [Wed, 5 Feb 2014 23:11:13 +0000 (18:11 -0500)]
asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data

10 years ago#14515: clarify that TemporaryDirectory's __enter__ returns the name.
R David Murray [Wed, 5 Feb 2014 19:56:39 +0000 (14:56 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.

10 years ago#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.

10 years agoIssue #19920: TarFile.list() no longer fails when outputs a listing
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.

10 years agoIssue #19920: TarFile.list() no longer fails when outputs a listing
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.

10 years agoTestNamedTuple.test_pickle was only testing through protocol 2. Changed to have it...
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.

10 years agoIssue #20053: new test to check an assumption
Nick Coghlan [Wed, 5 Feb 2014 13:54:55 +0000 (23:54 +1000)]
Issue #20053: new test to check an assumption

10 years agoIssue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
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.

10 years agoIssue #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.

10 years agoIssue #20489: Explicitly qualified expressions for default values in methods.
Serhiy Storchaka [Wed, 5 Feb 2014 11:34:01 +0000 (13:34 +0200)]
Issue #20489: Explicitly qualified expressions for default values in methods.

10 years agoIssue #20465: Update SQLite shipped with OS X installer to 3.8.3.
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.

10 years agoIssue #20515: Fix NULL pointer dereference introduced by issue #20368
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

10 years agoIssue #20515: Fix NULL pointer dereference introduced by issue #20368
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

10 years agoasyncio: Cosmetic improvement to test__run_once_logging() mock argument.
Guido van Rossum [Tue, 4 Feb 2014 22:27:14 +0000 (14:27 -0800)]
asyncio: Cosmetic improvement to test__run_once_logging() mock argument.

10 years agoAdd missing word ("thread") to sentence about call_soon_threadsafe.
Guido van Rossum [Tue, 4 Feb 2014 21:49:34 +0000 (13:49 -0800)]
Add missing word ("thread") to sentence about call_soon_threadsafe.

10 years agoasyncio doc: add an example to schedule a coroutine from a different thread
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

10 years agoCloses #20509: Merged documentation update from 3.3.
Vinay Sajip [Tue, 4 Feb 2014 16:42:04 +0000 (16:42 +0000)]
Closes #20509: Merged documentation update from 3.3.

10 years agoIssue #20509: Added cross-reference in documentation.
Vinay Sajip [Tue, 4 Feb 2014 16:28:07 +0000 (16:28 +0000)]
Issue #20509: Added cross-reference in documentation.

10 years agomerge 3.3 (#19186)
Benjamin Peterson [Tue, 4 Feb 2014 15:12:18 +0000 (10:12 -0500)]
merge 3.3 (#19186)

10 years agorestore namespacing of pyexpat symbols (closes #19186)
Benjamin Peterson [Tue, 4 Feb 2014 15:10:55 +0000 (10:10 -0500)]
restore namespacing of pyexpat symbols (closes #19186)

10 years agoClose #20053: ignore default pip config settings
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.

10 years agoClose #20404: blacklist non-text encodings in io.TextIOWrapper
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.

11 years agoIssue #17162: Fix compilation, replace non-breaking space with an ASCII space
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

11 years agoIssue #17162: Add PyType_GetSlot.
Martin v. Löwis [Tue, 4 Feb 2014 08:33:05 +0000 (09:33 +0100)]
Issue #17162: Add PyType_GetSlot.

11 years agoasyncio: Fix _ProactorWritePipeTransport._pipe_closed()
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.

11 years agoOops, undo unwanted changes in test_asyncio: mistakes of my the last sync with
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)

11 years agoasyncio doc: add an example of asyncio.subprocess with communicate() and wait()
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()

11 years agoasyncio.subprocess: Replace Process.get_subprocess() method with a
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

11 years agoIssue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
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+.

11 years agoIssue #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+.

11 years agoSkip expr* tests for large integers for Tcl <8.5.
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.

11 years agoSkip expr* tests for large integers for 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.

11 years agoIssue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output...
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.

11 years agoIssue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output...
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.

11 years agoMerge heads
Serhiy Storchaka [Mon, 3 Feb 2014 19:36:17 +0000 (21:36 +0200)]
Merge heads

11 years agoIssue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:34:14 +0000 (21:34 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.

11 years agoIssue #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.

11 years agoIssue #20368: The null character now correctly passed from Tcl to Python.
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.

11 years agoIssue #20368: The null character now correctly passed from Tcl to Python.
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.

11 years agoremove extra backtick
Benjamin Peterson [Mon, 3 Feb 2014 19:08:00 +0000 (14:08 -0500)]
remove extra backtick

11 years agoIssue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
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().

11 years agoIssue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
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().

11 years agoremove code which does nothing but cause refleaks
Benjamin Peterson [Mon, 3 Feb 2014 14:35:08 +0000 (09:35 -0500)]
remove code which does nothing but cause refleaks

11 years agoMerge from 3.3
Andrew Kuchling [Mon, 3 Feb 2014 14:20:22 +0000 (09:20 -0500)]
Merge from 3.3

11 years agoUse different word
Andrew Kuchling [Mon, 3 Feb 2014 14:04:02 +0000 (09:04 -0500)]
Use different word

11 years agoMerged documentation update from 3.3.
Vinay Sajip [Mon, 3 Feb 2014 11:52:24 +0000 (11:52 +0000)]
Merged documentation update from 3.3.

11 years agoAdded cookbook entry on logging filter configuration using dictConfig().
Vinay Sajip [Mon, 3 Feb 2014 11:51:45 +0000 (11:51 +0000)]
Added cookbook entry on logging filter configuration using dictConfig().

11 years agoinspect.signature: Add (restore) support for builtin classes #20473
Yury Selivanov [Mon, 3 Feb 2014 07:46:07 +0000 (02:46 -0500)]
inspect.signature: Add (restore) support for builtin classes #20473

11 years agowhatsnew: read/write on closed SSL socket exception has changed.
R David Murray [Mon, 3 Feb 2014 06:33:39 +0000 (01:33 -0500)]
whatsnew: read/write on closed SSL socket exception has changed.

11 years agowhatsnew: html.escape 10x faster, _gestalt module gone.
R David Murray [Mon, 3 Feb 2014 06:14:03 +0000 (01:14 -0500)]
whatsnew: html.escape 10x faster, _gestalt module gone.

11 years agoIssue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it
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.

11 years agoIssue #20472: test_asyncio: skip PTY tests on Mac OS X older than 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

11 years agoIssue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation...
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.

11 years agoIssue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation...
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.

11 years agoIssue #19990: Install test/imghdrdata.
Ned Deily [Sun, 2 Feb 2014 22:00:39 +0000 (14:00 -0800)]
Issue #19990: Install test/imghdrdata.

11 years agoIssue #19990: Install test/imghdrdata.
Ned Deily [Sun, 2 Feb 2014 21:59:49 +0000 (13:59 -0800)]
Issue #19990: Install test/imghdrdata.

11 years agoIssue #20423: fix documentation of io.StringIO's newline parameter
Antoine Pitrou [Sun, 2 Feb 2014 21:49:03 +0000 (22:49 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter

11 years agoIssue #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

11 years agoasyncio: document the new asyncio.subprocess module
Victor Stinner [Sun, 2 Feb 2014 21:43:39 +0000 (22:43 +0100)]
asyncio: document the new asyncio.subprocess module

11 years agoIssue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
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.

11 years agoIssue #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.

11 years agomerge 3.3 (#20102)
Benjamin Peterson [Sun, 2 Feb 2014 20:31:07 +0000 (15:31 -0500)]
merge 3.3 (#20102)

11 years agouse with statement to ensure zipfile is always closed (closes #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)

11 years agowhatsnew: hmac accepts more bytes types, importlib decode_source, stat in C.
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.

11 years agowhatsnew: -m <namespace package>, plus 'using' doc updates.
R David Murray [Sun, 2 Feb 2014 17:19:57 +0000 (12:19 -0500)]
whatsnew: -m <namespace package>, plus 'using' doc updates.

11 years agoinspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'
Yury Selivanov [Sun, 2 Feb 2014 17:51:20 +0000 (12:51 -0500)]
inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'

11 years agowhatsnew: some more importlib replacements for imp functions.
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.

11 years agowhatsnew: filecmp.clear_cache, and reword description of cache in docs.
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.

11 years agowhatsnew: fix importlib.reload entry.
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.

11 years agoasyncio doc: add "asyncio-" prefix to references
Victor Stinner [Sun, 2 Feb 2014 14:03:02 +0000 (15:03 +0100)]
asyncio doc: add "asyncio-" prefix to references

11 years agoUpdate the python.gif icon for the Idle classbrowser and pathbowser
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.

11 years agoUpdate the python.gif icon for the Idle classbrowser and pathbowser
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.

11 years agoIssue #20400: Merge Tulip into Python: add the new asyncio.subprocess module
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)

11 years ago#20288: merge with 3.3.
Ezio Melotti [Sat, 1 Feb 2014 19:22:26 +0000 (21:22 +0200)]
#20288: merge with 3.3.

11 years ago#20288: fix handling of invalid numeric charrefs in HTMLParser.
Ezio Melotti [Sat, 1 Feb 2014 19:21:01 +0000 (21:21 +0200)]
#20288: fix handling of invalid numeric charrefs in HTMLParser.

11 years agoinspect.tests: Fix tests to work on python built with '--without-doc-strings' #20471
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