| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
and socket open until the garbage collector cleans them up. Patch by
Martin Panter.
|
|
|
|
| |
Patch by Donald Stufft.
|
| |
|
| |
|
| |
|
|
|
|
| |
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().
|
|\ |
|
| |
| |
| |
| |
| | |
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
|
| | |
|
| |
| |
| |
| | |
ModuleNotFoundError.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
This is a behavior change: before this leading and trailing spaces were
stripped from ASCII parts, now they are preserved. Without this fix we didn't
parse the examples in the RFC correctly, so I think breaking backward
compatibility here is justified.
Patch by Ralf Schlatterbeck.
|
|\
| |
| |
| |
| |
| | |
sending MODE READER, and only sends it if not already in READER mode.
Patch by Hynek Schlawack.
|
| |
| |
| |
| |
| |
| | |
sending MODE READER, and only sends it if not already in READER mode.
Patch by Hynek Schlawack.
|
|\ \
| |/
| |
| |
| |
| | |
authenticating (since the result may change, according to RFC 4643).
Patch by Hynek Schlawack.
|
| |
| |
| |
| |
| |
| | |
authenticating (since the result may change, according to RFC 4643).
Patch by Hynek Schlawack.
|
| |
| |
| |
| | |
DeprecationWarning (cgi, importlib, nntplib, smtpd).
|
|\ \
| |/ |
|
| |\ |
|
| | | |
|
|/ /
| |
| |
| | |
can used with the 'with' statement.
|
| |
| |
| |
| | |
default could be rather confusing).
|
| |
| |
| |
| | |
STARTTLS. Patch by Andrew Vant.
|
| | |
|
| | |
|
| |
| |
| |
| | |
response, instead of raising an exception.
|
| |
| |
| |
| | |
advertised by the server.
|
| | |
|
|/
|
|
|
| |
now conforms to the philosophy of bytes and unicode separation in Python 3.
A test suite has also been added.
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72640 | antoine.pitrou | 2009-05-14 23:22:08 +0200 (jeu., 14 mai 2009) | 5 lines
Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.
(Unfortunately, nntplib doesn't have a test suite)
........
|
|
|
|
| |
Patch by Victor, Reviewed by Barry
|
|
|
|
| |
We still have 27 failing tests (down from 39).
|
|
|
|
|
|
|
|
|
| |
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
|
|
|
|
|
|
| |
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
|
|
|
|
| |
docstrings to either "article number" or "message id".
|
| |
|
| |
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
|
|
| |
which specifies a file where to divert the command's output
(already supported by the body() method). (SF patch #720468)
Thanks to Terry Carroll.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
present and the caller has not specified a name/password pair. This change
makes it less likely that a lazy coder will expose sensitive information in a
word-readable script.
Also, make the test a bit smarter. If NNTPSERVER is defined in the environment
it will go talk to that server rather than look for a possibly nonexistent
local one named 'news'. Maybe the osession initializer ought to look at
NNTPSERVER rather than requiring a host arg? Must look around and see how
universal this convention is first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
x in string.whitespace => x.isspace()
type(x) in types.StringTypes => isinstance(x, basestring)
isinstance(x, types.StringTypes) => isinstance(x, basestring)
type(x) is types.StringType => isinstance(x, str)
type(x) == types.StringType => isinstance(x, str)
string.split(x, ...) => x.split(...)
string.join(x, y) => y.join(x)
string.zfill(x, ...) => x.zfill(...)
string.count(x, ...) => x.count(...)
hasattr(types, "UnicodeType") => try: unicode except NameError:
type(x) != types.TupleTuple => not isinstance(x, tuple)
isinstance(x, types.TupleType) => isinstance(x, tuple)
type(x) is types.IntType => isinstance(x, int)
Do not mention the string module in the rlcompleter docstring.
This partially applies SF patch http://www.python.org/sf/562373
(with basestring instead of string). (It excludes the changes to
unittest.py and does not change the os.stat stuff.)
|
|
|
|
|
| |
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I modified nntplib so the body method can accept an
optional second parameter pointing to a filehandle or
filename (string). This way, really long body
articles can be stored to disk instead of kept in
memory. The way I made the modification should make
it easy to extend this functionality to other extended
return methods.
|