summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged revisions 80875 via svnmerge fromGiampaolo Rodolà2010-05-061-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80875 | giampaolo.rodola | 2010-05-06 19:57:06 +0200 (gio, 06 mag 2010) | 1 line Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__ ........
* Merged revisions 80832 via svnmerge fromMark Dickinson2010-05-051-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80832 | mark.dickinson | 2010-05-05 23:23:58 +0100 (Wed, 05 May 2010) | 2 lines Issue #8625: Turn off gcc optimization in debug builds. ........
* Merged revisions 80830 via svnmerge fromTarek Ziadé2010-05-051-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80830 | tarek.ziade | 2010-05-06 00:15:31 +0200 (Thu, 06 May 2010) | 1 line Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills ........
* Issue #8390: tarfile uses surrogateespace as the default error handlerVictor Stinner2010-05-051-0/+3
| | | | (instead of replace in read mode or strict in write mode)
* Bug 7755: audiotest.au is arguably copyrighted material, but definitely makesBarry Warsaw2010-05-051-0/+2
| | | | | Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers.
* Merged revisions 80784 via svnmerge fromRonald Oussoren2010-05-051-0/+3
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80784 | ronald.oussoren | 2010-05-05 16:48:37 +0200 (Wed, 05 May 2010) | 9 lines The C function used by uuid.uuid4 is broken on OSX 10.6 in that after os.fork() the parent and child generate the same sequence of UUIDs. This patch falls back to the the Python implementation on OSX 10.6 or later. Fixes issue #8621. ........
* Merged revisions 80782 via svnmerge fromMarc-André Lemburg2010-05-051-2/+2
| | | | | | | | | | svn+pythonssh://pythondev@svn.python.org/python/trunk ........ r80782 | marc-andre.lemburg | 2010-05-05 15:30:01 +0200 (Wed, 05 May 2010) | 3 lines Update the NEWS entry for issue #8211. ........
* Merged revisions 80753 via svnmerge fromMark Dickinson2010-05-041-0/+6
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80753 | mark.dickinson | 2010-05-04 15:25:50 +0100 (Tue, 04 May 2010) | 10 lines Issue #8567: Fix incorrect precedence of signals in Decimal module. When a Decimal operation raises multiple signals and more than one of those signals is trapped, the specification determines the order in which the signals should be handled. In many cases this order wasn't being followed, leading to the wrong Python exception being raised. This commit fixes those cases, and adds extra tests. The tests are only enabled when EXTENDEDERRORTESTS is True, since they involve rerunning each Decimal testcase several times. ........
* Deprecate OSF* supportJesus Cea2010-05-031-0/+3
|
* Merged revisions 80720 via svnmerge fromAntoine Pitrou2010-05-031-0/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80720 | antoine.pitrou | 2010-05-03 18:25:33 +0200 (lun., 03 mai 2010) | 5 lines Issue #7865: The close() method of :mod:`io` objects should not swallow exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon. ........
* Merged revisions 80704 via svnmerge fromAntoine Pitrou2010-05-021-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80704 | antoine.pitrou | 2010-05-02 21:51:14 +0200 (dim., 02 mai 2010) | 4 lines Issue #4687: Fix accuracy of garbage collection runtimes displayed with gc.DEBUG_STATS. ........
* Issue #8533: revert r80694; try a different fix: regrtest uses backslashreplaceVictor Stinner2010-05-021-2/+2
| | | | | error handler for stdout to avoid UnicodeEncodeError (write non-ASCII character to stdout using ASCII encoding)
* Merged revisions 80698 via svnmerge fromRonald Oussoren2010-05-021-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80698 | ronald.oussoren | 2010-05-02 11:48:21 +0200 (Sun, 02 May 2010) | 3 lines For for issue #7192: with this patch webbrowser.get("firefox") works on OSX ........
* Issue #8533: Write tracebacks and failed tests to sys.stderr instead ofVictor Stinner2010-05-021-0/+3
| | | | sys.stdout to avoid UnicodeEncodeError (use backslashreplace error handler)
* add myself to Misc/maintainers.rst for asyncore, asynchat and ssl modules ↵Giampaolo Rodolà2010-05-011-4/+4
| | | | and networking interest area
* Merged revisions 80669 via svnmerge fromAntoine Pitrou2010-04-301-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80669 | antoine.pitrou | 2010-05-01 01:08:48 +0200 (sam., 01 mai 2010) | 4 lines Issue #8576: Remove use of find_unused_port() in test_smtplib and test_multiprocessing. Patch by Paul Moore. ........
* PyFile_FromFd() uses PyUnicode_DecodeFSDefault() instead ofVictor Stinner2010-04-301-0/+4
| | | | | PyUnicode_FromString() to support surrogates in the filename and use the right encoding
* PyUnicode_DecodeFSDefaultAndSize() uses surrogateescape error handlerVictor Stinner2010-04-301-0/+2
| | | | | | This function is only used to decode Python module filenames, but Python doesn't support surrogates in modules filenames yet. So nobody noticed this minor bug.
* Merged revisions 80647 via svnmerge fromRonald Oussoren2010-04-301-0/+3
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80647 | ronald.oussoren | 2010-04-30 13:20:14 +0200 (Fri, 30 Apr 2010) | 11 lines Fix for issue #3646: with this patch it is possible to do a framework install of Python in your home directory (on OSX): $ configure --enable-framework=${HOME}/Library/Frameworks $ make && make install Without this patch the framework would get installed just fine, but 'make install' would try to install the application bundles and command-line tools outside the user's home, which doesn't work for non-admin users (and is bad form anyway). ........
* Merged revisions 80616 via svnmerge fromLars Gustäbel2010-04-291-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80616 | lars.gustaebel | 2010-04-29 17:23:38 +0200 (Thu, 29 Apr 2010) | 4 lines Issue #8464: tarfile.open(name, mode="w|") no longer creates files with execute permissions set. ........
* Merged revisions 80610 via svnmerge fromAntoine Pitrou2010-04-292-0/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80610 | antoine.pitrou | 2010-04-29 12:05:40 +0200 (jeu., 29 avril 2010) | 4 lines Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions of the Linux kernel. Patch by Yaniv Aknin. ........
* Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge fromVictor Stinner2010-04-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80552 | victor.stinner | 2010-04-27 23:46:03 +0200 (mar., 27 avril 2010) | 3 lines Issue #7449, part 1: fix test_support.py for Python compiled without thread ........ r80553 | victor.stinner | 2010-04-27 23:47:01 +0200 (mar., 27 avril 2010) | 1 line Issue #7449, part 2: regrtest.py -j option requires thread support ........ r80554 | victor.stinner | 2010-04-27 23:51:26 +0200 (mar., 27 avril 2010) | 9 lines Issue #7449 part 3, test_doctest: import trace module in test_coverage() 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'). ........ r80555 | victor.stinner | 2010-04-27 23:56:26 +0200 (mar., 27 avril 2010) | 6 lines Issue #7449, part 4: skip test_multiprocessing if thread support is disabled import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support. ........ r80556 | victor.stinner | 2010-04-28 00:01:24 +0200 (mer., 28 avril 2010) | 8 lines Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py * 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() ........ r80564 | victor.stinner | 2010-04-28 00:59:35 +0200 (mer., 28 avril 2010) | 4 lines Issue #7449, part 6: fix test_hashlib for missing threading module Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing(). ........ r80565 | victor.stinner | 2010-04-28 01:01:29 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, part 7: simplify threading detection in test_capi * Skip TestPendingCalls if threading module is missing * Test if threading module is present or not, instead of test the presence of _testcapi._test_thread_state ........ r80566 | victor.stinner | 2010-04-28 01:03:16 +0200 (mer., 28 avril 2010) | 4 lines Issue #7449, part 8: don't skip the whole test_asynchat if threading is missing TestFifo can be executed without the threading module ........ r80568 | victor.stinner | 2010-04-28 01:14:58 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, part 9: fix test_xmlrpclib for missing threading module * Skip testcases using threads if threading module is missing * Use "http://" instead of URL in ServerProxyTestCase if threading is missing because URL is not set in this case ........ r80569 | victor.stinner | 2010-04-28 01:33:58 +0200 (mer., 28 avril 2010) | 6 lines Partial revert of r80556 (Issue #7449, part 5, fix ctypes test) Rewrite r80556: the thread test have to be executed just after the test on libc_open() and so the test cannot be splitted in two functions (without duplicating code, and I don't want to duplicate code). ........ r80570 | victor.stinner | 2010-04-28 01:51:16 +0200 (mer., 28 avril 2010) | 8 lines Issue #7449, part 10: test_cmd imports trace module using test_support.import_module() Use test_support.import_module() instead of import to raise a SkipTest exception if the import fail. Import trace fails if the threading module is missing. See also part 3: test_doctest: import trace module in test_coverage(). ........ r80571 | victor.stinner | 2010-04-28 01:55:59 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, last part (11): fix many tests if thread support is disabled * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads ........
* #8295 : Added shutil.unpack_archive and related APIsTarek Ziadé2010-04-281-0/+2
|
* Merged revisions 80583 via svnmerge fromSenthil Kumaran2010-04-281-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80583 | senthil.kumaran | 2010-04-28 22:50:43 +0530 (Wed, 28 Apr 2010) | 3 lines Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" ........
* Merged revisions 80574 via svnmerge fromJesus Cea2010-04-281-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line Issue #3928: Support 'os.mknod()' in Solaris ........
* Merged revisions 80557 via svnmerge fromAntoine Pitrou2010-04-271-0/+1
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk (the bug was already fixed in py3k, just merging in the tests) ........ r80557 | antoine.pitrou | 2010-04-28 00:03:37 +0200 (mer., 28 avril 2010) | 4 lines Issue #8086: In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline before the certificate footer. Patch by Kyle VanderBeek. ........
* Merged revisions 80544 via svnmerge fromBenjamin Peterson2010-04-271-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80544 | benjamin.peterson | 2010-04-27 16:01:54 -0500 (Tue, 27 Apr 2010) | 1 line reject None as the buffering argument like the C implementation does #8546 ........
* Merged revisions 80540 via svnmerge fromAntoine Pitrou2010-04-272-0/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80540 | antoine.pitrou | 2010-04-27 21:09:59 +0200 (mar., 27 avril 2010) | 4 lines Issue #8549: Fix compiling the _ssl extension under AIX. Patch by Sridhar Ratnakumar. ........
* Merged revisions 80512 via svnmerge fromR. David Murray2010-04-271-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80512 | r.david.murray | 2010-04-26 17:17:14 -0400 (Mon, 26 Apr 2010) | 7 lines Issue #6656: fix locale.format_string to handle escaped percents and mappings. 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. ........
* Merged revisions 80484 via svnmerge fromAntoine Pitrou2010-04-251-0/+5
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80484 | antoine.pitrou | 2010-04-25 23:40:32 +0200 (dim., 25 avril 2010) | 6 lines Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown, 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. ........
* Issue #8524: When creating an SSL socket, the timeout value of theAntoine Pitrou2010-04-241-0/+4
| | | | | original socket wasn't retained (instead, a socket with a positive timeout would be turned into a non-blocking SSL socket).
* Merged revisions 80451-80452 via svnmerge fromAntoine Pitrou2010-04-241-0/+6
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80451 | antoine.pitrou | 2010-04-24 21:57:01 +0200 (sam., 24 avril 2010) | 4 lines The do_handshake() method of SSL objects now adjusts the blocking mode of the SSL structure if necessary (as other methods already do). ........ r80452 | antoine.pitrou | 2010-04-24 22:04:58 +0200 (sam., 24 avril 2010) | 4 lines Issue #5103: SSL handshake would ignore the socket timeout and block indefinitely if the other end didn't respond. ........
* prevent the dict constructor from accepting non-string keyword args #8419Benjamin Peterson2010-04-241-0/+6
| | | | | This adds PyArg_ValidateKeywordArguments, which checks that keyword arguments are all strings, using an optimized method if possible.
* - Issue #8510: Update to autoconf2.65.Matthias Klose2010-04-241-0/+2
|
* Merged revisions 80443 via svnmerge fromMatthias Klose2010-04-241-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80443 | matthias.klose | 2010-04-24 18:38:36 +0200 (Sa, 24 Apr 2010) | 2 lines - Issue #8509: Fix quoting in help strings and code snippets in configure.in. ........
* Issue #8391: os.execvpe() and os.getenv() supports unicode with surrogates andVictor Stinner2010-04-231-0/+3
| | | | bytes strings for environment keys and values
* Issue #8495: test_gdb uses replace error handler when decoding utf8 outputVictor Stinner2010-04-231-2/+2
|
* Issue #8467: Pure Python implementation of subprocess encodes the error messageVictor Stinner2010-04-231-0/+4
| | | | using surrogatepass error handler to support surrogates in the message
* Issue #8124: PySys_WriteStdout() and PySys_WriteStderr() don't executeVictor Stinner2010-04-231-0/+4
| | | | | indirectly Python signal handlers anymore because mywrite() ignores exceptions (KeyboardInterrupt).
* Issue #8468: bz2.BZ2File() accepts str with surrogates and bytes filenamesVictor Stinner2010-04-231-0/+2
|
* Port of issue8451 to python3: Syslog use sys.argv[0] for ident.Sean Reifscheider2010-04-231-0/+4
|
* Merged revisions 80392 via svnmerge fromAntoine Pitrou2010-04-231-0/+8
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80392 | antoine.pitrou | 2010-04-23 01:33:02 +0200 (ven., 23 avril 2010) | 9 lines Issue #8108: Fix the unwrap() method of SSL objects when the socket has 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. ........
* Issue #8092: Fix PyUnicode_EncodeUTF8() to support error handler producingVictor Stinner2010-04-221-0/+3
| | | | unicode string (eg. backslashreplace)
* Issue #8496: make mailcap.lookup() always return a list, rather than an ↵Antoine Pitrou2010-04-221-0/+3
| | | | | | iterator. Patch by Gregory Nofi.
* Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,Victor Stinner2010-04-221-0/+3
| | | | you have to convert your bytearray filenames to bytes
* Issue #8195: Fix a crash in sqlite Connection.create_collation() if theVictor Stinner2010-04-221-0/+3
| | | | collation name contains a surrogate character.
* #7347 entry got entered in the wrong spot.Brian Curtin2010-04-221-3/+3
|
* Add a note about #7347.Brian Curtin2010-04-221-0/+3
|
* Add myself to email, move 'windows' to Platforms where itR. David Murray2010-04-211-3/+3
| | | | belongs, and finish alphabetizing the Platforms list.
* Add myself to ssl, although I'm not a de facto maintainer or expertAntoine Pitrou2010-04-211-1/+1
|