Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout | Victor Stinner | 2014-01-25 | 1 | -11/+0 |
| | | | | | | | | towards zero | ||||
| * | Fix typo. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+1 |
| | | |||||
| * | Issue #20384: Fix the test_tarfile test on Windows. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+6 |
| | | | | | | | | On Windows os.open() error message doesn't contain file name. | ||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 4 | -37/+75 |
| | | | | | | | | | | | | 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. | ||||
* | | Merge removal of issue 20317 debugging code from 3.3 | Nick Coghlan | 2014-01-24 | 1 | -10/+48 |
|\ \ | |/ | |||||
| * | Issue 20317: Remove debugging code from contextlib | Nick Coghlan | 2014-01-24 | 1 | -10/+48 |
| | | | | | | | | | | | | | | - 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 | ||||
* | | asyncio: wait_for() now cancels the future on timeout. Patch written by Gustavo | Victor Stinner | 2014-01-23 | 1 | -15/+14 |
| | | | | | | | | Carneiro. | ||||
* | | Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X | Victor Stinner | 2014-01-23 | 1 | -0/+3 |
| | | | | | | | | | | older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on Mac OS X older than 10.9. | ||||
* | | Fixed test_user_command on OpenSolaris where floats can have different string | Serhiy Storchaka | 2014-01-23 | 1 | -9/+20 |
|\ \ | |/ | | | | | representation in Tcl and Python. | ||||
| * | Fixed test_user_command on OpenSolaris where floats can have different string | Serhiy Storchaka | 2014-01-23 | 1 | -9/+20 |
| | | | | | | | | representation in Tcl and Python. | ||||
* | | Issue #20311: add debug help in test_selectors | Victor Stinner | 2014-01-23 | 1 | -2/+5 |
| | | |||||
* | | Added test_user_command in test_tcl. | Serhiy Storchaka | 2014-01-23 | 1 | -0/+28 |
|\ \ | |/ | | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings. | ||||
| * | Added test_user_command in test_tcl. | Serhiy Storchaka | 2014-01-23 | 1 | -0/+28 |
| | | | | | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings. | ||||
* | | Merge #20317 from 3.3 | Nick Coghlan | 2014-01-22 | 1 | -0/+23 |
|\ \ | |/ | |||||
| * | Issue #20317: Don't create a reference loop in ExitStack | Nick Coghlan | 2014-01-22 | 1 | -0/+23 |
| | | |||||
* | | Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵ | Florent Xicluna | 2014-01-22 | 1 | -4/+14 |
|\ \ | |/ | | | | | IndentationError. | ||||
| * | Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵ | Florent Xicluna | 2014-01-22 | 1 | -4/+14 |
| | | | | | | | | IndentationError. | ||||
* | | Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. | Stefan Krah | 2014-01-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. | Stefan Krah | 2014-01-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 2 | -0/+22 |
|\ \ | |/ | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
| * | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 2 | -0/+22 |
| | | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. |