summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #22221: Add tests for compile() with source encoding cookie.Serhiy Storchaka2014-09-051-3/+20
| |
* | Issue #21933: Make Control-Mousewhell only change font size and not also scroll.Terry Jan Reedy2014-09-051-19/+21
| | | | | | | | Original patch by Serhiy Storchaka.
* | NEWS items for Idle.Terry Jan Reedy2014-09-031-2/+8
| |
* | NEWS items for turtledemo.Terry Jan Reedy2014-09-031-0/+16
| |
* | Issue #22051: remove unneeded reload that allowed bad code.Terry Jan Reedy2014-09-031-2/+0
| |
* | Issue #21440: test_zipfile: replace last direct calls to os.remove() withVictor Stinner2014-09-031-5/+5
| | | | | | | | support.unlink()
* | Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, useVictor Stinner2014-09-032-32/+30
| | | | | | | | support.rmtree() and support.unlink() in test_zipfile & test_tarfile
* | Issue #20957: test_smtpnet now uses support.transient_internet() to callVictor Stinner2014-09-031-2/+5
| | | | | | | | | | check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is skipped if smtp.gmail.com cannot be joined, not the whole file.
* | Issue #22332: test_multiprocessing_main_handling is now skipped if sem_openVictor Stinner2014-09-031-0/+3
| | | | | | | | implementation is broken (ex: skipped on FreeBSD 6.4).
* | Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0Victor Stinner2014-09-031-0/+2
| |
* | Issue #21933: Users can now change the font size for example code.Terry Jan Reedy2014-09-031-22/+71
| | | | | | | | Original patch by Lita Cho.
* | Closes #22258: Fix the the internal function set_inheritable() on Illumos.Victor Stinner2014-09-022-14/+39
| | | | | | | | | | | | This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
* | Remove unused imports.Berker Peksag2014-09-011-2/+2
| |
* | Issue #19447: Suppress output of py_compile.compile().Berker Peksag2014-09-011-1/+2
| |
* | Issue #22320: Fix broken link in the General Python FAQ.Ned Deily2014-09-011-1/+2
| | | | | | | | Original patch by Josh Lynn.
* | #22315: Use advertised API for OSErrorJason R. Coombs2014-08-311-2/+1
| |
* | #22315: Use an existent directory for 'src' to trigger appropriate behavior.Jason R. Coombs2014-08-311-1/+2
| |
* | #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.