]> granicus.if.org Git - python/log
python
10 years agoMerge in all documentation changes since branching 3.4.0rc1.
Larry Hastings [Sun, 16 Mar 2014 04:13:56 +0000 (21:13 -0700)]
Merge in all documentation changes since branching 3.4.0rc1.

10 years agoIssue #20939: merge from 3.3
Ned Deily [Sat, 15 Mar 2014 20:19:20 +0000 (13:19 -0700)]
Issue #20939: merge from 3.3

10 years agowhatsnew: difflib.isbjunk &c were removed, not deprecated.
R David Murray [Fri, 14 Mar 2014 01:34:54 +0000 (21:34 -0400)]
whatsnew: difflib.isbjunk &c were removed, not deprecated.

Also move NEWS item to correct position (it was in 3.3).

10 years agomerge 3.3 (#19060)
Benjamin Peterson [Thu, 13 Mar 2014 02:42:04 +0000 (21:42 -0500)]
merge 3.3 (#19060)

10 years agomerge 3.3 (#20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:10:57 +0000 (18:10 -0500)]
merge 3.3 (#20896)

10 years agowhatsnew: cp273 codec (#10907797)
R David Murray [Sat, 8 Mar 2014 02:00:34 +0000 (21:00 -0500)]
whatsnew: cp273 codec (#10907797)

Also updated the docs and added the aliases mentioned by the
references.

10 years agoMark branch as being after Python 3.4.0rc3.
Larry Hastings [Sun, 16 Mar 2014 03:57:42 +0000 (20:57 -0700)]
Mark branch as being after Python 3.4.0rc3.

10 years agoAdded tag v3.4.0rc3 for changeset 8a81cdab3e9d
Larry Hastings [Sun, 9 Mar 2014 11:13:25 +0000 (04:13 -0700)]
Added tag v3.4.0rc3 for changeset 8a81cdab3e9d

10 years agoVersion bump for 3.4.0rc3. v3.4.0rc3
Larry Hastings [Sun, 9 Mar 2014 11:13:05 +0000 (04:13 -0700)]
Version bump for 3.4.0rc3.

10 years agoUpdate pydoc topics and suspicious filters.
Larry Hastings [Sun, 9 Mar 2014 11:12:12 +0000 (04:12 -0700)]
Update pydoc topics and suspicious filters.

10 years agoClose #20839: pkgutil.find_loader now uses importlib.util.find_spec
Nick Coghlan [Tue, 4 Mar 2014 10:39:42 +0000 (20:39 +1000)]
Close #20839: pkgutil.find_loader now uses importlib.util.find_spec

10 years agoIssue20653: fix ReST for Enum
Ethan Furman [Mon, 3 Mar 2014 23:02:04 +0000 (15:02 -0800)]
Issue20653: fix ReST for Enum

10 years agoClose issue20653: improve functional API docs; minor code changes
Ethan Furman [Mon, 3 Mar 2014 20:42:52 +0000 (12:42 -0800)]
Close issue20653: improve functional API docs; minor code changes

10 years agoClose #20814: doc: Fix "Pretty top" example of tracemalloc
Victor Stinner [Mon, 3 Mar 2014 10:57:57 +0000 (11:57 +0100)]
Close #20814: doc: Fix "Pretty top" example of tracemalloc

10 years agoIssue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
Martin v. Löwis [Sun, 2 Mar 2014 19:29:18 +0000 (20:29 +0100)]
Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.

10 years agoIssue #20465: Update Windows installer to SQLite 3.8.3.1.
Martin v. Löwis [Sun, 2 Mar 2014 18:42:50 +0000 (19:42 +0100)]
Issue #20465: Update Windows installer to SQLite 3.8.3.1.

10 years ago Issue #20748: Uninstalling pip does not leave behind the pyc of
Martin v. Löwis [Sun, 2 Mar 2014 18:29:19 +0000 (19:29 +0100)]
 Issue #20748: Uninstalling pip does not leave behind the pyc of
 the uninstaller anymore.

10 years agoIssue #20568: Fix typo in pip option.
Martin v. Löwis [Sun, 2 Mar 2014 18:15:47 +0000 (19:15 +0100)]
Issue #20568: Fix typo in pip option.

10 years agoIssue #20786: Fix signatures for dict.__delitem__ and property.__delete__
Yury Selivanov [Sun, 2 Mar 2014 17:25:27 +0000 (12:25 -0500)]
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__

10 years agoIssue #20465: fix NEWS typo (it's 3.8.3.1)
Ned Deily [Sat, 1 Mar 2014 22:04:48 +0000 (14:04 -0800)]
Issue #20465: fix NEWS typo (it's 3.8.3.1)

10 years agoIssue #20465: Update OS X installer build to use SQLite 3.8.0.1.
Ned Deily [Sat, 1 Mar 2014 22:00:46 +0000 (14:00 -0800)]
Issue #20465: Update OS X installer build to use SQLite 3.8.0.1.

10 years agoClose #20568: install unversioned pip command on Windows
Nick Coghlan [Fri, 28 Feb 2014 13:37:35 +0000 (23:37 +1000)]
Close #20568: install unversioned pip command on Windows

10 years agoClose #20757: return success for skipped pip uninstall
Nick Coghlan [Fri, 28 Feb 2014 13:35:05 +0000 (23:35 +1000)]
Close #20757: return success for skipped pip uninstall

The 3.4rc2 Windows uninstaller would fail if pip had been updated
to a version that didn't match the version installed by ensurepip.
This skip is no longer treated as an error, so an updated pip ends
up being handled like any other pip installed package and is left
alone by the CPython uninstaller.

10 years agoIssue #20763: Fix importlib.machinery.PathFinder to support
Brett Cannon [Wed, 26 Feb 2014 23:26:49 +0000 (18:26 -0500)]
Issue #20763: Fix importlib.machinery.PathFinder to support
PathEntryFinder instances which only define find_module().

Reported by Yukihiro Nakadaira.

10 years agoIssue #20599: Don't clear environment in test_cleanup() of test_builtin
Victor Stinner [Thu, 13 Feb 2014 09:54:32 +0000 (10:54 +0100)]
Issue #20599: Don't clear environment in test_cleanup() of test_builtin

10 years agoIssue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
Victor Stinner [Wed, 12 Feb 2014 17:27:55 +0000 (18:27 +0100)]
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin

On Windows, the codec of sys.stdout is implemented in Python. At exit, the
codec may be unloaded before the destructor tries to write something to
sys.stdout.

10 years agoTry to fix test_cleanup (issue #20599).
Serhiy Storchaka [Wed, 12 Feb 2014 10:40:22 +0000 (12:40 +0200)]
Try to fix test_cleanup (issue #20599).

10 years agoIssue #19255: Clear error after failed PyDict_SetItem() on shutdown.
Serhiy Storchaka [Wed, 12 Feb 2014 07:55:45 +0000 (09:55 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.

10 years agoTemporary silence test broken by issue19255.
Serhiy Storchaka [Mon, 10 Feb 2014 17:09:19 +0000 (19:09 +0200)]
Temporary silence test broken by issue19255.
Remove unused variables.

10 years agoIssue #19255: The builtins module is restored to initial value before
Serhiy Storchaka [Mon, 10 Feb 2014 16:21:34 +0000 (18:21 +0200)]
Issue #19255: The builtins module is restored to initial value before
cleaning other modules.  The sys and builtins modules are cleaned last.

10 years agoAdded tag v3.4.0rc2 for changeset a300712ed38c
Larry Hastings [Sun, 23 Feb 2014 08:18:41 +0000 (02:18 -0600)]
Added tag v3.4.0rc2 for changeset a300712ed38c

10 years agoVersion bump for Python 3.4.0rc2. v3.4.0rc2
Larry Hastings [Sun, 23 Feb 2014 08:18:24 +0000 (02:18 -0600)]
Version bump for Python 3.4.0rc2.

10 years agoRegenerated pydoc topics for Python 3.4.0rc2.
Larry Hastings [Sun, 23 Feb 2014 08:16:46 +0000 (02:16 -0600)]
Regenerated pydoc topics for Python 3.4.0rc2.

10 years agoIssue #20641: Run custom actions with the NoImpersonate flag to support UAC.
Martin v. Löwis [Sat, 22 Feb 2014 22:44:20 +0000 (23:44 +0100)]
Issue #20641: Run custom actions with the NoImpersonate flag to support UAC.

10 years agoIssue #20484: Disable the 2 remaining "modules" tests in test_pydoc.
Eric Snow [Sat, 22 Feb 2014 20:57:08 +0000 (13:57 -0700)]
Issue #20484: Disable the 2 remaining "modules" tests in test_pydoc.

I'll look into re-enabling them in issue #20128.

10 years agowhatsnew: importlib deprecations.
R David Murray [Sat, 22 Feb 2014 19:28:46 +0000 (14:28 -0500)]
whatsnew: importlib deprecations.

This addresses issue #20199, if I got it right.  The deprecation and
replacement lists are based on the importlib documentation.

10 years agoinspect.signature: Check for function-like objects before builtins. Issue #17159
Yury Selivanov [Fri, 21 Feb 2014 23:30:53 +0000 (18:30 -0500)]
inspect.signature: Check for function-like objects before builtins. Issue #17159

10 years agoUpgrade pip from 1.5.3 to 1.5.4
Donald Stufft [Fri, 21 Feb 2014 12:42:39 +0000 (07:42 -0500)]
Upgrade pip from 1.5.3 to 1.5.4

10 years agoIssue #20710: The pydoc summary line no longer displays the "self" parameter
Larry Hastings [Fri, 21 Feb 2014 07:34:46 +0000 (23:34 -0800)]
Issue #20710: The pydoc summary line no longer displays the "self" parameter
for bound methods.  Previous to this change, it displayed "self" for methods
implemented in Python but not methods implemented in C; it is now both
internally consistent and consistent with inspect.Signature.

10 years agoinspect: Fix getfullargspec to support builtin module-level functions. Issue #20711
Yury Selivanov [Fri, 21 Feb 2014 06:32:42 +0000 (01:32 -0500)]
inspect: Fix getfullargspec to support builtin module-level functions. Issue #20711

10 years agoUpgrade pip from 1.5.2 to 1.5.3
Donald Stufft [Fri, 21 Feb 2014 01:53:27 +0000 (20:53 -0500)]
Upgrade pip from 1.5.2 to 1.5.3

10 years agoasyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694.
Yury Selivanov [Fri, 21 Feb 2014 01:10:28 +0000 (20:10 -0500)]
asyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694.

10 years agoIssue #20221: Removed conflicting (or circular) hypot definition
Zachary Ware [Thu, 20 Feb 2014 21:39:29 +0000 (15:39 -0600)]
Issue #20221: Removed conflicting (or circular) hypot definition
when compiled with VS 2010 or above.  Initial patch by Tabrez Mohammed.

10 years agoasyncio.docs: Improve wordings; add a note to the Coroutines section. Issue #20706
Yury Selivanov [Thu, 20 Feb 2014 21:20:44 +0000 (16:20 -0500)]
asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue #20706

10 years agoasyncio: _check_resolved_address() must also accept IPv6 without flow_info and
Victor Stinner [Thu, 20 Feb 2014 20:59:38 +0000 (21:59 +0100)]
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and
scope_id: (host, port).

10 years agoasyncio.docs: Improve documentation of Streams. Issue #20696.
Yury Selivanov [Thu, 20 Feb 2014 19:10:02 +0000 (14:10 -0500)]
asyncio.docs: Improve documentation of Streams. Issue #20696.

10 years agoMisc/NEWS: Add some missing news items re asyncio.
Yury Selivanov [Thu, 20 Feb 2014 18:59:14 +0000 (13:59 -0500)]
Misc/NEWS: Add some missing news items re asyncio.

10 years agoasyncio: ops, and now fix also the unit test for IPv6 address:
Victor Stinner [Thu, 20 Feb 2014 16:01:11 +0000 (17:01 +0100)]
asyncio: ops, and now fix also the unit test for IPv6 address:
test_sock_connect_address()

10 years agoasyncio: Fix _check_resolved_address() for IPv6 address
Victor Stinner [Thu, 20 Feb 2014 15:43:09 +0000 (16:43 +0100)]
asyncio: Fix _check_resolved_address() for IPv6 address

10 years agoasyncio: remove unused imports and unused variables noticed by pyflakes
Victor Stinner [Thu, 20 Feb 2014 09:37:27 +0000 (10:37 +0100)]
asyncio: remove unused imports and unused variables noticed by pyflakes

10 years agoasyncio: Fix _ProactorWritePipeTransport._pipe_closed()
Victor Stinner [Thu, 20 Feb 2014 09:33:01 +0000 (10:33 +0100)]
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()

The "exc" variable was not defined, pass a BrokenPipeError exception instead.

10 years agoasyncio.subprocess: Fix a race condition in communicate()
Victor Stinner [Thu, 20 Feb 2014 09:12:59 +0000 (10:12 +0100)]
asyncio.subprocess: Fix a race condition in communicate()

Use self._loop instead of self._transport._loop, because transport._loop is set
to None at process exit.

10 years agomerge 3.3 (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 04:06:41 +0000 (23:06 -0500)]
merge 3.3 (#20695)

10 years agoasyncio.docs: Document Error Handling API and asyncio.Handle
Yury Selivanov [Thu, 20 Feb 2014 01:58:44 +0000 (20:58 -0500)]
asyncio.docs: Document Error Handling API and asyncio.Handle

10 years agoasyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
Victor Stinner [Thu, 20 Feb 2014 00:44:10 +0000 (01:44 +0100)]
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode

10 years agoupdate magic number for #20625
Benjamin Peterson [Wed, 19 Feb 2014 23:05:36 +0000 (18:05 -0500)]
update magic number for #20625

10 years agoasyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.
Victor Stinner [Wed, 19 Feb 2014 22:15:02 +0000 (23:15 +0100)]
asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since
Python startup, to be able to debug coroutines defined directly in the asyncio
module.

10 years agoinspect: Fix getfullargspec() to not to follow __wrapped__ chains
Yury Selivanov [Wed, 19 Feb 2014 21:27:23 +0000 (16:27 -0500)]
inspect: Fix getfullargspec() to not to follow __wrapped__ chains

Initial patch by Nick Coghlan.

10 years agoIssue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous...
Victor Stinner [Wed, 19 Feb 2014 17:32:03 +0000 (18:32 +0100)]
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)

10 years agoClose #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
Victor Stinner [Wed, 19 Feb 2014 17:10:32 +0000 (18:10 +0100)]
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger

On Mac OS X Tiger (and older), getsockname() returns a zero-length address for
UNIX socket, and so 'sockname' extra info is None.

10 years agoasyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
Yury Selivanov [Wed, 19 Feb 2014 16:10:52 +0000 (11:10 -0500)]
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol

10 years agoasyncio: document new create_unix_connection() and create_unix_server() methods
Victor Stinner [Wed, 19 Feb 2014 12:32:34 +0000 (13:32 +0100)]
asyncio: document new create_unix_connection() and create_unix_server() methods
of BaseEventLoop

10 years agoasyncio: pep8-ify the code.
Yury Selivanov [Wed, 19 Feb 2014 03:56:15 +0000 (22:56 -0500)]
asyncio: pep8-ify the code.

10 years agoasyncio: Fix spelling and typos.
Yury Selivanov [Wed, 19 Feb 2014 03:27:48 +0000 (22:27 -0500)]
asyncio: Fix spelling and typos.

Thanks to Vajrasky Kok for discovering some of them.

10 years agoIssue #20682: test_asyncio, _basetest_create_connection() checks also the
Victor Stinner [Wed, 19 Feb 2014 01:21:08 +0000 (02:21 +0100)]
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
sockname, as _basetest_create_ssl_connection().

10 years agoasyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
Victor Stinner [Wed, 19 Feb 2014 00:45:59 +0000 (01:45 +0100)]
asyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
DeprecationWarning warnings. create_unix_server() closes the socket on any
error, not only on OSError.

10 years agoasyncio, Tulip issue 139: Improve error messages on "fatal errors"
Victor Stinner [Wed, 19 Feb 2014 00:40:41 +0000 (01:40 +0100)]
asyncio, Tulip issue 139: Improve error messages on "fatal errors"

Mention if the error was caused by a read or a write, and be more specific on
the object (ex: "pipe transport" instead of "transport").

10 years agoasyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin
Yury Selivanov [Tue, 18 Feb 2014 23:41:13 +0000 (18:41 -0500)]
asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin

10 years agoasyncio: New error handling API. Issue #20681.
Yury Selivanov [Tue, 18 Feb 2014 23:02:19 +0000 (18:02 -0500)]
asyncio: New error handling API. Issue #20681.

10 years agoIssue #20625: Fix compilation issue
Victor Stinner [Tue, 18 Feb 2014 21:07:56 +0000 (22:07 +0100)]
Issue #20625: Fix compilation issue

10 years agoClose issue20653: allow Enum subclasses to override __reduce_ex__
Ethan Furman [Tue, 18 Feb 2014 20:37:12 +0000 (12:37 -0800)]
Close issue20653: allow Enum subclasses to override __reduce_ex__

10 years agoasyncio: Make tests pass on Windows.
Guido van Rossum [Tue, 18 Feb 2014 18:24:30 +0000 (10:24 -0800)]
asyncio: Make tests pass on Windows.

10 years agoMangle __parameters in __annotations__ dict properly. Issue #20625.
Yury Selivanov [Tue, 18 Feb 2014 17:49:41 +0000 (12:49 -0500)]
Mangle __parameters in __annotations__ dict properly. Issue #20625.

10 years agoIssue #20609: Merge with 3.3.
Zachary Ware [Tue, 18 Feb 2014 17:35:15 +0000 (11:35 -0600)]
Issue #20609: Merge with 3.3.

10 years agoMisc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
Yury Selivanov [Tue, 18 Feb 2014 17:21:57 +0000 (12:21 -0500)]
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.

10 years agoasyncio: Add support for UNIX Domain Sockets.
Yury Selivanov [Tue, 18 Feb 2014 17:15:06 +0000 (12:15 -0500)]
asyncio: Add support for UNIX Domain Sockets.

10 years agoIssue #20493: Document that asyncio should not exceed one day
Victor Stinner [Tue, 18 Feb 2014 08:37:43 +0000 (09:37 +0100)]
Issue #20493: Document that asyncio should not exceed one day

10 years agoClose #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.
Victor Stinner [Tue, 18 Feb 2014 08:22:00 +0000 (09:22 +0100)]
Close #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.

10 years agoIssue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.
Victor Stinner [Tue, 18 Feb 2014 08:13:47 +0000 (09:13 +0100)]
Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.

10 years agoIssue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
Victor Stinner [Tue, 18 Feb 2014 00:30:03 +0000 (01:30 +0100)]
Issue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
OpenBSD older than 5.5

10 years agoIssue #20655: Fix test_asyncio, run also subprocess tests. Patch written by
Victor Stinner [Mon, 17 Feb 2014 23:11:21 +0000 (00:11 +0100)]
Issue #20655: Fix test_asyncio, run also subprocess tests. Patch written by
Vajrasky Kok.

10 years agoClose #20652: asyncio doc: close the event loop in run_forever() example. Fix
Victor Stinner [Mon, 17 Feb 2014 09:54:30 +0000 (10:54 +0100)]
Close #20652: asyncio doc: close the event loop in run_forever() example. Fix
also typo. Patch written by Vajrasky Kok.

10 years agoIssue #20616: Add a format() method to tracemalloc.Traceback.
Victor Stinner [Sun, 16 Feb 2014 22:53:38 +0000 (23:53 +0100)]
Issue #20616: Add a format() method to tracemalloc.Traceback.

10 years agomerge backout for #20621
Benjamin Peterson [Sun, 16 Feb 2014 19:17:28 +0000 (14:17 -0500)]
merge backout for #20621

10 years agolook up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)
Benjamin Peterson [Sun, 16 Feb 2014 18:49:16 +0000 (13:49 -0500)]
look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)

10 years agoIssue #19744: Handle missing SSL/TLS in ensurepip
Nick Coghlan [Fri, 14 Feb 2014 23:14:54 +0000 (09:14 +1000)]
Issue #19744: Handle missing SSL/TLS in ensurepip

- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS

10 years agoset line and column numbers for keyword-only arg nodes (closes #20619)
Benjamin Peterson [Fri, 14 Feb 2014 00:22:14 +0000 (19:22 -0500)]
set line and column numbers for keyword-only arg nodes (closes #20619)

10 years agoIssue #20526, #19466: Revert changes of issue #19466 which introduces a
Victor Stinner [Thu, 13 Feb 2014 11:48:54 +0000 (12:48 +0100)]
Issue #20526, #19466: Revert changes of issue #19466 which introduces a
regression: don't clear anymore the state of Python threads early during the
Python shutdown.

10 years agoFix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host
Victor Stinner [Thu, 13 Feb 2014 09:46:05 +0000 (10:46 +0100)]
Fix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host

10 years agoayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
Victor Stinner [Thu, 13 Feb 2014 08:24:37 +0000 (09:24 +0100)]
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.

10 years agoasyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue...
Guido van Rossum [Thu, 13 Feb 2014 01:58:19 +0000 (17:58 -0800)]
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue #20566.

10 years agoasyncio.events: Use __slots__ in Handle and TimerHandle
Yury Selivanov [Wed, 12 Feb 2014 22:01:52 +0000 (17:01 -0500)]
asyncio.events: Use __slots__ in Handle and TimerHandle

10 years agoIssue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
Victor Stinner [Tue, 11 Feb 2014 17:40:56 +0000 (18:40 +0100)]
Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
FreeBSD 8

10 years agoIssue #20505: Remove debug code
Victor Stinner [Tue, 11 Feb 2014 16:53:47 +0000 (17:53 +0100)]
Issue #20505: Remove debug code

10 years agomerge 3.3 (#20594)
Benjamin Peterson [Tue, 11 Feb 2014 15:19:12 +0000 (10:19 -0500)]
merge 3.3 (#20594)

10 years agoasyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if
Victor Stinner [Tue, 11 Feb 2014 10:54:08 +0000 (11:54 +0100)]
asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if
the list of futures is not a list but a Future, Task or coroutine object

10 years agoasyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
Victor Stinner [Tue, 11 Feb 2014 10:44:56 +0000 (11:44 +0100)]
asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
parameters

10 years agoasyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),
Victor Stinner [Tue, 11 Feb 2014 10:34:30 +0000 (11:34 +0100)]
asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),
call_at() and run_in_executor() now raise a TypeError if the callback is a
coroutine function.

10 years agoIssue #20505: use also the monotonic time to decide if asyncio debug traces
Victor Stinner [Tue, 11 Feb 2014 09:26:53 +0000 (10:26 +0100)]
Issue #20505: use also the monotonic time to decide if asyncio debug traces
should be printed

10 years agoIssue #20505: Oops, only print debug info if selector.select(timeout) took less
Victor Stinner [Tue, 11 Feb 2014 09:10:41 +0000 (10:10 +0100)]
Issue #20505: Oops, only print debug info if selector.select(timeout) took less
than timeout