summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21882: In turtle demos, remove module scope gui and sys calls byTerry Jan Reedy2014-06-307-61/+51
| | | | either deleting or moving to the module's main function.
* Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly()Victor Stinner2014-06-303-1/+14
| | | | | don't log the "destroy pending task" message anymore. The log is redundant for run_until_complete() and useless in run_briefly().
* asyncio: sync with TulipVictor Stinner2014-06-303-10/+52
| | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback()
* Fix typo in socket.getaddrinfo() docstring.Berker Peksag2014-06-301-4/+4
| | | | Reported by Krishna Kumar Thakur on docs@.
* Issue #21811: Add Misc/NEWS entry.Ned Deily2014-06-301-0/+2
|
* Issue #14235: Use importlib.reload() in test_cmd.test_coverage.Berker Peksag2014-06-301-1/+1
|
* Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside aStefan Krah2014-06-291-2/+2
| | | | getbufferproc().
* Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built ↵Berker Peksag2014-06-291-1/+5
| | | | without threads.
* 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
|/ /