Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936) | Dong-hee Na | 2020-01-11 | 1 | -0/+4 |
| | | | | | nntplib.NNTP and nntplib.NNTP_SSL now raise a ValueError if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. | ||||
* | bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) | Dong-hee Na | 2020-01-08 | 1 | -2/+2 |
| | |||||
* | bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565) | Victor Stinner | 2019-12-10 | 1 | -4/+10 |
| | | | | | Replace hardcoded timeout constants in tests with INTERNET_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. | ||||
* | bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124) | Gregory P. Smith | 2019-05-06 | 1 | -8/+29 |
| | | | | | | | | Modern Linux distros such as Debian Buster have default OpenSSL system configurations that reject connections to servers with weak certificates by default. This causes our test suite run with external networking resources enabled to skip these tests when they encounter such a failure. Fixing the network servers is a separate issue. | ||||
* | bpo-32128: Skip test_nntplib.test_article_head_body() (#4552) | Victor Stinner | 2017-11-25 | 1 | -0/+1 |
| | | | | | The NNTP server currently has troubles with SSL, whereas we don't have the control on this server. This test blocks all CIs, so disable it until a fix can be found. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -5/+4 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-30188: fix TypeError in test_nntplib (GH-2892) | INADA Naoki | 2017-07-26 | 1 | -2/+2 |
| | | | fixes regression of 5b4feb7 | ||||
* | bpo-30188: test_nntplib catch also ssl.SSLEOFError (#2843) | Victor Stinner | 2017-07-24 | 1 | -1/+6 |
| | | | | Catch also ssl.SSLEOFError in NetworkedNNTPTests setUpClass(). EOFError was already catched. | ||||
* | bpo-30175: Skip client cert tests of test_imaplib (#1320) | Victor Stinner | 2017-04-27 | 1 | -1/+6 |
| | | | | | | | | | | | | | * bpo-30175: Skip client cert tests of test_imaplib The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly generated client x509 certificate anymore. * bpo-30188: Catch EOFError in NetworkedNNTPTests test_nntplib fails randomly with EOFError in NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that case. | ||||
* | Issue #28971: Merge 3.5 | Xavier de Gaye | 2016-12-16 | 1 | -0/+2 |
|\ | |||||
| * | Issue #28971: Temporarily skip test_over until a permanent solution is found | Xavier de Gaye | 2016-12-16 | 1 | -0/+2 |
| | | | | | | | | for issue #28971. | ||||
* | | Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. | Christian Heimes | 2016-09-10 | 1 | -2/+4 |
|/ | | | | | | | 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. | ||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -2/+2 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue #25859: Reimplement NNTP test_starttls() using local server | Martin Panter | 2016-01-19 | 1 | -18/+64 |
| | | | | | | | The previous test relied on a remote server, which currently seems to be shutting the connection down once TLS has been set up, causing an EOFError. Now the test is implemented using a minimal NNTP server running in a background thread. | ||||
* | Issue #22351. MockSslTests tests in test_nntplib now are reported if skipped. | Serhiy Storchaka | 2015-04-03 | 1 | -9/+10 |
| | |||||
* | Issue #22351: Fix test_nntplib if the ssl module is missing | Victor Stinner | 2015-04-03 | 1 | -9/+10 |
| | | | | | @unittest.skipUnless(ssl, '...') doesn't work because the class body uses the nntplib.NNTP_SSL attribute which doesn't exist. | ||||
* | Issue #22351: The nntplib.NNTP constructor no longer leaves the connection | Serhiy Storchaka | 2015-03-21 | 1 | -4/+98 |
| | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter. | ||||
* | Issue #22247: Add NNTPError to nntplib.__all__. | Berker Peksag | 2014-09-20 | 1 | -5/+12 |
| | |||||
* | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -36/+38 |
| | |||||
* | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -0/+10 |
|\ | |||||
| * | Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to | Georg Brandl | 2013-10-27 | 1 | -0/+10 |
| | | | | | | | | | | prevent readline() calls from consuming too much memory. Patch by Jyrki Pulliainen. | ||||
* | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|/ | |||||
* | Fix test to really run behind a NNTP virus checker | Antoine Pitrou | 2012-06-24 | 1 | -2/+5 |
| | |||||
* | Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib) | Nick Coghlan | 2012-06-17 | 1 | -1/+4 |
|\ | |||||
| * | Ignore X-Antivirus headers in test_nntplib | Nick Coghlan | 2012-06-17 | 1 | -1/+4 |
| | | |||||
* | | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body(). | Antoine Pitrou | 2012-02-15 | 1 | -0/+40 |
|\ \ | |/ | | | | | Patch by Hynek Schlawack. | ||||
| * | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body(). | Antoine Pitrou | 2012-02-15 | 1 | -0/+40 |
| | | | | | | | | Patch by Hynek Schlawack. | ||||
* | | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵ | Antoine Pitrou | 2012-02-14 | 1 | -1/+50 |
|\ \ | |/ | | | | | | | | | 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 | -1/+50 |
| | | | | | | | | | | | | 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 | -5/+57 |
|\ \ | |/ | | | | | | | | | 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 | -5/+57 |
| | | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack. | ||||
* | | Merge 3.2 | Florent Xicluna | 2011-10-28 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Closes #13258: Use callable() built-in in the standard library. | Florent Xicluna | 2011-10-28 | 1 | -2/+1 |
| | | |||||
* | | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). | Ezio Melotti | 2011-09-28 | 1 | -2/+2 |
| | | |||||
* | | Issue 9795: adds context manager protocol to nntplib.NNTP class so that it ↵ | Giampaolo Rodolà | 2011-03-03 | 1 | -0/+21 |
| | | | | | | | | can used with the 'with' statement. | ||||
* | | Normalize the encoding names for Latin-1 and UTF-8 to | Marc-André Lemburg | 2011-02-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303. | ||||
* | | Fix imports from collections.abc | Raymond Hettinger | 2011-02-23 | 1 | -2/+2 |
|/ | |||||
* | Make test_nntplib more robust | Antoine Pitrou | 2010-11-21 | 1 | -2/+4 |
| | |||||
* | Wrap all test_nntplib methods accessing a remote server in a ↵ | Antoine Pitrou | 2010-11-18 | 1 | -13/+29 |
| | | | | | | | transient_internet() exception catcher. Wrapping the initial connection routine is not sufficient as network timeouts can then occur as part of NNTP commands. | ||||
* | Make test_nntplib more robust when the "last" article in a group can't be ↵ | Antoine Pitrou | 2010-11-18 | 1 | -9/+26 |
| | | | | retrieved | ||||
* | Switch from gmane to another provider for NNTP tests (as gmane isn't reliable | Antoine Pitrou | 2010-11-13 | 1 | -32/+45 |
| | | | | enough). Also, use setUpClass in order to connect only once per test run. | ||||
* | Issue #1926: Add support for NNTP over SSL on port 563, as well as | Antoine Pitrou | 2010-11-09 | 1 | -24/+76 |
| | | | | STARTTLS. Patch by Andrew Vant. | ||||
* | Issue #10282: Add a `nntp_implementation` attribute to NNTP objects. | Antoine Pitrou | 2010-11-05 | 1 | -0/+2 |
| | |||||
* | Issue #10283: Add a `group_pattern` argument to NNTP.list(). | Antoine Pitrou | 2010-11-04 | 1 | -6/+29 |
| | |||||
* | Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER | Antoine Pitrou | 2010-11-03 | 1 | -1/+26 |
| | | | | response, instead of raising an exception. | ||||
* | Issue #10280: NNTP.nntp_version should reflect the highest version | Antoine Pitrou | 2010-11-02 | 1 | -3/+3 |
| | | | | advertised by the server. | ||||
* | Fix NNTP when there's a ".netrc" file | Antoine Pitrou | 2010-09-29 | 1 | -1/+2 |
| | |||||
* | Disable the usenetrc option when testing nntplib | Antoine Pitrou | 2010-09-29 | 1 | -1/+2 |
| | |||||
* | Issue #9360: Cleanup and improvements to the nntplib module. The API | Antoine Pitrou | 2010-09-29 | 1 | -0/+1091 |
now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added. |