Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20452: Remove debug code, no more needed | Victor Stinner | 2014-01-31 | 1 | -13/+1 |
| | |||||
* | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 1 | -13/+10 |
| | | | | | | poll and epoll Improve also debug info to analyze the issue | ||||
* | Issue #20452: Oops, fix debug code :-/ | Victor Stinner | 2014-01-31 | 1 | -0/+6 |
| | | | | Add also event more debug info | ||||
* | Issue #20452: add more info in case of test_asyncio failure to try to debug the | Victor Stinner | 2014-01-31 | 1 | -1/+10 |
| | | | | failure on buildbot "x86 Ubuntu Shared 3.x" | ||||
* | asyncio: Fix misc whitespace issues. | Guido van Rossum | 2014-01-31 | 2 | -13/+14 |
| | |||||
* | asyncio: Future.set_exception(exc) should instantiate exc if it is a class. | Victor Stinner | 2014-01-31 | 1 | -0/+5 |
| | |||||
* | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵ | Antoine Pitrou | 2014-01-29 | 1 | -43/+22 |
|\ | | | | | | | by Arfrever. | ||||
| * | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵ | Antoine Pitrou | 2014-01-29 | 1 | -43/+22 |
| | | | | | | | | by Arfrever. | ||||
* | | asyncio: subprocess_shell() and subprocess_exec() now raise ValueError ↵ | Victor Stinner | 2014-01-29 | 1 | -0/+32 |
| | | | | | | | | | | | | instead of assert. Moreover, bufsize different than 0 is now considered as an error. | ||||
* | | asyncio: wait_for() now accepts None as timeout (Victor Stinner). | Guido van Rossum | 2014-01-29 | 1 | -0/+11 |
| | | |||||
* | | inspect.signature: Make sure that if a callable object has '_patialmethod' | Yury Selivanov | 2014-01-29 | 1 | -0/+5 |
| | | | | | | | | attribute, that attribute is an instance of 'functools.partialmethod'. | ||||
* | | inspect.test.getfullargspec: Add a unittest to ensure correct annotations | Yury Selivanov | 2014-01-29 | 1 | -0/+9 |
| | | | | | | | | handling #17481 | ||||
* | | inspect.getfullargspec: Use inspect.signature API behind the scenes #17481 | Yury Selivanov | 2014-01-29 | 1 | -1/+41 |
| | | |||||
* | | inspect.Signature: ensure that non-default params don't follow default ones ↵ | Yury Selivanov | 2014-01-29 | 1 | -1/+12 |
| | | | | | | | | #20427 | ||||
* | | inspect.signature: Add support for decorated (wrapped) builtins #20425 | Yury Selivanov | 2014-01-29 | 1 | -0/+15 |
| | | |||||
* | | inspect.Signature: Make from_builtin to raise an exception if no signature can | Yury Selivanov | 2014-01-29 | 1 | -0/+4 |
| | | | | | | | | be provided #20422 | ||||
* | | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 1 | -0/+9 |
| | | |||||
* | | inspect.Signature.bind: Fix pos-only params with defaults; fix *args in ↵ | Yury Selivanov | 2014-01-28 | 1 | -0/+25 |
| | | | | | | | | | | | | named args #19140 Initial patch by Yann Kaiser (epsy). | ||||
* | | inspect.signature: Handle bound methods with '(*args)' signature correctly ↵ | Yury Selivanov | 2014-01-28 | 1 | -4/+19 |
| | | | | | | | | #20401 | ||||
* | | inspect.tests: Remove redundant unittest | Yury Selivanov | 2014-01-28 | 1 | -5/+0 |
| | | | | | | | | The removed unittest duplicates the other one (test_signature_on_builtins_no_signature) | ||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 3 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | | inspect.signature: Support classes without user-defined __init__/__new__ #20308 | Yury Selivanov | 2014-01-28 | 1 | -0/+14 |
| | | |||||
* | | inspect.signature: Add support for 'functools.partialmethod' #20223 | Yury Selivanov | 2014-01-27 | 1 | -0/+27 |
| | | |||||
* | | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -33/+36 |
|\ \ | |/ | | | | | is present. | ||||
| * | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -32/+35 |
| | | | | | | | | is present. | ||||
* | | inspect.signature: Use '/' to separate positional-only parameters from | Yury Selivanov | 2014-01-27 | 1 | -16/+24 |
| | | | | | | | | the rest in Signature.__str__. #20356 | ||||
* | | inspect.getfile: Don't crash on classes without '__module__' attribute #20372 | Yury Selivanov | 2014-01-27 | 1 | -0/+10 |
| | | | | | | | | | | Some classes defined in C may not have the '__module__' attribute, so we now handle this case to avoid having unexepected AttributeError. | ||||
* | | Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails when | Serhiy Storchaka | 2014-01-27 | 1 | -47/+39 |
|\ \ | |/ | | | | | | | called during shutdown. Emitting resource warning in __del__ no longer fails. Original patch by Antoine Pitrou. | ||||
| * | Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely | Serhiy Storchaka | 2014-01-27 | 1 | -47/+37 |
| | | | | | | | | | | | | successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown. | ||||
| * | Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicate | Victor Stinner | 2014-01-27 | 1 | -0/+7 |
| | | | | | | | | arguments. Patch by Glenn Langford. | ||||
* | | Issue #19990: Added tests for the imghdr module. | Serhiy Storchaka | 2014-01-26 | 13 | -1/+141 |
|\ \ | |/ | | | | | Based on patch by Claudiu Popa. | ||||
| * | Issue #19990: Added tests for the imghdr module. | Serhiy Storchaka | 2014-01-26 | 13 | -1/+140 |
| | | | | | | | | Based on patch by Claudiu Popa. | ||||
| * | Issue #8260: The read(), readline() and readlines() methods of | Serhiy Storchaka | 2014-01-26 | 1 | -2/+34 |
| | | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc. | ||||
* | | Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments. | Guido van Rossum | 2014-01-26 | 1 | -0/+7 |
| | | | | | | | | Patch by Glenn Langford. | ||||
* | | Issue #8260: The read(), readline() and readlines() methods of | Serhiy Storchaka | 2014-01-26 | 1 | -2/+34 |
| | | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc. | ||||
* | | Close #20105: set __traceback__ when chaining exceptions in C | Nick Coghlan | 2014-01-26 | 1 | -0/+1 |
| | | |||||
* | | Issue #20358: Tests for curses.window.overlay and curses.window.overwrite | Larry Hastings | 2014-01-26 | 1 | -2/+2 |
| | | | | | | | | no longer specify min{row,col} > max{row,col}. | ||||
* | | asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵ | Guido van Rossum | 2014-01-26 | 1 | -2/+2 |
| | | | | | | | | them from queue.py. | ||||
* | | asyncio: Locks refactor: use a separate context manager; remove ↵ | Guido van Rossum | 2014-01-26 | 1 | -0/+35 |
| | | | | | | | | Semaphore._locked. | ||||
* | | Merge latest Tulip into asyncio | Victor Stinner | 2014-01-25 | 1 | -2/+2 |
| | | | | | | | | | | | | - Make the new granularity attribute private - Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic instead | ||||
* | | Issue #20311: Fix test_telnetlib, set the resolution of the MockSelector | Victor Stinner | 2014-01-25 | 1 | -0/+4 |
| | | |||||
* | | Issue 19944: Fix importlib.find_spec() so it imports parents as needed. | Eric Snow | 2014-01-25 | 3 | -150/+182 |
| | | | | | | | | The function is also moved to importlib.util. | ||||
* | | asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop nor | Victor Stinner | 2014-01-25 | 4 | -8/+12 |
| | | | | | | | | | | | | BaseProactorEventLoop Import them from submodules if you really need them. | ||||
* | | Update asyncio from the Tulip project | Victor Stinner | 2014-01-25 | 12 | -873/+893 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | test_selectors: remove unused imports | Victor Stinner | 2014-01-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum | Victor Stinner | 2014-01-25 | 2 | -1/+26 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #20311: selectors: Add a resolution attribute to BaseSelector. | Victor Stinner | 2014-01-25 | 1 | -0/+5 |
| | | |||||
* | | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() and | Victor Stinner | 2014-01-25 | 1 | -19/+0 |
| | | | | | | | | EpollSelector.select() round again the timeout towards zero | ||||
* | | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e), | Victor Stinner | 2014-01-25 | 1 | -11/+0 |
|\ \ | |/ | | | | | select.epoll.poll() rounds again the timeout towards zero |