summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | #22315: Provide an actual directory during test invocation.Jason R. Coombs2014-08-311-1/+1
| |
* | #22315: Use technique outlined in test_file_utilJason R. Coombs2014-08-311-22/+5
| |
* | #22315: Add test to capture the failure.Jason R. Coombs2014-08-311-0/+29
| |
* | Correct indentJason R. Coombs2014-08-311-1/+1
| |
* | Remove unused importJason R. Coombs2014-08-311-1/+0
| |
* | asyncio, Tulip issue 205: Fix a race condition in ↵Victor Stinner2014-08-312-35/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BaseSelectorEventLoop.sock_connect() There is a race condition in create_connection() used with wait_for() to have a timeout. sock_connect() registers the file descriptor of the socket to be notified of write event (if connect() raises BlockingIOError). When create_connection() is cancelled with a TimeoutError, sock_connect() coroutine gets the exception, but it doesn't unregister the file descriptor for write event. create_connection() gets the TimeoutError and closes the socket. If you call again create_connection(), the new socket will likely gets the same file descriptor, which is still registered in the selector. When sock_connect() calls add_writer(), it tries to modify the entry instead of creating a new one. This issue was originally reported in the Trollius project, but the bug comes from Tulip in fact (Trollius is based on Tulip): https://bitbucket.org/enovance/trollius/issue/15/after-timeouterror-on-wait_for This change fixes the race condition. It also makes sock_connect() more reliable (and portable) is sock.connect() raises an InterruptedError.
* | Closes #22275: asyncio: enhance documentation of OS supportVictor Stinner2014-08-312-8/+26
| |
* | getuid() returns real process id not effective (closes #22307)Benjamin Peterson2014-08-311-4/+4
| |
* | #22215: have the smtplib 'quit' command reset the state.R David Murray2014-08-303-0/+23
| | | | | | | | | | | | | | | | | | | | | | Without this reset, starttls would fail if a connect/starttls was done after a quit, because smtplib assumed the existing value of emspt_features was accurate, but it gets reset when starttls completes (and the new value does not contain the starttls capability, since tls is already started at that point). (There may be additional places where this lack of reset was an issue as well.) Patch by Milan Oberkirch.
* | Issue #22185: Fix an occasional RuntimeError in threading.Condition.wait() ↵Antoine Pitrou2014-08-293-5/+11
| | | | | | | | | | | | caused by mutation of the waiters queue without holding the lock. Patch by Doug Zongker.
* | Issue #22182: Use e.args to unpack exceptions correctly in ↵Berker Peksag2014-08-293-2/+25
| | | | | | | | | | | | distutils.file_util.move_file. Patch by Claudiu Popa.
* | asyncio, Tulip issue 201: Fix a race condition in wait_for()Victor Stinner2014-08-282-6/+24
| | | | | | | | | | | | Don't raise a TimeoutError if we reached the timeout and the future completed in the same iteration of the event loop. A side effect of the bug is that Queue.get() looses items.
* | The webbrowser module now uses subprocess's start_new_session=True ratherGregory P. Smith2014-08-272-11/+7
| | | | | | | | than a potentially risky preexec_fn=os.setsid call.
* | Issue #22065: Remove the now unsed configGUI menu parameter and arguments.Terry Jan Reedy2014-08-271-10/+8
| |
* | Issue #22065: Menus, unlike Menubottons, do not have a state option.Terry Jan Reedy2014-08-272-8/+7
| | | | | | | | | | Since a new demo can now be loaded while one is running, adjust loadfile to do the same cleanup as stopIt.
* | Introduce and check for MPD_VERSION_HEX for precise management of buildsStefan Krah2014-08-263-5/+9
| | | | | | | | with an external libmpdec.
* | Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah2014-08-263-4/+14
| |
* | Issue #22063: Fix asyncio documentation of socket and pipe operations regardingVictor Stinner2014-08-251-5/+14
| | | | | | | | | | to non-blocking mode. The non-blocking mode does not matter when using a ProactorEventLoop, only for SelectorEventLoop.
* | asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() methodVictor Stinner2014-08-253-0/+17
| |
* | asyncio: sync with TulipVictor Stinner2014-08-2510-64/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PipeServer.close() now cancels the "accept pipe" future which cancels the overlapped operation. * Fix _SelectorTransport.__repr__() if the transport was closed * Fix debug log in BaseEventLoop.create_connection(): get the socket object from the transport because SSL transport closes the old socket and creates a new SSL socket object. Remove also the _SelectorSslTransport._rawsock attribute: it contained the closed socket (not very useful) and it was not used. * Issue #22063: socket operations (sock_recv, sock_sendall, sock_connect, sock_accept) of the proactor event loop don't raise an exception in debug mode if the socket are in blocking mode. Overlapped operations also work on blocking sockets. * Fix unit tests in debug mode: mock a non-blocking socket for socket operations which now raise an exception if the socket is blocking. * _fatal_error() method of _UnixReadPipeTransport and _UnixWritePipeTransport now log all exceptions in debug mode * Don't log expected errors in unit tests * Tulip issue 200: _WaitHandleFuture._unregister_wait() now catchs and logs exceptions. * Tulip issue 200: Log errors in debug mode instead of simply ignoring them.
* | asyncio: update the docVictor Stinner2014-08-252-8/+15
| | | | | | | | | | | | * dev: mention that the logging must be configured at DEBUG level * streams: drain() has no more a strange return value, it's just a standard coroutine
* | allow test to work on implementations not using ref-counting (closes #22265)Benjamin Peterson2014-08-241-0/+1
| |
* | fix some test_weakref tests to not rely on ref-counting (closes #22267)Benjamin Peterson2014-08-241-0/+2
| |
* | Issue #22034: Got rid of misleading error message for bytearray arguments inSerhiy Storchaka2014-08-242-16/+10
| | | | | | | | posixpath.join().
* | Issue #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-2415-271/+231
| | | | | | | | | | | | | | | | | | window is created for every test class. Fixed Tkinter images copying operations in NoDefaultRoot mode. Tcl command names generated for "after" callbacks now contains a name of original function.
* | Issue #13540: add missing markup.Terry Jan Reedy2014-08-241-2/+2
| |
* | Issue #21166: fix typo in commentNed Deily2014-08-241-1/+1
| |
* | Issue #22243: fix except grammar in reference.Terry Jan Reedy2014-08-231-1/+1
| |
* | Issue #22232 (partial fix): update Universal newlines Glossary entry.Terry Jan Reedy2014-08-231-1/+1
| |
* | Merge heads.Terry Jan Reedy2014-08-231-1/+0
|\ \
| * | Idle ColorDelegator: finish removing code for 'as'.Terry Jan Reedy2014-08-191-1/+0
| | |
* | | Forward port PEP 466 What's New in 2.7 updatesNick Coghlan2014-08-231-6/+16
| | |
* | | Issue #21166: Prevent possible segfaults and other random failures ofNed Deily2014-08-224-1/+20
| | | | | | | | | | | | | | | | | | | | | python --generate-posix-vars in pybuilddir.txt build target by ensuring that pybuilddir.txt is always regenerated when configure is run and that the newly built skeleton python does not inadvertently import modules from previously installed instances.
* | | Issue #19447: Use importlib.util.cache_from_source() instead of ``bad_coding ↵Berker Peksag2014-08-221-1/+2
| | | | | | | | | | | | | | | | | | + 'c'``. Thanks to Arfrever Frehtes Taifersar Arahesis.
* | | Issue #19447: Add a test case to py_compile.compile() to make sureBerker Peksag2014-08-221-0/+4
| | | | | | | | | | | | | | | | | | it don't raise an exception if doraise is False. Patch by Bohuslav "Slavek" Kabrda.
* | | Issue #22150: Fix deprecated-removed directive in Sphinx 1.2.Berker Peksag2014-08-222-1/+5
| | |
* | | Issue #22191: Fix warnings.__all__.Brett Cannon2014-08-224-1/+24
| | | | | | | | | | | | Thanks to Jon Poler for the patch.
* | | Fix issue22245 - Fix urllib2_localnet test.Senthil Kumaran2014-08-221-1/+0
| | | | | | | | | | | | Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
* | | Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵Senthil Kumaran2014-08-203-18/+88
|/ / | | | | | | Initial patch by Sam Bull.
* | Idle ColorDelegator: remove special case code for 'as' in import statements.Terry Jan Reedy2014-08-191-17/+0
| | | | | | | | 'As' became a full keyword when with statements were added in 2.5/2.6.
* | Fixed typo.Serhiy Storchaka2014-08-191-2/+2
| |
* | Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-193-1/+28
| |
* | Clean up test_user_command.Serhiy Storchaka2014-08-181-11/+14
| |
* | remove 2.2 and 2.6 compat code (closes #22200)Benjamin Peterson2014-08-181-26/+11
| | | | | | | | Patch from Thomas Kluyver.
* | Issue #22165: Fixed test_undecodable_filename on Mac OS.Serhiy Storchaka2014-08-171-0/+7
| |
* | Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.Serhiy Storchaka2014-08-173-15/+40
| |
* | Issue #22201: Command-line interface of the zipfile module now correctlySerhiy Storchaka2014-08-172-12/+4
| | | | | | | | extracts ZIP files with directory entries. Patch by Ryan Wilson.
* | Issue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.Serhiy Storchaka2014-08-171-2/+3
| |
* | Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.Serhiy Storchaka2014-08-173-4/+36
| |
* | backout changeset 3435c5865cfc due to buildbot failures. Ref #8797Senthil Kumaran2014-08-163-88/+18
| |