summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18592: Method return signature changes made to SearchDialogBase forTerry Jan Reedy2014-07-134-19/+35
| | | | | test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings are improved. Initial patch by Saimadhav Heblikar
* Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-134-6/+26
|\ | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-134-5/+25
| |\ | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| | * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-134-5/+25
| | | | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
* | | Issue #19076: Don't pass the redundant 'file' argument to self.error().Berker Peksag2014-07-122-1/+3
| | |
* | | asyncio: Server.close() leaves client sockets openVictor Stinner2014-07-121-2/+5
| | |
* | | asyncio: sync with TulipVictor Stinner2014-07-127-29/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tulip issue #183: log socket events in debug mode - Log most important socket events: socket connected, new client, connection reset or closed by peer (EOF), etc. - Log time elapsed in DNS resolution (getaddrinfo) - Log pause/resume reading - Log time of SSL handshake - Log SSL handshake errors - Add a __repr__() method to many classes * Fix ProactorEventLoop() in debug mode. ProactorEventLoop._make_self_pipe() doesn't call call_soon() directly because it checks for the current loop which fails, because the method is called to build the event loop. * Cleanup _ProactorReadPipeTransport constructor. Not need to set again _read_fut attribute to None, it is already done in the base class.
* | | asyncio: improve the documentation of serversVictor Stinner2014-07-113-19/+33
| | | | | | | | | | | | | | | | | | - Fix the documentation of Server.close(): it closes sockets - Replace AbstractServer with Server - Document Server.sockets attribute
* | | asyncio, Tulip issue 180: Make Server attributes and methods privateVictor Stinner2014-07-113-24/+25
| | | | | | | | | | | | | | | | | | | | | - loop, waiters and active_count attributes are now private - attach(), detach() and wakeup() methods are now private The sockets attribute remains public.
* | | Issue #21906: Make Tools/scripts/md5sum.py work in Python 3.Berker Peksag2014-07-113-13/+77
| | | | | | | | | | | | Patch by Zachary Ware.
* | | asyncio: enhance documentation of platform supportVictor Stinner2014-07-112-9/+26
| | |
* | | asyncio: sync with TulipVictor Stinner2014-07-116-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tulip issue #182: Improve logs of BaseEventLoop._run_once() - Don't log non-blocking poll - Only log polling with a timeout if it gets events or if it timed out after more than 1 second. * Fix some pyflakes warnings: remove unused imports
* | | Issue #18592: Make unittest for SearchDialogBase work on all tk versions.Terry Jan Reedy2014-07-111-4/+4
| | |
* | | Idle News entries.Terry Jan Reedy2014-07-111-0/+7
| | |
* | | #21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.Terry Jan Reedy2014-07-113-13/+145
| | |
* | | asyncio: sync with TulipVictor Stinner2014-07-103-18/+6
| | | | | | | | | | | | | | | | | | | | | - CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+
* | | asyncio: sync with TulipVictor Stinner2014-07-104-15/+70
| | | | | | | | | | | | | | | | | | | | | - repr(Task) and repr(CoroWrapper) now also includes where these objects were created. If the coroutine is not a generator (don't use "yield from"), use the location of the function, not the location of the coro() wrapper. - Fix create_task(): truncate the traceback to hide the call to create_task().
* | | asyncio: sync with TulipVictor Stinner2014-07-103-16/+74
| | | | | | | | | | | | | | | | | | | | | | | | - Issues #21936, #21163: Fix sporadic failures of test_future_exception_never_retrieved() - Handle.cancel() now clears references to callback and args - In debug mode, repr(Handle) now contains the location where the Handle was created.
* | | Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.Zachary Ware2014-07-103-10/+7
| | |
* | | Issue #21940: add docstrings to idlelib.WidgetRedirector.Terry Jan Reedy2014-07-101-18/+60
| | |
* | | Issues #21948 and #16040: Fix typos.Berker Peksag2014-07-092-2/+2
| | |
* | | asyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint() now waitsVictor Stinner2014-07-085-5/+28
| | | | | | | | | | | | | | | until protocol.connection_made() has been called. Document also why transport constructors use a waiter.
* | | Issue #21680: Document asyncio event loopsVictor Stinner2014-07-084-88/+195
| | |
* | | Update asyncio documentationVictor Stinner2014-07-084-49/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Document the new create_task() method - "Hide" the Task class: point to the create_task() method for interoperability - Rewrite the documentation of the Task class - Document the "Pending task destroyed" - Update output in debug mode of examples in the dev section - Replace Task() with create_task() in examples
* | | asyncio: sync with TulipVictor Stinner2014-07-089-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tulip issue 185: Add a create_task() method to event loops. The create_task() method can be overriden in custom event loop to implement their own task class. For example, greenio and Pulsar projects use their own task class. The create_task() method is now preferred over creating directly task using the Task class. - tests: fix a warning - fix typo in the name of a test function - Update AbstractEventLoop: add new event loop methods; update also the unit test
* | | Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError ifVictor Stinner2014-07-073-0/+13
| | | | | | | | | | | | the number of received bytes is negative.
* | | asynchat: PEP8-ify the codeVictor Stinner2014-07-072-57/+68
| | |
* | | Issue #12523: asynchat.async_chat.push() now raises a TypeError if it doesn'tVictor Stinner2014-07-073-0/+22
| | | | | | | | | | | | get a bytes string
* | | Issue #21925: PyImport_Cleanup(): Remove unused parameter inVictor Stinner2014-07-071-1/+1
| | | | | | | | | | | | PySys_FormatStderr() call
* | | Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requiresVictor Stinner2014-07-071-1/+1
| | | | | | | | | | | | size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
* | | Issue #17846: Clarify note about Solution Folders.Zachary Ware2014-07-071-2/+5
| | | | | | | | | | | | Initial patch by Kathleen Weaver.
* | | Fix MSVC edition mismatch.Zachary Ware2014-07-071-1/+1
| | |
* | | Issue #21707: Fix tests on Windows.Berker Peksag2014-07-071-1/+1
| | |
* | | asyncio: sync with TulipVictor Stinner2014-07-072-2/+2
| | | | | | | | | | | | | | | Backout the "Tulip issue 181: Faster create_connection()" changeset, it was a mistake.
* | | asyncio: sync with TulipVictor Stinner2014-07-073-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Tulip issue #181: Faster create_connection(). Call directly waiter.set_result() in the constructor of _ProactorBasePipeTransport and _SelectorSocketTransport, instead of using of delaying the call with call_soon(). - Cleanup iscoroutine()
* | | Merge headsSerhiy Storchaka2014-07-073-9/+21
|\ \ \
| * | | Issue #21707: Add missing kwonlyargcount argument to ↵Berker Peksag2014-07-073-9/+21
| | | | | | | | | | | | | | | | ModuleFinder.replace_paths_in_code().
* | | | Issue #21881: Just omit tests for platform-specific NaN representation in ↵Serhiy Storchaka2014-07-071-6/+2
|/ / / | | | | | | | | | test_tcl.
* | | Issue #19593: Use specific asserts in importlib tests.Serhiy Storchaka2014-07-075-7/+7
| | |
* | | Merge headsSerhiy Storchaka2014-07-0723-94/+223
|\ \ \
| * | | Issue #20639: calling Path.with_suffix('') allows removing the suffix again.Antoine Pitrou2014-07-073-4/+12
| | | | | | | | | | | | | | | | Patch by July Tikhonov.
| * | | Issue #21714: Disallow the construction of invalid paths using ↵Antoine Pitrou2014-07-073-0/+15
| | | | | | | | | | | | | | | | Path.with_name(). Original patch by Antony Lee.
| * | | Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compilerNed Deily2014-07-063-1/+27
| | | | | | | | | | | | | | | | due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
| * | | #20135: move FAQ about mutable default arguments to the programming FAQs page.Ezio Melotti2014-07-062-56/+56
| | | |
| * | | Closes #21921: Fix ResourceWarning in the asyncio examples: close the eventVictor Stinner2014-07-052-3/+12
| | | | | | | | | | | | | | | | | | | | loop at exit. Patch written by Vajrasky Kok (I modified also the "hello world" example using a coroutine).
| * | | Closes #21886, #21447: Fix a race condition in asyncio when setting the resultVictor Stinner2014-07-059-7/+31
| | | | | | | | | | | | | | | | | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
| * | | Issue #21920: Add a missing colon to the __main__ doc.Berker Peksag2014-07-051-1/+1
| | | | | | | | | | | | | | | | Patch by Stefan Tatschner.
| * | | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-053-1/+56
| | | | | | | | | | | | | | | | when frame.clear() has been called.
| * | | properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
| | | |
| * | | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()Victor Stinner2014-07-041-18/+8
| | | | | | | | | | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T