summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-285-19/+16
| | | | | | | | | | 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__ #20308Yury Selivanov2014-01-282-0/+25
|
* asyncio: remove temporary aliasesVictor Stinner2014-01-271-6/+0
|
* inspect.signature: Add support for 'functools.partialmethod' #20223Yury Selivanov2014-01-273-40/+95
|
* Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-272-109/+66
|\ | | | | | | is present.
| * Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-272-108/+65
| | | | | | | | is present.
* | inspect.signature: Use '/' to separate positional-only parameters fromYury Selivanov2014-01-272-39/+54
| | | | | | | | the rest in Signature.__str__. #20356
* | inspect.getfile: Don't crash on classes without '__module__' attribute #20372Yury Selivanov2014-01-272-3/+14
| | | | | | | | | | Some classes defined in C may not have the '__module__' attribute, so we now handle this case to avoid having unexepected AttributeError.
* | Remove redundant emty line at the end of file.Serhiy Storchaka2014-01-271-1/+0
| |
* | Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails whenSerhiy Storchaka2014-01-272-109/+69
|\ \ | |/ | | | | | | called during shutdown. Emitting resource warning in __del__ no longer fails. Original patch by Antoine Pitrou.
| * Issue #19077: tempfile.TemporaryDirectory cleanup is now most likelySerhiy Storchaka2014-01-272-96/+83
| | | | | | | | | | | | 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 duplicateVictor Stinner2014-01-272-2/+11
| | | | | | | | arguments. Patch by Glenn Langford.
* | Merge.Larry Hastings2014-01-2724-47/+249
|\ \
| * \ Issue #17721: Remove non-functional configuration dialog help button until weTerry Jan Reedy2014-01-271-4/+5
| |\ \ | | |/ | | | | | | make it actually gives some help when clicked. Patch by Guilherme Simões.
| | * Issue #17721: Remove non-functional configuration dialog help button until weTerry Jan Reedy2014-01-271-4/+5
| | | | | | | | | | | | make it actually gives some help when clicked. Patch by Guilherme Simões.
| * | Merge with 3.3Terry Jan Reedy2014-01-271-0/+10
| |\ \ | | |/
| | * Idlelib.calltips: add test of starred first parameters. They should not beTerry Jan Reedy2014-01-271-0/+10
| | | | | | | | | | | | removed even for bound methods. (Inspect.signature does, see 20401.)
| * | White space and merge cleanup.Terry Jan Reedy2014-01-271-4/+0
| | |
| * | Merge with 3.3Terry Jan Reedy2014-01-271-0/+4
| |\ \ | | |/
| | * Merge heads.Terry Jan Reedy2014-01-272-14/+33
| | |\
| * | \ Merge heads.Terry Jan Reedy2014-01-272-23/+40
| |\ \ \
| | * \ \ Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-272-14/+35
| | |\ \ \ | | | | |/ | | | |/| | | | | | Original patch by Serhiy Storchaka.
| | | * | Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-272-14/+33
| | | | | | | | | | | | | | | | | | | | Original patch by Serhiy Storchaka.
| * | | | Update docstring to mention correct PEP number.Eli Bendersky2014-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This file hasn't been touched since its initial commit in 2006. In CPython default branch (3.4), the relevant PEP number is 3333.
| * | | | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+141
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | Based on patch by Claudiu Popa.
| | * | | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+140
| | | | | | | | | | | | | | | | | | | | Based on patch by Claudiu Popa.
| | * | | Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-262-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Rossum2014-01-262-2/+11
| | | | | | | | | | | | | | | | | | | | Patch by Glenn Langford.
| * | | | Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-262-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
| * | | | Merge latest Tulip into asyncioAndrew Svetlov2014-01-263-7/+0
| | | | |
| * | | | Close #20105: set __traceback__ when chaining exceptions in CNick Coghlan2014-01-261-0/+1
| | | | |
* | | | | Version bump for 3.4.0b3.v3.4.0b3Larry Hastings2014-01-262-2/+2
| | | | |
* | | | | Documentation fixes, including fixing "suspicious" problems.Larry Hastings2014-01-261-74/+74
|/ / / /
* | | | Issue #20358: Tests for curses.window.overlay and curses.window.overwriteLarry Hastings2014-01-261-2/+2
| | | | | | | | | | | | | | | | no longer specify min{row,col} > max{row,col}.
* | | | Update pip to 1.5.2 and setuptools to 2.1Donald Stufft2014-01-263-2/+2
| | | |
* | | | asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵Guido van Rossum2014-01-262-11/+21
| | | | | | | | | | | | | | | | them from queue.py.
* | | | asyncio: Locks refactor: use a separate context manager; remove ↵Guido van Rossum2014-01-262-22/+95
| | | | | | | | | | | | | | | | Semaphore._locked.
* | | | asyncio: Fix race in FastChildWatcher (by its original author, Anthony Baire).Guido van Rossum2014-01-261-20/+16
| | | |
* | | | Merge latest Tulip into asyncioVictor Stinner2014-01-253-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | - 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 MockSelectorVictor Stinner2014-01-251-0/+4
| | | |
* | | | Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow2014-01-259-213/+272
| | | | | | | | | | | | | | | | The function is also moved to importlib.util.
* | | | asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop norVictor Stinner2014-01-255-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | BaseProactorEventLoop Import them from submodules if you really need them.
* | | | Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-255-30/+34
|\ \ \ \ | |/ / / | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
| * | | Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-255-30/+34
| | | | | | | | | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
* | | | Update asyncio from the Tulip projectVictor Stinner2014-01-2517-887/+931
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix asyncio tests: define resolutionVictor Stinner2014-01-251-0/+4
| | | |
* | | | test_selectors: remove unused importsVictor Stinner2014-01-251-1/+1
| | | |
* | | | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximumVictor Stinner2014-01-254-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | 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 Stinner2014-01-252-1/+27
| | | |
* | | | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() andVictor Stinner2014-01-252-27/+2
| | | | | | | | | | | | | | | | EpollSelector.select() round again the timeout towards zero