Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | Issue #22351: The nntplib.NNTP constructor no longer leaves the connection | Serhiy Storchaka | 2015-03-21 | 1 | -11/+25 |
| | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter. | ||||
* | don't require OpenSSL SNI to pass hostname to ssl functions (#22921) | Benjamin Peterson | 2014-11-23 | 1 | -2/+1 |
| | | | | Patch by Donald Stufft. | ||||
* | Issue #22247: Add NNTPError to nntplib.__all__. | Berker Peksag | 2014-09-20 | 1 | -2/+2 |
| | |||||
* | Issues #21948 and #16040: Fix typos. | Berker Peksag | 2014-07-09 | 1 | -1/+1 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | |||||
* | Issue #19783: nntplib now supports SSLContext.check_hostname and server name | Christian Heimes | 2013-12-02 | 1 | -4/+5 |
| | | | | indication for TLS/SSL connections. | ||||
* | Issue #19735: Implement private function ssl._create_stdlib_context() to | Christian Heimes | 2013-11-23 | 1 | -3/+1 |
| | | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs(). | ||||
* | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -1/+10 |
|\ | |||||
| * | Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to | Georg Brandl | 2013-10-27 | 1 | -1/+10 |
| | | | | | | | | | | prevent readline() calls from consuming too much memory. Patch by Jyrki Pulliainen. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|/ | |||||
* | #1079: Fix parsing of encoded words. | R David Murray | 2012-06-02 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵ | Antoine Pitrou | 2012-02-14 | 1 | -6/+15 |
|\ | | | | | | | | | | | sending MODE READER, and only sends it if not already in READER mode. Patch by Hynek Schlawack. | ||||
| * | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵ | Antoine Pitrou | 2012-02-14 | 1 | -6/+15 |
| | | | | | | | | | | | | sending MODE READER, and only sends it if not already in READER mode. Patch by Hynek Schlawack. | ||||
* | | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵ | Antoine Pitrou | 2012-02-12 | 1 | -1/+4 |
|\ \ | |/ | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack. | ||||
| * | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵ | Antoine Pitrou | 2012-02-12 | 1 | -1/+4 |
| | | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack. | ||||
* | | Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's ↵ | Florent Xicluna | 2011-12-10 | 1 | -2/+2 |
| | | | | | | | | DeprecationWarning (cgi, importlib, nntplib, smtpd). | ||||
* | | #11515: Merge with 3.2. | Ezio Melotti | 2011-03-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -2/+2 |
| |\ | |||||
| | * | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| | | | |||||
* | | | Issue 9795: adds context manager protocol to nntplib.NNTP class so that it ↵ | Giampaolo Rodolà | 2011-03-03 | 1 | -0/+14 |
|/ / | | | | | | | can used with the 'with' statement. | ||||
* | | Make `usenetrc` False by default (the old behaviour of having it True by | Antoine Pitrou | 2010-11-09 | 1 | -3/+3 |
| | | | | | | | | default could be rather confusing). | ||||
* | | Issue #1926: Add support for NNTP over SSL on port 563, as well as | Antoine Pitrou | 2010-11-09 | 1 | -76/+183 |
| | | | | | | | | STARTTLS. Patch by Andrew Vant. | ||||
* | | Issue #10282: Add a `nntp_implementation` attribute to NNTP objects. | Antoine Pitrou | 2010-11-05 | 1 | -0/+3 |
| | | |||||
* | | Issue #10283: Add a `group_pattern` argument to NNTP.list(). | Antoine Pitrou | 2010-11-04 | 1 | -3/+8 |
| | | |||||
* | | Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER | Antoine Pitrou | 2010-11-03 | 1 | -3/+4 |
| | | | | | | | | response, instead of raising an exception. | ||||
* | | Issue #10280: NNTP.nntp_version should reflect the highest version | Antoine Pitrou | 2010-11-02 | 1 | -1/+3 |
| | | | | | | | | advertised by the server. | ||||
* | | Fix NNTP when there's a ".netrc" file | Antoine Pitrou | 2010-09-29 | 1 | -2/+3 |
| | | |||||
* | | Issue #9360: Cleanup and improvements to the nntplib module. The API | Antoine Pitrou | 2010-09-29 | 1 | -290/+656 |
|/ | | | | | now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added. | ||||
* | Merged revisions 72640 via svnmerge from | Antoine Pitrou | 2009-05-14 | 1 | -2/+1 |
| | | | | | | | | | | | | 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) ........ | ||||
* | Issue #3714: nntplib module broken by str to unicode conversion | Christian Heimes | 2008-11-05 | 1 | -63/+52 |
| | | | | Patch by Victor, Reviewed by Barry | ||||
* | Fix a bunch of doctests with the -d option of refactor.py. | Guido van Rossum | 2007-02-09 | 1 | -1/+1 |
| | | | | We still have 27 failing tests (down from 39). | ||||
* | Fix most trivially-findable print statements. | Guido van Rossum | 2007-02-09 | 1 | -10/+10 |
| | | | | | | | | | 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.) | ||||
* | SF patch 1631942 by Collin Winter: | Guido van Rossum | 2007-01-10 | 1 | -1/+1 |
| | | | | | | (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 | ||||
* | - Bug #1015140: disambiguated the term "article id" in nntplib docs and | Georg Brandl | 2005-07-17 | 1 | -2/+2 |
| | | | | docstrings to either "article number" or "message id". | ||||
* | Patch #823072: add option to NOT use ~/.netrc in nntplib.NNTP(). | Martin v. Löwis | 2004-08-03 | 1 | -2/+2 |
| | |||||
* | Patch #605370: Add description[s] for RFC 2980 compliance. | Martin v. Löwis | 2004-07-26 | 1 | -0/+36 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -5/+5 |
| | | | | From SF patch #852334. | ||||
* | - Several methods of nntplib.NNTP have grown an optional file argument | Guido van Rossum | 2003-04-19 | 1 | -14/+14 |
| | | | | | | which specifies a file where to divert the command's output (already supported by the body() method). (SF patch #720468) Thanks to Terry Carroll. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-11-24 | 1 | -1/+0 |
| | |||||
* | Guard against error if .netrc is missing. | Eric S. Raymond | 2002-11-17 | 1 | -7/+10 |
| | |||||
* | Fix typo in comment | Neal Norwitz | 2002-11-14 | 1 | -1/+1 |
| | |||||
* | Make nntplib aware of ~/.netrc credentials; now they get used if they are | Eric S. Raymond | 2002-11-13 | 1 | -7/+23 |
| | | | | | | | | | | | | 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. | ||||
* | Remove uses of the string and types modules: | Walter Dörwald | 2002-06-03 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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.) | ||||
* | The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715. | Martin v. Löwis | 2002-02-16 | 1 | -1/+1 |
| | | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method. | ||||
* | changed misleading argument name | Fredrik Lundh | 2001-10-18 | 1 | -13/+13 |
| |