summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-2812-199/+221
|
* Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵Jesus Cea2014-06-281-1/+1
| | | | (Solaris)
* asyncio: Fix two "Coroutine xxx was never yielded from" messages in testsVictor Stinner2014-06-271-2/+6
|
* asyncio: Fix unit tests on Windows, escape filenames in regexVictor Stinner2014-06-272-6/+6
|
* Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapperVictor Stinner2014-06-273-0/+28
| | | | | object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing.
* Closes #21582: Cleanup test_asyncore. Patch written by diana.Victor Stinner2014-06-271-36/+18
| | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead.
* Fix indentation and class name in socket howto example.Ezio Melotti2014-06-271-3/+3
|
* asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task andVictor Stinner2014-06-278-26/+180
| | | | | | | | | | | Handle objects are created. Pass the traceback to call_exception_handler() in the 'source_traceback' key. The traceback is truncated to hide internal calls in asyncio, show only the traceback from user code. Add tests for the new source_traceback, and a test for the 'Future/Task exception was never retrieved' log.
* asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutineVictor Stinner2014-06-272-7/+42
| | | | object was created to the "coroutine ... was never yield from" log
* asyncio: Oops, restore a removed testVictor Stinner2014-06-271-0/+3
|
* Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.Ned Deily2014-06-272-8/+2
|
* use NULL not 0Benjamin Peterson2014-06-271-9/+6
|
* Issue #21858: Better handling of Python exceptions in the sqlite3 module.Victor Stinner2014-06-262-16/+28
|
* Issue #21829: Fix running test_ctypes on Windows with -O or -OOZachary Ware2014-06-261-12/+3
|
* #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.R David Murray2014-06-263-1/+31
| | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok.
* Issue #19145: Remove duplicate ACKS entryRaymond Hettinger2014-06-261-1/+0
|
* Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings,Terry Jan Reedy2014-06-261-30/+57
| | | | move two functions next to the functions that use them.
* asyncio: Handle error handler: enhance formatting of the callbackVictor Stinner2014-06-251-2/+2
|
* Issue #21163: Fix one more "Task was destroyed but it is pending!" log in testsVictor Stinner2014-06-251-2/+6
|
* asyncio: sync with TulipVictor Stinner2014-06-252-0/+9
| | | | | | - Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in tests - Add test to check that run_until_complete() checks the loop of the future
* Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs ↵Victor Stinner2014-06-253-16/+22
| | | | in tests
* Issue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.Ned Deily2014-06-252-16/+42
|
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-256-18/+40
|
* asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandleVictor Stinner2014-06-257-128/+231
| | | | | | - Uniformize repr() output to format "<Class ...>" - On Python 3.5+, repr(Task) uses the qualified name instead of the short name of the coroutine
* Issue #21729: Used the "with" statement in the dbm.dumb module to ensureSerhiy Storchaka2014-06-252-36/+36
| | | | files closing. Patch by Claudiu Popa.
* MERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documentedJesus Cea2014-06-251-2/+16
|\
| * Closes #20872: dbm/gdbm/ndbm close methods are not documentedJesus Cea2014-06-251-2/+16
| |
* | issue20753 - robotparser tests should not rely upon external resource when ↵Senthil Kumaran2014-06-251-25/+47
| | | | | | | | | | | | | | | | | | | | not required. Specifically, it was relying a URL which gave HTTP 403 and used it to assert it's methods, this changes undoes that and provides a local http server with similar properties. Patch contributed by Vajrasky Kok.
* | Correct the quopri module documentation. Mention the correct types of theSenthil Kumaran2014-06-252-24/+22
| | | | | | | | | | | | parameters on encodestring and decodestring. Patch by Petri Lehtinen.
* | Fixed typo in documentation.Vinay Sajip2014-06-251-1/+1
| |
* | Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-254-2/+23
| | | | | | | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* | MERGE: Closes #21441: Reorder elements in documentation to match actual ↵Jesus Cea2014-06-251-10/+10
|\ \ | |/ | | | | order in the code
| * Closes #21441: Reorder elements in documentation to match actual order in ↵Jesus Cea2014-06-251-10/+10
| | | | | | | | the code
* | 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).
* | Add news entry for #21832Raymond Hettinger2014-06-251-0/+2
| |
* | mergeRaymond Hettinger2014-06-250-0/+0
|\ \
| * \ mergeRaymond Hettinger2014-06-244-4/+60
| |\ \
| * | | Issue 21832: Require named tuple inputs to be exact stringsRaymond Hettinger2014-06-241-0/+3
| | | |
* | | | 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-243-2/+8
| |/ / |/| | | | | | | | | | | | | | | | | 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
|/ /
* | mergeRaymond Hettinger2014-06-241-0/+1
|\ \
| * | add Chris FosterBenjamin Peterson2014-06-241-0/+1
| | |
* | | Issue #11974: Add tutorial section on class and instance variablesRaymond Hettinger2014-06-242-0/+72
|/ / | | | | | | (Based on a patch from Renee Chu.)
* | inspect: Validate that __signature__ is None or an instance of Signature.Yury Selivanov2014-06-233-0/+13
| | | | | | | | 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
| |
* | clarify that islink only really works if python knows about symlinks (closes ↵Benjamin Peterson2014-06-231-1/+1
| | | | | | | | | | | | #13143) Patch from Yayoi Ukai.
* | some timezone doc improvements (closes #16667)Benjamin Peterson2014-06-221-4/+6
| | | | | | | | From the combined efforts of Berber Peksage, Andrew Svetlov, and Yayoi Ukai.