| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The imap.IMAP4.logout() method no longer ignores silently arbitrary
exceptions.
Changes:
* The IMAP4.logout() method now expects a "BYE" untagged response,
rather than relying on _check_bye() which raises a self.abort()
exception.
* IMAP4.__exit__() now does nothing if the client already logged out.
* Add more debug info if test_logout() tests fail.
|
| |
|
| |
|
|
|
|
|
| |
imaplib now allows MOVE command in IMAP4.uid() (RFC 6851:
IMAP MOVE Extension) and potentially as a name of supported
method of IMAP4 object.
|
| |
|
|
|
|
|
|
| |
Catch the Windows socket WSAEINVAL error (code 10022) in imaplib and
poplib on shutdown(SHUT_RDWR): An invalid operation was attempted
This error occurs sometimes on SSL connections.
|
|\ |
|
| |
| |
| |
| | |
Patch by Maciej Szulik.
|
| |
| |
| |
| |
| |
| |
| | |
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.
ssl.wrap_socket() is not marked as deprecated yet.
|
| |
| |
| |
| |
| |
| |
| | |
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
|
|/
|
|
|
|
|
|
|
|
|
| |
and others, including imaplib's own behavior. I'm applying this only to 3.6
because there's a potential backward compatibility concern: if there are
servers that include ] characters in the 'text' portion of their imap
responses, this code change could introduce a new bug.
Patch by Lita Cho, reviewed by Jessica McKellar, Berker Peksag, Maciej Szulik,
silentghost, and me (I fleshed out the comments with the additional
info/concerns.)
|
|\
| |
| |
| | |
Patch from Craig Holmquist.
|
| |
| |
| |
| | |
Patch from Craig Holmquist.
|
| |
| |
| |
| |
| | |
Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Donald Stufft.
|
|/
|
|
| |
Original patch by Tarek Ziadé.
|
|
|
|
|
|
|
|
| |
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
|
|
|
|
| |
indication for TLS/SSL connections.
|
|
|
|
|
| |
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().
|
|
|
|
| |
module supports digestmod names, e.g. hmac.HMAC('sha1').
|
|\ |
|
| |
| |
| |
| | |
line length. Patch by Emil Lind.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
We ran into this during the sprits at PyCon and this patch has been
sitting on my disk ever since. This just adds some information to the
error message that we found useful during debugging. There's no good
way to add a test, since the message only got generated via code
that we had modified for debugging purposes.
|
| |
| |
| |
| | |
ModuleNotFoundError.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
|
|/ / |
|
|\ \
| |/
| |
| | |
Patch by Serhiy Storchaka.
|
| | |
|
|\ \
| |/
| |
| | |
the DST transition. Patch by Joe Peterson.
|
| |
| |
| |
| | |
the DST transition. Patch by Joe Peterson.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
reads and simplify code.
|
|/
|
|
|
| |
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
|
|
|
|
| |
for the report and the patch. Reviewed by Georg Brandl.
|
|
|
|
|
| |
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
|
|
|
|
|
| |
Fix a ResourceWarning(unclosed socket) if an exception is raised in the
constructor after the creation of the socket. Patch written by Nadeem Vawda.
|
|
|
|
| |
rather than strings.
|
|
|
|
| |
standard IMAP4 connections. Original patch by Lorenzo M. Catucci.
|
|
|
|
| |
closes the connection before we can call shutdown().
|
| |
|