Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #8086: In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline | Antoine Pitrou | 2010-04-27 | 4 | -1/+9 |
| | | | | before the certificate footer. Patch by Kyle VanderBeek. | ||||
* | Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py | Victor Stinner | 2010-04-27 | 1 | -49/+57 |
| | | | | | | | | * Split Test.test_open() in 2 functions: test_open() and test_thread_open() * Skip test_open() and test_thread_open() if we are unable to find the C library * Skip test_thread_open() if thread support is disabled * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError() | ||||
* | Issue #7449, part 4: skip test_multiprocessing if thread support is disabled | Victor Stinner | 2010-04-27 | 1 | -3/+4 |
| | | | | | | import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support. | ||||
* | Issue #7449 part 3, test_doctest: import trace module in test_coverage() | Victor Stinner | 2010-04-27 | 1 | -1/+2 |
| | | | | | | | | | Import trace module fail if the threading module is missing. test_coverage() is only used if test_doctest.py is used with the -c option. This commit allows to execute the test suite without thread support. Move "import trace" in test_coverage() and use test_support.import_module('trace'). | ||||
* | Issue #7449, part 2: regrtest.py -j option requires thread support | Victor Stinner | 2010-04-27 | 1 | -1/+5 |
| | |||||
* | Issue #7449, part 1: fix test_support.py for Python compiled without thread | Victor Stinner | 2010-04-27 | 2 | -4/+20 |
| | |||||
* | correct signature | Benjamin Peterson | 2010-04-27 | 1 | -1/+1 |
| | |||||
* | condense import | Benjamin Peterson | 2010-04-27 | 1 | -2/+1 |
| | |||||
* | fold __future__ imports | Benjamin Peterson | 2010-04-27 | 1 | -2/+1 |
| | |||||
* | fix comment | Benjamin Peterson | 2010-04-27 | 1 | -1/+1 |
| | |||||
* | reject None as the buffering argument like the C implementation does #8546 | Benjamin Peterson | 2010-04-27 | 3 | -5/+5 |
| | |||||
* | Issue #8549: Fix compiling the _ssl extension under AIX. Patch by | Antoine Pitrou | 2010-04-27 | 3 | -1/+5 |
| | | | | Sridhar Ratnakumar. | ||||
* | socket.error can really happen here, and fix a possible NameError | Antoine Pitrou | 2010-04-27 | 1 | -1/+4 |
| | |||||
* | Qualify or remove or bare excepts. Simplify exception handling in places. | Antoine Pitrou | 2010-04-27 | 1 | -193/+136 |
| | | | | Remove uses of test_support.TestFailed. | ||||
* | replace custom code with standard library functionality (HTTPServer.shutdown()) | Antoine Pitrou | 2010-04-27 | 1 | -48/+7 |
| | | | | | + enable test that was never run (!) + make tests faster by lowering polling timeout | ||||
* | Remove uses of find_unused_port() in test_ssl, and small cleanups | Antoine Pitrou | 2010-04-27 | 1 | -19/+17 |
| | |||||
* | Adding versionadded to various new unittest functions in documentation | Michael Foord | 2010-04-26 | 1 | -0/+8 |
| | |||||
* | Issue #6656: fix locale.format_string to handle escaped percents and mappings. | R. David Murray | 2010-04-26 | 3 | -14/+45 |
| | | | | | | Refactors format_string. Includes tests for the two problems noted in the issue, but as far as I can see there are no other tests that confirm that format_string conforms to normal % formatting rules. | ||||
* | When calling getpeername() in SSLSocket.__init__, only silence exceptions | Antoine Pitrou | 2010-04-26 | 1 | -1/+4 |
| | | | | caused by the "socket not connected" condition. | ||||
* | Issue 8325: Improve regrtest --help text. | R. David Murray | 2010-04-26 | 1 | -26/+33 |
| | |||||
* | Revert an accidental commit from r80492. | Brett Cannon | 2010-04-25 | 1 | -36/+17 |
| | |||||
* | When DeprecationWarning was silenced by default, it also silenced any use of -Q | Brett Cannon | 2010-04-25 | 4 | -23/+47 |
| | | | | | | | by default as well. This change fixes that by treating -Q like -3 when it comes to DeprecationWarning; using it causes the silencing to not occur. Fixes issue #7319. | ||||
* | Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown, | Antoine Pitrou | 2010-04-25 | 3 | -12/+44 |
| | | | | | | where the method could block indefinitely if called just before the event loop started running. This also fixes the occasional freezes witnessed in test_httpservers. | ||||
* | Replace a Lock with a better suited Event. | Antoine Pitrou | 2010-04-25 | 1 | -6/+5 |
| | |||||
* | Adding unittest.removeHandler function / decorator for removing the ↵ | Michael Foord | 2010-04-25 | 4 | -4/+67 |
| | | | | signal.SIGINT signal handler. With tests and docs. | ||||
* | Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. | Georg Brandl | 2010-04-25 | 1 | -1/+1 |
| | |||||
* | Fix code example to have valid syntax so that it can be highlighted. | Georg Brandl | 2010-04-25 | 1 | -1/+1 |
| | |||||
* | Patch from Tim Hatch: Minor spelling changes to _winreg docs. | Georg Brandl | 2010-04-25 | 1 | -5/+5 |
| | |||||
* | Patch from Tim Hatch: Remove reference to winreg being the fabled high-level ↵ | Georg Brandl | 2010-04-25 | 1 | -2/+2 |
| | | | | registry interface. | ||||
* | Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. | Georg Brandl | 2010-04-25 | 2 | -50/+67 |
| | |||||
* | Remove LaTeXy index entry syntax. | Georg Brandl | 2010-04-25 | 1 | -2/+2 |
| | |||||
* | #8522: use with statement instead of try-finally for file handling. | Georg Brandl | 2010-04-25 | 1 | -4/+1 |
| | |||||
* | #8528: fix typo. | Georg Brandl | 2010-04-25 | 1 | -1/+1 |
| | |||||
* | Fixing obscure syslog corner-case when sys.argv = None, syslog() would call | Sean Reifscheider | 2010-04-25 | 1 | -5/+10 |
| | | | | openlog() for every logged message. | ||||
* | Issue #5103: SSL handshake would ignore the socket timeout and block | Antoine Pitrou | 2010-04-24 | 4 | -10/+102 |
| | | | | indefinitely if the other end didn't respond. | ||||
* | The do_handshake() method of SSL objects now adjusts the blocking mode of | Antoine Pitrou | 2010-04-24 | 2 | -1/+9 |
| | | | | the SSL structure if necessary (as other methods already do). | ||||
* | Fix #5774. Some _winreg functions are documented as taking kwargs but don't. | Brian Curtin | 2010-04-24 | 1 | -3/+3 |
| | |||||
* | - Issue #8509: Fix quoting in help strings and code snippets in configure.in. | Matthias Klose | 2010-04-24 | 3 | -86/+91 |
| | |||||
* | Fix #7838. Add docstrings and privatize _subprocess implementation details. | Brian Curtin | 2010-04-24 | 2 | -57/+132 |
| | | | | | | Since CREATE_NEW_* are used for the creation flags of a subprocess, they were added to __all__. The rest of the previously exposed attributes are now qualified by _subprocess.ATTR rather than importing *. | ||||
* | Make test_makefile_close a networked test (can't read() from a non-connected | Antoine Pitrou | 2010-04-24 | 1 | -16/+18 |
| | | | | | socket under OS X), and skip it under Windows (where sockets can't be read() from using their fds). | ||||
* | #7507: quote "!" in pipes.quote(); it is a special character for some shells. | Georg Brandl | 2010-04-24 | 3 | -16/+12 |
| | |||||
* | Markup fixes. | Georg Brandl | 2010-04-24 | 1 | -43/+39 |
| | |||||
* | Issue #5238: Calling makefile() on an SSL object would prevent the | Antoine Pitrou | 2010-04-23 | 3 | -1/+24 |
| | | | | underlying socket from being closed until all objects get truely destroyed. | ||||
* | Issue #7943: Fix circular reference created when instantiating an SSL | Antoine Pitrou | 2010-04-23 | 4 | -8/+24 |
| | | | | socket. Initial patch by Péter Szabó. | ||||
* | Fix the "regrtest -s" switch. | Florent Xicluna | 2010-04-23 | 1 | -8/+9 |
| | |||||
* | Remove ImportWarnings filters. They become obsolete after r79310, issue #8205. | Florent Xicluna | 2010-04-23 | 1 | -8/+0 |
| | |||||
* | Small comment documentation change to clarify "ident" selection. | Sean Reifscheider | 2010-04-23 | 1 | -1/+2 |
| | |||||
* | issue8451: Making syslog module use sys.argv[0] for "ident". | Sean Reifscheider | 2010-04-23 | 3 | -31/+155 |
| | |||||
* | Issue #8108: Fix the unwrap() method of SSL objects when the socket has | Antoine Pitrou | 2010-04-22 | 3 | -17/+110 |
| | | | | | | | | | a non-infinite timeout. Also make that method friendlier with applications wanting to continue using the socket in clear-text mode, by disabling OpenSSL's internal readahead. Thanks to Darryl Miles for guidance. Issue #8108: test_ftplib's non-blocking SSL server now has proper handling of SSL shutdowns. | ||||
* | Add "report a bug" links in some prominent places. Make it clear that doc ↵ | Georg Brandl | 2010-04-22 | 5 | -13/+48 |
| | | | | bugs can be mailed to docs@python.org. Clarify tracker usage. |