summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #8610: Load file system codec at startup, and display a fatal error onVictor Stinner2010-05-154-27/+62
| | | | | failure. Set the file system encoding to utf-8 (instead of None) if getting the locale encoding failed, or if nl_langinfo(CODESET) function is missing.
* Merged revisions 81185 via svnmerge fromStefan Krah2010-05-151-6/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81185 | stefan.krah | 2010-05-15 11:31:08 +0200 (Sat, 15 May 2010) | 4 lines If the timeout is exceeded, count the tests as skipped instead of just issuing a warning. ........
* Fix test_capi for Windows: strip newline charactersVictor Stinner2010-05-151-2/+2
| | | | Fix test_no_FatalError_infinite_loop() introduced by r81142 (issue #3605).
* Merged revisions 81179 via svnmerge fromVictor Stinner2010-05-141-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81179 | victor.stinner | 2010-05-14 23:52:26 +0200 (ven., 14 mai 2010) | 2 lines Fix regression introduced by r81154 (Issue #5099, subprocess destructor) ........
* posix_listdir(), posix_readlink(): avoid temporary PyBytes objectVictor Stinner2010-05-141-38/+10
| | | | | | Use directly PyUnicode_DecodeFSDefaultAndSize() instead of PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is unicode.
* Issue #8711: Document PyUnicode_DecodeFSDefault*() functionsVictor Stinner2010-05-142-47/+101
| | | | | | | | | | * Add paragraph titles to c-api/unicode.rst. * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape" error handler (and not "replace") * Remove "The function is intended to be used for paths and file names only during bootstrapping process where the codecs are not set up." from PyUnicode_FSConverter() comment: it is used after the bootstrapping and for other purposes than file names
* Merged revisions 81163 via svnmerge fromVictor Stinner2010-05-146-13/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP ........
* Issue #4653: fix typo in flush_std_files()Victor Stinner2010-05-141-1/+1
| | | | | Don't call sys.stderr.flush() if sys has no stderr attribute or if sys.stderr==None.
* Merged revisions 81154 via svnmerge fromBrett Cannon2010-05-141-17/+34
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81154 | brett.cannon | 2010-05-13 17:21:48 -0700 (Thu, 13 May 2010) | 15 lines subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to interpreter shutdown semantics. Same issue goes for the methods that __del__ called. Now all the methods capture the global objects it needs as default values to private parameters (could have stuck them on the class object itself, but since the objects have nothing directly to do with the class that seemed wrong). There is no test as making one that works is hard. This patch was verified against a consistently failing test in Mercurial's test suite, though, so it has been tested in some regard. Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel Genellina for writing another patch for the same issue and attempting to write a test. ........
* Merged revisions 81152 via svnmerge fromBrett Cannon2010-05-141-1/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81152 | brett.cannon | 2010-05-13 16:59:41 -0700 (Thu, 13 May 2010) | 3 lines test_site was failing under darwin for non-framework builds because a test was assuming framework-specific site-packages directories were being used. ........
* Merged revisions 81145 via svnmerge fromBenjamin Peterson2010-05-131-5/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81145 | benjamin.peterson | 2010-05-13 16:14:10 -0500 (Thu, 13 May 2010) | 1 line rip out mention of types.ListType #8703 ........
* Make PyErr_Occurred return NULL if there is no current thread. Previously itJeffrey Yasskin2010-05-133-4/+35
| | | | | | | would Py_FatalError, which called PyErr_Occurred, resulting in a semi-infinite recursion. Fixes issue 3605.
* Blocked revisions 81137 via svnmergeVictor Stinner2010-05-130-0/+0
| | | | | | | | | | ........ r81137 | victor.stinner | 2010-05-13 18:22:15 +0200 (jeu., 13 mai 2010) | 4 lines Fix verb tense in skip message. Ooops, merge also r80334 (patch by r.david.murray) ........
* Blocked revisions 81135 via svnmerge (r81135 is a merge of r80163 from py3k)Victor Stinner2010-05-130-0/+0
| | | | | | | | | | | | ........ r81135 | victor.stinner | 2010-05-13 18:18:14 +0200 (jeu., 13 mai 2010) | 6 lines Issue #8422, test_genericpath: skip the creation of a directory with an invalid UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8 string). Merge r80163 from py3k branch. ........
* Remove unnecessary assignments.Mark Dickinson2010-05-131-4/+1
|
* Merged revisions 81130 via svnmerge fromSenthil Kumaran2010-05-132-2/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines Fix Issue8657 - adding git and git+ssh as know schemes. ........
* Merged revisions 81126 via svnmerge fromMark Dickinson2010-05-121-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81126 | mark.dickinson | 2010-05-12 20:53:36 +0100 (Wed, 12 May 2010) | 1 line Fix unused variable in test_factorial. ........
* Merged revisions 81115 via svnmerge fromAntoine Pitrou2010-05-121-33/+26
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81115 | antoine.pitrou | 2010-05-12 16:02:34 +0200 (mer., 12 mai 2010) | 3 lines Improve _ssl.c formatting ........
* Merged revisions 81108 via svnmerge fromFred Drake2010-05-121-3/+12
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81108 | fred.drake | 2010-05-11 22:24:50 -0400 (Tue, 11 May 2010) | 4 lines - clarify Attr.name comment on the presence of colons in namespace mode - document Attr.value - wrap some long lines ........
* Merged revisions 81087,81106 via svnmerge fromFred Drake2010-05-121-3/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81087 | fred.drake | 2010-05-11 14:12:27 -0400 (Tue, 11 May 2010) | 2 lines fix typo ........ r81106 | fred.drake | 2010-05-11 21:22:03 -0400 (Tue, 11 May 2010) | 2 lines fix error introduced in previous commit, and the adjacent additional typo ........
* Merged revisions 81102 via svnmerge fromGiampaolo Rodolà2010-05-121-6/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81102 | giampaolo.rodola | 2010-05-12 02:29:27 +0200 (mer, 12 mag 2010) | 1 line Removed the assertion that dispatcher.connected attribute must be False after a single connect() call. Solaris and FreeBSD buildbots failures showed how connect() can succeed even in a single call. All bo failures should definitively be fixed now. ........
* Merged revisions 81098 via svnmerge fromAntoine Pitrou2010-05-113-4/+27
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81098 | antoine.pitrou | 2010-05-12 01:42:28 +0200 (mer., 12 mai 2010) | 5 lines Issue #8681: Make the zlib module's error messages more informative when the zlib itself doesn't give any detailed explanation. ........
* Merged revisions 81094 via svnmerge fromAntoine Pitrou2010-05-112-0/+17
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81094 | antoine.pitrou | 2010-05-12 01:32:31 +0200 (mer., 12 mai 2010) | 6 lines Issue #8672: Add a zlib test ensuring that an incomplete stream can be handled by a decompressor object without errors (it returns incomplete uncompressed data). ........
* #8575 - Update and reorganize some _winreg contents.Brian Curtin2010-05-111-82/+247
| | | | | | | | | | | | | I've removed the hopeful note about a future higher-level module since it's been in there for quite a long time and nothing of the sort has come up. There are a few places where markup was added to cross-reference other sections, and many of the external links have been removed and now point to newly created sections containing previously undocumented information. The Value Types section was created and it's contents were taken from a function-specific area, since it applies to more than just that function. It fits in better with the other newly documented constants.
* Issue #8677: Make curses module PY_SSIZE_T_CLEAN.Mark Dickinson2010-05-111-1/+3
|
* adding myself to 'testing' interest area of maintainers.rst fileGiampaolo Rodolà2010-05-111-1/+1
|
* Issue #8657: Make the audioop module PY_SSIZE_T_CLEAN.Mark Dickinson2010-05-112-64/+73
|
* Merged revisions 81079 via svnmerge fromMark Dickinson2010-05-111-17/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81079 | mark.dickinson | 2010-05-11 14:05:30 +0100 (Tue, 11 May 2010) | 1 line Issue #8674: fix another bogus overflow check in audioop module. ........
* Recorded merge of revisions 81077 via svnmerge fromMark Dickinson2010-05-112-25/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests; remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov. ........
* remove now useless __ne__Benjamin Peterson2010-05-111-3/+0
|
* Merged revisions 81073 via svnmerge fromAndrew M. Kuchling2010-05-101-40/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81073 | andrew.kuchling | 2010-05-10 19:27:01 -0400 (Mon, 10 May 2010) | 1 line Use ';' after initialization macros to avoid confusing re-indenters ........
* Merged revisions 81072 via svnmerge fromAndrew M. Kuchling2010-05-101-7/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81072 | andrew.kuchling | 2010-05-10 19:24:09 -0400 (Mon, 10 May 2010) | 1 line Break long line in macros ........
* Merged revisions 81049 via svnmerge fromAndrew M. Kuchling2010-05-101-4/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81049 | andrew.kuchling | 2010-05-10 13:18:25 -0400 (Mon, 10 May 2010) | 1 line Move { out of #if...#else block; this confuses Emacs' C-mode ........
* Merged revisions 81037 via svnmerge fromMark Dickinson2010-05-101-33/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81037 | mark.dickinson | 2010-05-09 21:42:09 +0100 (Sun, 09 May 2010) | 1 line Wrap multiline macros in a 'do {} while(0)', for safety. ........
* Merged revisions 81036 via svnmerge fromMark Dickinson2010-05-101-102/+101
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81036 | mark.dickinson | 2010-05-09 21:30:29 +0100 (Sun, 09 May 2010) | 1 line Post-detabification cleanup: whitespace fixes and long line rewraps only. ........
* Fix nits in the lexical analysis section: \u requires four digits, backtick ↵Georg Brandl2010-05-101-4/+4
| | | | is not allowed in source in 3.x.
* remove reference to second argument to raise #8676Benjamin Peterson2010-05-101-4/+4
|
* Merged revisions 81055 via svnmerge fromMichael Foord2010-05-102-6/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81055 | michael.foord | 2010-05-10 21:21:16 +0100 (Mon, 10 May 2010) | 1 line Improving help message for python -m unittest. Issue 8303. ........
* Merged revisions 81045 via svnmerge fromMark Dickinson2010-05-103-28/+25
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop module. Thanks Tomas Hoger for the patch. ........
* Merged revisions 81043 via svnmerge fromGiampaolo Rodolà2010-05-101-1/+275
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81043 | giampaolo.rodola | 2010-05-10 17:33:22 +0200 (lun, 10 mag 2010) | 1 line Issue #8490: adds a more solid test suite for asyncore ........
* Fix issue #4972: adds ftplib.FTP context manager protocolGiampaolo Rodolà2010-05-105-11/+99
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-09248-119625/+119625
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Blocked revisions 81026 via svnmergeEric Smith2010-05-090-0/+0
| | | | | | | | ........ r81026 | eric.smith | 2010-05-09 10:04:59 -0400 (Sun, 09 May 2010) | 1 line Issue 8671: Whitespace fix. ........
* Fix test_urllib2 failure on OS X.Mark Dickinson2010-05-091-1/+1
|
* Merged revisions 81022 via svnmerge fromMichael Foord2010-05-091-0/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81022 | michael.foord | 2010-05-09 11:58:25 +0200 (Sun, 09 May 2010) | 1 line Adding a test for unittest.BaseTestSuite. ........
* Blocked revisions 81020 via svnmergeMark Dickinson2010-05-090-0/+0
| | | | | | | | | ........ r81020 | mark.dickinson | 2010-05-09 10:30:06 +0100 (Sun, 09 May 2010) | 3 lines Issue #8644: Improve accuracy of timedelta.total_seconds method. (Backport of r80979 to py3k.) Thanks Alexander Belopolsky. ........
* Replace /s with os.sep in the new internal_execvpe test. Hopefully fixesGregory P. Smith2010-05-091-5/+8
| | | | this test on windows.
* make condition more specificBenjamin Peterson2010-05-091-1/+2
|
* Merged revisions 81007 via svnmerge fromJean-Paul Calderone2010-05-094-18/+87
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81007 | jean-paul.calderone | 2010-05-08 16:06:02 -0400 (Sat, 08 May 2010) | 1 line Skip signal handler re-installation if it is not necessary. Issue 8354. ........
* Write tests for the new function os.fsencode()Victor Stinner2010-05-091-1/+9
|