| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.
|
| |
|
| |
|
|
|
|
| |
modified.
|
|
|
|
| |
representation of Handle and TimerHandle after cancel().
|
|\
| |
| |
| | |
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
|
| |
| |
| |
| | |
65536 bytes.
|
|\ \
| |/
| |
| | |
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
|
| |
| |
| |
| | |
interfaces.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
|
| |
| |
| |
| |
| |
| | |
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
|
| |
| |
| |
| |
| | |
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
|
| |
| |
| |
| | |
response is received. Patch by Martin Panter.
|
| | |
|
| |
| |
| |
| | |
support.unlink()
|
| |
| |
| |
| | |
support.rmtree() and support.unlink() in test_zipfile & test_tarfile
|
| |
| |
| |
| |
| | |
check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is
skipped if smtp.gmail.com cannot be joined, not the whole file.
|
| |
| |
| |
| | |
implementation is broken (ex: skipped on FreeBSD 6.4).
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
posixpath.join().
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
+ 'c'``.
Thanks to Arfrever Frehtes Taifersar Arahesis.
|
| |
| |
| |
| |
| |
| | |
it don't raise an exception if doraise is False.
Patch by Bohuslav "Slavek" Kabrda.
|
| |
| |
| |
| | |
Thanks to Jon Poler for the patch.
|
| |
| |
| |
| | |
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
|
| |
| |
| |
| | |
Initial patch by Sam Bull.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|