summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14117: Inprove help text and docstrings, some for clarity, some just toTerry Jan Reedy2014-06-257-48/+60
| | | | fit in the default width of the text window (45 chars).
* Issue 21832: Require named tuple inputs to be exact stringsRaymond Hettinger2014-06-241-0/+3
|
* asyncio: repr(Task) now also contains the line number even if the coroutine isVictor Stinner2014-06-242-4/+8
| | | | | | | | done: use the first line number of the code object instead of the current line number of the generator frame. The name of the coroutine is not enough because many coroutines may have the same name. It's a common case in asyncio tests for example.
* #20155: use fake HTTP method names so windows doesn't hang the tests.R David Murray2014-06-241-2/+3
| | | | | | | Windows was seeing the 'GET' generated by these tests as invalid and forcibly closing the socket, causing the test to fail. Patch by Jeff Allen.
* asyncio: Log an error if a Task is destroyed while it is still pendingVictor Stinner2014-06-244-4/+60
|
* inspect: Validate that __signature__ is None or an instance of Signature.Yury Selivanov2014-06-232-0/+11
| | | | Closes #21801.
* asyncio: Fix BaseEventLoop._assert_is_current_event_loop(): get_event_loop()Victor Stinner2014-06-231-2/+5
| | | | raises an exception if there is no current loop
* Issue #8343: Named group error msgs did not show the group name.Raymond Hettinger2014-06-231-3/+6
|
* asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if theVictor Stinner2014-06-225-3/+16
| | | | | event loop is running. You must first stop the event loop and then wait until it stopped, before closing it.
* asyncio, Tulip issue 172: only log selector timing in debug modeVictor Stinner2014-06-222-2/+4
|
* asyncio: Add an unit test to check that setting the PYTHONASYNCIODEBUG env varVictor Stinner2014-06-222-4/+24
| | | | enables debug mode of the event loop.
* asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUGVictor Stinner2014-06-225-13/+6
| | | | environment variable is set
* asyncio: BaseEventLoop._assert_is_current_event_loop() now only raises anVictor Stinner2014-06-221-1/+2
| | | | | | | | | | | | exception if the current loop is not None. Guido van Rossum wrote: "The behavior that you can set the loop to None (and keep track of it explicitly) is part of the spec, and this should still be supported even in debug mode. The behavior that we raise an error if you are caught having multiple active loops per thread is just a debugging heuristic, and it shouldn't break code that follows the spec."
* Issue #21812: Trigger immediate transformation in turtle.shapetransform().Raymond Hettinger2014-06-221-1/+1
|
* Issue #21823: Catch turtle.Terminator exceptions in turtledemo.Terry Jan Reedy2014-06-223-25/+37
| | | | Add note to demohelp.txt about doing so.
* Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().Raymond Hettinger2014-06-212-2/+11
|
* Merge.Charles-François Natali2014-06-201-2/+2
|\
| * Issue #21770: Call function instead of module. Patch by Claudiu Popa.Terry Jan Reedy2014-06-201-2/+2
| |
* | Fix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag.Charles-François Natali2014-06-201-0/+3
|/
* Issue #21491: socketserver: Fix a race condition in child processes reaping.Charles-François Natali2014-06-201-26/+30
|
* Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.Terry Jan Reedy2014-06-201-1/+1
|
* Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.Terry Jan Reedy2014-06-201-1/+1
|
* asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 msVictor Stinner2014-06-202-5/+55
| | | | to be executed.
* Tulip issue 83: document more asyncio functions in docstringsVictor Stinner2014-06-192-7/+55
|
* Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads allVictor Stinner2014-06-191-4/+9
| | | | | | available bytes from the "self pipe", not only a single byte. This change reduces the risk of having the pipe full and so getting the innocuous "BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
* Issue #21722: The distutils "upload" command now exits with a non-zero ↵Antoine Pitrou2014-06-192-11/+20
| | | | | | return code when uploading fails. Patch by Martin Dengler.
* Issue #3485: remove misleading commentNed Deily2014-06-181-1/+0
|
* asyncio: Fix pyflakes errorsVictor Stinner2014-06-183-5/+2
| | | | | | - Add a missing import - Remove an unused import - Remove unused variables
* asyncio: Refactor tests: add a base TestCase classVictor Stinner2014-06-1713-219/+145
|
* asyncio: Refactor test__run_once_logging() to not rely on the exact number ofVictor Stinner2014-06-171-18/+11
| | | | calls to time.monotonic(). Use a "fast select" and a "slow select" instead.
* asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator onVictor Stinner2014-06-172-12/+46
| | | | | | | | | | | Python 3.5 - Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__ attribute. - Add tests on __name__, __qualname__ and __module__ of a coroutine function and coroutine object. - Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on Python 3.3 or 3.4
* Issue #21723: asyncio.Queue: support any type of number (ex: float) for theVictor Stinner2014-06-172-3/+18
| | | | maximum size. Patch written by Vajrasky Kok.
* Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.Terry Jan Reedy2014-06-172-4/+119
|
* merge 3.3Benjamin Peterson2014-06-171-1/+1
|\
| * merge 3.2Benjamin Peterson2014-06-171-1/+1
| |\
| | * expect the correct platform-dependent linesepBenjamin Peterson2014-06-171-1/+1
| | |
* | | Issue #21686: add unittest for idlelib.HyperParser. Original patch by SaimadhavTerry Jan Reedy2014-06-162-4/+201
| | | | | | | | | | | | Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
* | | asyncio: Task.__repr__() now also handles CoroWrapperVictor Stinner2014-06-161-1/+1
| | |
* | | Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written byVictor Stinner2014-06-161-3/+1
| | | | | | | | | | | | | | | | | | | | | Claudiu Popa. The print_diffs() function was not defined, using the assertEqual() is more reliable.
* | | Sync asyncio with Tulip: Fix test_tasks for Python 3.5Victor Stinner2014-06-161-4/+8
| | | | | | | | | | | | | | | | | | On Python 3.5, generator now gets their name from the function, no more from the code. So we get the expected "notmuch" name instead of the generic "coro" name.
* | | Issue #21669: Special case print & exec syntax errorsNick Coghlan2014-06-161-0/+25
| | |
* | | whitespaceTerry Jan Reedy2014-06-161-1/+1
| | |
* | | Issue #21686: idlelib/HyperParser.py - Update docstrings and comments andTerry Jan Reedy2014-06-161-80/+84
| | | | | | | | | | | | replace \ line contiuation. Tested against nearly done test_hyperparser.py.
* | | clarify when the list of subdirectories is read (closes #13779)Benjamin Peterson2014-06-161-5/+7
| | |
* | | fix a BytesWarning in my previous commit.Gregory P. Smith2014-06-161-1/+1
| | |
* | | Isolate the subprocess test_close_fds_when_max_fd_is_lowered test soGregory P. Smith2014-06-161-8/+30
| | | | | | | | | | | | | | | | | | that the rlimit calls happens in a child process rather than the TestCase process to attempt to fix the gentoo buildbot's "Too many open files" error.
* | | Issue #21774: Fix incorrect variable in xml.dom.minidomRaymond Hettinger2014-06-152-1/+8
| | |
* | | merge 3.3 (#21766)Benjamin Peterson2014-06-152-1/+6
|\ \ \ | |/ /
| * | merge 3.2 (#21766)Benjamin Peterson2014-06-152-1/+6
| |\ \ | | |/
| | * url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-152-1/+6
| | | | | | | | | | | | #21766)