]> granicus.if.org Git - python/log
python
10 years agoWhite space and merge cleanup.
Terry Jan Reedy [Mon, 27 Jan 2014 01:24:35 +0000 (20:24 -0500)]
White space and merge cleanup.

10 years agoMerge with 3.3
Terry Jan Reedy [Mon, 27 Jan 2014 01:17:48 +0000 (20:17 -0500)]
Merge with 3.3

10 years agoMerge heads.
Terry Jan Reedy [Mon, 27 Jan 2014 01:16:53 +0000 (20:16 -0500)]
Merge heads.

10 years agoMerge heads.
Terry Jan Reedy [Mon, 27 Jan 2014 01:12:18 +0000 (20:12 -0500)]
Merge heads.

10 years agoIssue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Terry Jan Reedy [Mon, 27 Jan 2014 01:08:26 +0000 (20:08 -0500)]
Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.

10 years agoIssue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Terry Jan Reedy [Mon, 27 Jan 2014 00:55:34 +0000 (19:55 -0500)]
Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.

10 years agoIssue #20394: Attempt to silence CID 1164423: Division or modulo by zero in audioop_r...
Christian Heimes [Mon, 27 Jan 2014 00:12:00 +0000 (01:12 +0100)]
Issue #20394: Attempt to silence CID 1164423: Division or modulo by zero in audioop_ratecv_impl()
Serhiy and I had the same idea so it's most likely right. ;)

10 years agoIssue #20193: Fix commit r6f217456b9ba by including clinic/zlibmodule.c.h instead
Christian Heimes [Mon, 27 Jan 2014 00:06:57 +0000 (01:06 +0100)]
Issue #20193: Fix commit r6f217456b9ba by including clinic/zlibmodule.c.h instead
of zlibmodule.clinic.c

10 years agosilence compiler warning that 's' may be used uninitialized in the load function.
Christian Heimes [Mon, 27 Jan 2014 00:03:53 +0000 (01:03 +0100)]
silence compiler warning that 's' may be used uninitialized in the load function.

10 years agoUpdate docstring to mention correct PEP number.
Eli Bendersky [Sun, 26 Jan 2014 22:59:30 +0000 (14:59 -0800)]
Update docstring to mention correct PEP number.

This file hasn't been touched since its initial commit in 2006. In CPython
default branch (3.4), the relevant PEP number is 3333.

10 years agoIssue #20367: Add Glenn Langford to Misc/ACKS
Victor Stinner [Sun, 26 Jan 2014 22:33:49 +0000 (23:33 +0100)]
Issue #20367: Add Glenn Langford to Misc/ACKS

10 years agoIssue #20193: The zlib module now uses Argument Clinic.
Serhiy Storchaka [Sun, 26 Jan 2014 22:03:31 +0000 (00:03 +0200)]
Issue #20193: The zlib module now uses Argument Clinic.

10 years agoIssue #19990: Added tests for the imghdr module.
Serhiy Storchaka [Sun, 26 Jan 2014 21:52:57 +0000 (23:52 +0200)]
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.

10 years agoIssue #19990: Added tests for the imghdr module.
Serhiy Storchaka [Sun, 26 Jan 2014 21:48:38 +0000 (23:48 +0200)]
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.

10 years agoFix issue #20367: concurrent.futures.as_completed() for duplicate arguments.
Guido van Rossum [Sun, 26 Jan 2014 17:57:51 +0000 (09:57 -0800)]
Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.
Patch by Glenn Langford.

10 years agoMerge heads
Serhiy Storchaka [Sun, 26 Jan 2014 17:36:59 +0000 (19:36 +0200)]
Merge heads

10 years agoIssue #8260: The read(), readline() and readlines() methods of
Serhiy Storchaka [Sun, 26 Jan 2014 17:27:56 +0000 (19:27 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d'Arc.

10 years agoIssue #8260: The read(), readline() and readlines() methods of
Serhiy Storchaka [Sun, 26 Jan 2014 17:21:00 +0000 (19:21 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d'Arc.

10 years agoMerge latest Tulip into asyncio
Andrew Svetlov [Sun, 26 Jan 2014 16:36:01 +0000 (18:36 +0200)]
Merge latest Tulip into asyncio

10 years agocleanup after custom buffer converter
Benjamin Peterson [Sun, 26 Jan 2014 15:41:58 +0000 (10:41 -0500)]
cleanup after custom buffer converter

10 years agofix refleak on error
Benjamin Peterson [Sun, 26 Jan 2014 15:24:24 +0000 (10:24 -0500)]
fix refleak on error

10 years agoClose #20105: set __traceback__ when chaining exceptions in C
Nick Coghlan [Sun, 26 Jan 2014 14:53:38 +0000 (00:53 +1000)]
Close #20105: set __traceback__ when chaining exceptions in C

10 years agoIssue #20358: Tests for curses.window.overlay and curses.window.overwrite
Larry Hastings [Sun, 26 Jan 2014 06:19:47 +0000 (22:19 -0800)]
Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} > max{row,col}.

10 years agoIssue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ calls.
Larry Hastings [Sun, 26 Jan 2014 06:01:12 +0000 (22:01 -0800)]
Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ calls.

10 years agoUpdate pip to 1.5.2 and setuptools to 2.1
Donald Stufft [Sun, 26 Jan 2014 05:22:39 +0000 (00:22 -0500)]
Update pip to 1.5.2 and setuptools to 2.1

10 years agoFix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
Larry Hastings [Sun, 26 Jan 2014 05:30:37 +0000 (21:30 -0800)]
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).

10 years agoIssue #20390: Small fixes and improvements for Argument Clinic.
Larry Hastings [Sun, 26 Jan 2014 04:43:29 +0000 (20:43 -0800)]
Issue #20390: Small fixes and improvements for Argument Clinic.

10 years agoDocument asyncio.QueueFull/Empty.
Guido van Rossum [Sun, 26 Jan 2014 01:38:31 +0000 (17:38 -0800)]
Document asyncio.QueueFull/Empty.

10 years agoNEWS update for asyncio.
Guido van Rossum [Sun, 26 Jan 2014 01:30:19 +0000 (17:30 -0800)]
NEWS update for asyncio.

10 years agoasyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get them from...
Guido van Rossum [Sun, 26 Jan 2014 01:24:51 +0000 (17:24 -0800)]
asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get them from queue.py.

10 years agoasyncio: Locks refactor: use a separate context manager; remove Semaphore._locked.
Guido van Rossum [Sun, 26 Jan 2014 00:51:57 +0000 (16:51 -0800)]
asyncio: Locks refactor: use a separate context manager; remove Semaphore._locked.

10 years agoasyncio: Fix race in FastChildWatcher (by its original author, Anthony Baire).
Guido van Rossum [Sun, 26 Jan 2014 00:32:17 +0000 (16:32 -0800)]
asyncio: Fix race in FastChildWatcher (by its original author, Anthony Baire).

10 years agoMerge latest Tulip into asyncio
Victor Stinner [Sat, 25 Jan 2014 23:02:31 +0000 (00:02 +0100)]
Merge latest Tulip into asyncio

- Make the new granularity attribute private
- Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic
  instead

10 years agoIssue #20311: Fix test_telnetlib, set the resolution of the MockSelector
Victor Stinner [Sat, 25 Jan 2014 22:53:28 +0000 (23:53 +0100)]
Issue #20311: Fix test_telnetlib, set the resolution of the MockSelector

10 years agoIssue 19944: Fix importlib.find_spec() so it imports parents as needed.
Eric Snow [Sat, 25 Jan 2014 22:32:46 +0000 (15:32 -0700)]
Issue 19944: Fix importlib.find_spec() so it imports parents as needed.

The function is also moved to importlib.util.

10 years agoasyncio: Don't export BaseEventLoop, BaseSelectorEventLoop nor
Victor Stinner [Sat, 25 Jan 2014 21:22:18 +0000 (22:22 +0100)]
asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop nor
BaseProactorEventLoop

Import them from submodules if you really need them.

10 years agomerge 3.3
Benjamin Peterson [Sat, 25 Jan 2014 18:27:53 +0000 (13:27 -0500)]
merge 3.3

10 years agoupdate sphinx url
Benjamin Peterson [Sat, 25 Jan 2014 18:27:06 +0000 (13:27 -0500)]
update sphinx url

10 years agolinkify
Benjamin Peterson [Sat, 25 Jan 2014 18:26:18 +0000 (13:26 -0500)]
linkify

10 years agoIssue #20331: Fixed possible FD leaks in various modules:
Serhiy Storchaka [Sat, 25 Jan 2014 17:43:56 +0000 (19:43 +0200)]
Issue #20331: Fixed possible FD leaks in various modules:
http.server, imghdr, mailcap, mimetypes, xml.etree.

10 years agoIssue #20331: Fixed possible FD leaks in various modules:
Serhiy Storchaka [Sat, 25 Jan 2014 17:43:02 +0000 (19:43 +0200)]
Issue #20331: Fixed possible FD leaks in various modules:
http.server, imghdr, mailcap, mimetypes, xml.etree.

10 years ago#20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb.
Ezio Melotti [Sat, 25 Jan 2014 15:27:46 +0000 (17:27 +0200)]
#20348: fix headers markup in Argument Clinic howto.  Patch by Moritz Neeb.

10 years agoUpdate asyncio from the Tulip project
Victor Stinner [Sat, 25 Jan 2014 14:32:06 +0000 (15:32 +0100)]
Update asyncio from the Tulip project

Major changes:

- StreamReader.readexactly() now raises an IncompleteReadError if the
  end of stream is reached before we received enough bytes, instead of
  returning less bytes than requested.

- Unit tests use the main asyncio module instead of submodules like events

- _UnixWritePipeTransport now also supports character devices, as
  _UnixReadPipeTransport. Patch written by Jonathan Slenders.

- Export more symbols: BaseEventLoop, BaseProactorEventLoop,
  BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full

10 years agoFix asyncio tests: define resolution
Victor Stinner [Sat, 25 Jan 2014 14:31:06 +0000 (15:31 +0100)]
Fix asyncio tests: define resolution

10 years agotest_selectors: remove unused imports
Victor Stinner [Sat, 25 Jan 2014 14:04:22 +0000 (15:04 +0100)]
test_selectors: remove unused imports

10 years agoIssue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum
Victor Stinner [Sat, 25 Jan 2014 14:01:33 +0000 (15:01 +0100)]
Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum
between the resolution of the BaseEventLoop.time() method and the resolution of
the selector. The granuarility is used in the scheduler to round time and
deadline.

10 years agoIssue #20311: selectors: Add a resolution attribute to BaseSelector.
Victor Stinner [Sat, 25 Jan 2014 13:56:48 +0000 (14:56 +0100)]
Issue #20311: selectors: Add a resolution attribute to BaseSelector.

10 years agoIssue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() and
Victor Stinner [Sat, 25 Jan 2014 13:43:45 +0000 (14:43 +0100)]
Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() and
EpollSelector.select() round again the timeout towards zero

10 years ago(Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),
Victor Stinner [Sat, 25 Jan 2014 13:40:04 +0000 (14:40 +0100)]
(Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),
select.epoll.poll() rounds again the timeout towards zero

10 years agoIssue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout
Victor Stinner [Sat, 25 Jan 2014 13:37:50 +0000 (14:37 +0100)]
Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout
towards zero

10 years agoIssue #20193: The _lzma module now uses Argument Clinic.
Serhiy Storchaka [Sat, 25 Jan 2014 12:02:29 +0000 (14:02 +0200)]
Issue #20193: The _lzma module now uses Argument Clinic.

LZMACompressor.__init__ is left not converted.

10 years agoFix grammar: merge with 3.3.
Eric V. Smith [Sat, 25 Jan 2014 10:12:11 +0000 (05:12 -0500)]
Fix grammar: merge with 3.3.

10 years agoFix grammar.
Eric V. Smith [Sat, 25 Jan 2014 10:11:43 +0000 (05:11 -0500)]
Fix grammar.

10 years agoIssue #20193: The _bz2 module now uses Argument Clinic.
Serhiy Storchaka [Sat, 25 Jan 2014 10:07:57 +0000 (12:07 +0200)]
Issue #20193: The _bz2 module now uses Argument Clinic.

10 years agoIssue #20133: The audioop module now uses Argument Clinic.
Serhiy Storchaka [Sat, 25 Jan 2014 09:57:59 +0000 (11:57 +0200)]
Issue #20133: The audioop module now uses Argument Clinic.

10 years agoFixed converting errors in the binascii module (issue20151).
Serhiy Storchaka [Sat, 25 Jan 2014 09:49:49 +0000 (11:49 +0200)]
Fixed converting errors in the binascii module (issue20151).

a2b_qp() now accepts keyword arguments.
All "ascii" parameters is renamed to "data" for consistancy with a2b_qp().

10 years agoIssue #20376: Argument Clinic now escapes backslashes in docstrings.
Zachary Ware [Sat, 25 Jan 2014 09:26:20 +0000 (03:26 -0600)]
Issue #20376: Argument Clinic now escapes backslashes in docstrings.

10 years agoIssue #20151: The binascii module now uses Argument Clinic.
Serhiy Storchaka [Sat, 25 Jan 2014 09:21:23 +0000 (11:21 +0200)]
Issue #20151: The binascii module now uses Argument Clinic.

10 years agomerge 3.3
Benjamin Peterson [Sat, 25 Jan 2014 05:00:28 +0000 (00:00 -0500)]
merge 3.3

10 years agoupdate hosting faq
Benjamin Peterson [Sat, 25 Jan 2014 04:59:57 +0000 (23:59 -0500)]
update hosting faq

10 years agoIssue #20381: Fix sanity checking on default arguments when c_default is
Zachary Ware [Sat, 25 Jan 2014 04:52:30 +0000 (22:52 -0600)]
Issue #20381: Fix sanity checking on default arguments when c_default is
also specified.

11 years agoNull merge
Serhiy Storchaka [Fri, 24 Jan 2014 20:28:42 +0000 (22:28 +0200)]
Null merge

11 years agoFix typo.
Serhiy Storchaka [Fri, 24 Jan 2014 20:28:06 +0000 (22:28 +0200)]
Fix typo.

11 years agoNull merge
Serhiy Storchaka [Fri, 24 Jan 2014 20:20:05 +0000 (22:20 +0200)]
Null merge

11 years agoIssue #20384: Fix the test_tarfile test on Windows.
Serhiy Storchaka [Fri, 24 Jan 2014 20:19:23 +0000 (22:19 +0200)]
Issue #20384: Fix the test_tarfile test on Windows.

On Windows os.open() error message doesn't contain file name.

11 years agoasyncio doc: document StreamWriter.drain()
Victor Stinner [Fri, 24 Jan 2014 17:47:26 +0000 (18:47 +0100)]
asyncio doc: document StreamWriter.drain()

11 years agoasyncio doc: move AbstractServer to the event loop page
Victor Stinner [Fri, 24 Jan 2014 17:11:43 +0000 (18:11 +0100)]
asyncio doc: move AbstractServer to the event loop page

Add also entries in the table of content for each synchronization primitive
class.

11 years agomerge 3.3 (#20374)
Benjamin Peterson [Fri, 24 Jan 2014 16:44:40 +0000 (11:44 -0500)]
merge 3.3 (#20374)

11 years agonew plan: just remove typecasts (closes #20374)
Benjamin Peterson [Fri, 24 Jan 2014 16:44:16 +0000 (11:44 -0500)]
new plan: just remove typecasts (closes #20374)

11 years agoasyncio doc: add a "Coroutines and protocols" section
Victor Stinner [Fri, 24 Jan 2014 16:33:20 +0000 (17:33 +0100)]
asyncio doc: add a "Coroutines and protocols" section

11 years agoasyncio: mention that transports/protocols are low-level, streams are high-level
Victor Stinner [Fri, 24 Jan 2014 14:34:19 +0000 (15:34 +0100)]
asyncio: mention that transports/protocols are low-level, streams are high-level

11 years agoIssue #20189: Four additional builtin types (PyTypeObject,
Larry Hastings [Fri, 24 Jan 2014 14:17:25 +0000 (06:17 -0800)]
Issue #20189: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.

11 years agoMerge removal of issue 20317 debugging code from 3.3
Nick Coghlan [Fri, 24 Jan 2014 13:07:16 +0000 (23:07 +1000)]
Merge removal of issue 20317 debugging code from 3.3

11 years agoIssue 20317: Remove debugging code from contextlib
Nick Coghlan [Fri, 24 Jan 2014 13:05:45 +0000 (23:05 +1000)]
Issue 20317: Remove debugging code from contextlib

- Alex J Burke noticed a debugging raise in the commit that
  fixed the original bug reported in issue 20317
- this showed that multiple iterations through the affected
  loop wasn't actually being tested

11 years agomerge 3.3 (#20374)
Benjamin Peterson [Fri, 24 Jan 2014 05:33:25 +0000 (00:33 -0500)]
merge 3.3 (#20374)

11 years agouse new readline function types (closes #20374)
Benjamin Peterson [Fri, 24 Jan 2014 05:32:12 +0000 (00:32 -0500)]
use new readline function types (closes #20374)

11 years agoasyncio: wait_for() now cancels the future on timeout. Patch written by Gustavo
Victor Stinner [Thu, 23 Jan 2014 16:40:59 +0000 (17:40 +0100)]
asyncio: wait_for() now cancels the future on timeout. Patch written by Gustavo
Carneiro.

11 years agoasyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now
Victor Stinner [Thu, 23 Jan 2014 16:40:03 +0000 (17:40 +0100)]
asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now
raise a RuntimeError, instead of using an assertion, if another coroutine is
already waiting for incoming data

11 years agoClose #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
Victor Stinner [Thu, 23 Jan 2014 16:26:06 +0000 (17:26 +0100)]
Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on
Mac OS X older than 10.9.

11 years agoFixed test_user_command on OpenSolaris where floats can have different string
Serhiy Storchaka [Thu, 23 Jan 2014 14:49:22 +0000 (16:49 +0200)]
Fixed test_user_command on OpenSolaris where floats can have different string
representation in Tcl and Python.

11 years agoFixed test_user_command on OpenSolaris where floats can have different string
Serhiy Storchaka [Thu, 23 Jan 2014 14:48:44 +0000 (16:48 +0200)]
Fixed test_user_command on OpenSolaris where floats can have different string
representation in Tcl and Python.

11 years agoIssue #19936: Restored executable bits for several libffi files.
Serhiy Storchaka [Thu, 23 Jan 2014 14:23:50 +0000 (16:23 +0200)]
Issue #19936: Restored executable bits for several libffi files.
These files have shebangs and executable bits in the libffi distribution.

11 years agoIssue #19936: Restored executable bits for several libffi files.
Serhiy Storchaka [Thu, 23 Jan 2014 14:22:55 +0000 (16:22 +0200)]
Issue #19936: Restored executable bits for several libffi files.
These files have shebangs and executable bits in the libffi distribution.

11 years agoIssue #20311: add debug help in test_selectors
Victor Stinner [Thu, 23 Jan 2014 14:07:26 +0000 (15:07 +0100)]
Issue #20311: add debug help in test_selectors

11 years agoasyncio doc: add an client example using streams
Victor Stinner [Thu, 23 Jan 2014 10:25:48 +0000 (11:25 +0100)]
asyncio doc: add an client example using streams

11 years agoasyncio doc: Move streams to their own dedicated page
Victor Stinner [Thu, 23 Jan 2014 10:05:01 +0000 (11:05 +0100)]
asyncio doc: Move streams to their own dedicated page

11 years agoasyncio doc: link create_connection() to open_connection() and create_server()
Victor Stinner [Thu, 23 Jan 2014 10:02:09 +0000 (11:02 +0100)]
asyncio doc: link create_connection() to open_connection() and create_server()
to start_server()

Rename also the "Network functions" section to "Stream functions" and move it to the Stream section.

11 years agoasyncio doc: move stream classes to their own class
Victor Stinner [Thu, 23 Jan 2014 09:54:57 +0000 (10:54 +0100)]
asyncio doc: move stream classes to their own class

11 years agoasyncio: Fix open_connection() documentation, writer is a StreamWriter
Victor Stinner [Thu, 23 Jan 2014 09:20:18 +0000 (10:20 +0100)]
asyncio: Fix open_connection() documentation, writer is a StreamWriter

11 years agoAdded test_user_command in test_tcl.
Serhiy Storchaka [Thu, 23 Jan 2014 07:49:42 +0000 (09:49 +0200)]
Added test_user_command in test_tcl.

It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.

11 years agoAdded test_user_command in test_tcl.
Serhiy Storchaka [Thu, 23 Jan 2014 07:44:05 +0000 (09:44 +0200)]
Added test_user_command in test_tcl.

It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.

11 years agoMerge with 3.3
Terry Jan Reedy [Thu, 23 Jan 2014 05:39:11 +0000 (00:39 -0500)]
Merge with 3.3

11 years agoIssue #17390: Add Python version to Idle editor window title bar.
Terry Jan Reedy [Thu, 23 Jan 2014 05:36:46 +0000 (00:36 -0500)]
Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.

11 years agoDoc fixes for Argument Clinic.
Larry Hastings [Wed, 22 Jan 2014 13:49:11 +0000 (05:49 -0800)]
Doc fixes for Argument Clinic.

11 years agoMerge #20317 from 3.3
Nick Coghlan [Wed, 22 Jan 2014 13:04:37 +0000 (23:04 +1000)]
Merge #20317 from 3.3

11 years agoIssue #20317: Don't create a reference loop in ExitStack
Nick Coghlan [Wed, 22 Jan 2014 12:24:46 +0000 (22:24 +1000)]
Issue #20317: Don't create a reference loop in ExitStack

11 years agoasyncio: Cleanup logging in BaseEventLoop._run_once()
Victor Stinner [Wed, 22 Jan 2014 11:26:01 +0000 (12:26 +0100)]
asyncio: Cleanup logging in BaseEventLoop._run_once()

logger.log() is now responsible to format the timeout. It might be faster if
the log is disabled for DEBUG level, but it's also more readable and fix
an issue with Python 2.6 in the Trollius project.

11 years agoTwo minor Argument Clinic bugfixes: use the name of the class in the
Larry Hastings [Wed, 22 Jan 2014 11:05:49 +0000 (03:05 -0800)]
Two minor Argument Clinic bugfixes: use the name of the class in the
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).

11 years agoArgument Clinic: make 'destination' directive work.
Zachary Ware [Wed, 22 Jan 2014 05:07:12 +0000 (23:07 -0600)]
Argument Clinic: make 'destination' directive work.

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 22 Jan 2014 02:13:25 +0000 (21:13 -0500)]
Merge with 3.3