summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update whatsnew for NEWS entries through May 5th.Raymond Hettinger2009-05-141-6/+14
|
* correctly handle invalid operations on streams (like writing on a ↵Benjamin Peterson2009-05-142-1/+19
| | | | non-writable one)
* Merged revisions 72645 via svnmerge fromAntoine Pitrou2009-05-142-2/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72645 | antoine.pitrou | 2009-05-14 23:48:09 +0200 (jeu., 14 mai 2009) | 6 lines Issue #5918: Fix a crash in the parser module. Patch by Amaury. ........
* Fix error in 2-to-3 translation of docs.Raymond Hettinger2009-05-141-1/+1
|
* Merged revisions 72640 via svnmerge fromAntoine Pitrou2009-05-143-2/+4
| | | | | | | | | | | | 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) ........
* Merged revisions 72636 via svnmerge fromTarek Ziadé2009-05-142-4/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72636 | tarek.ziade | 2009-05-14 22:14:13 +0200 (Thu, 14 May 2009) | 1 line #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd ........
* Issue #5006: Better handling of unicode byte-order marks (BOM) in the io ↵Antoine Pitrou2009-05-146-22/+168
| | | | | | | | library. This means, for example, that opening an UTF-16 text file in append mode doesn't add a BOM at the end of the file if the file isn't empty.
* Merged revisions 72630 via svnmerge fromR. David Murray2009-05-141-3/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72630 | r.david.murray | 2009-05-14 12:12:57 -0400 (Thu, 14 May 2009) | 3 lines Fix test failure on Windows, and add skip check if even unicodedata turns out not to be an external module on some other platform. ........
* Exercise the doctests.Raymond Hettinger2009-05-141-2/+3
|
* Convert docstring examples to doctests and fixRaymond Hettinger2009-05-141-53/+76
| | | | | | any errors that were found. Add a usage note to compare_networks() showing how to do the ordering with modern python.
* Suggest how to use compare_networks() with a modern Python.Raymond Hettinger2009-05-141-0/+10
|
* Merged revisions 72624 via svnmerge fromTarek Ziadé2009-05-142-8/+27
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72624 | tarek.ziade | 2009-05-14 16:56:14 +0200 (Thu, 14 May 2009) | 1 line pep8-fied distutils.command.sdist + more tests ........
* typoTarek Ziadé2009-05-141-1/+1
|
* Merged revisions 72618 via svnmerge fromTarek Ziadé2009-05-142-4/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72618 | tarek.ziade | 2009-05-14 14:40:59 +0200 (Thu, 14 May 2009) | 1 line more test coverage for distutils sdist command ........
* Merged revisions 72610,72612 via svnmerge fromTarek Ziadé2009-05-131-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72610 | tarek.ziade | 2009-05-13 23:30:06 +0200 (Wed, 13 May 2009) | 1 line added an inifoo in the C file, to avoid a warning by the MSVC9 linker ........ r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line adding void to the c function ........
* typoBenjamin Peterson2009-05-131-1/+1
|
* This fix makes, eg, 'pydoc time' work again.R. David Murray2009-05-134-1/+16
| | | | | | | | | | | | Merged revisions 72605 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r72605 | r.david.murray | 2009-05-13 13:14:11 -0400 (Wed, 13 May 2009) | 3 lines Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source' file is a binary. Patch by Brodie Rao, test by Daniel Diniz. ........
* Recorded merge of revisions 72601 via svnmerge fromR. David Murray2009-05-130-0/+0
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72601 | r.david.murray | 2009-05-13 09:07:14 -0400 (Wed, 13 May 2009) | 3 lines Move news item to correct section, remove spurious 'see below' from docstring. ........
* Merged revisions 72597 via svnmerge fromR. David Murray2009-05-132-7/+81
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72597 | r.david.murray | 2009-05-12 20:30:29 -0400 (Tue, 12 May 2009) | 2 lines Issue 5994: add docstrings to marshal. ........
* Merged revisions 72593 via svnmerge fromBenjamin Peterson2009-05-121-14/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72593 | benjamin.peterson | 2009-05-12 16:06:05 -0500 (Tue, 12 May 2009) | 1 line the compiler attribute is used in setup.py; can't rename ........
* two editsBenjamin Peterson2009-05-121-2/+2
|
* add example functionBenjamin Peterson2009-05-121-1/+7
|
* fix error handling of PyNumber_InPlaceOr #6000Benjamin Peterson2009-05-121-16/+26
|
* Merged revisions 72585 via svnmerge fromTarek Ziadé2009-05-123-44/+87
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72585 | tarek.ziade | 2009-05-12 19:07:14 +0200 (Tue, 12 May 2009) | 1 line fixed #5977: distutils build_ext.get_outputs was not using the inplace option ........
* Examples correction in urllib2 howto. Michael FoordMichael Foord2009-05-121-5/+5
|
* Merged revisions 72577 via svnmerge fromTarek Ziadé2009-05-121-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72577 | tarek.ziade | 2009-05-12 09:01:29 +0200 (Tue, 12 May 2009) | 1 line removing the assert statement so the code works when Python is run with -O ........
* detach() is a nifty trick for making std* binaryBenjamin Peterson2009-05-121-5/+4
|
* Merged revisions 72572 via svnmerge fromR. David Murray2009-05-121-7/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72572 | r.david.murray | 2009-05-11 21:36:57 -0400 (Mon, 11 May 2009) | 3 lines Make it clear up front that shelve only records changes when objects are assigned back to it when writeback is False. ........
* typo: candiate -> candidateMark Dickinson2009-05-111-2/+2
|
* Merged revisions 72564 via svnmerge fromMark Dickinson2009-05-113-16/+73
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72564 | mark.dickinson | 2009-05-11 16:33:08 +0100 (Mon, 11 May 2009) | 2 lines Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. ........
* Merged revisions 72560 via svnmerge fromTarek Ziadé2009-05-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72560 | tarek.ziade | 2009-05-11 10:45:17 +0200 (Mon, 11 May 2009) | 1 line distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers ........
* Tests for case-senstivity were not being skipped for darwin when installed on aBrett Cannon2009-05-117-45/+46
| | | | | | | case-sensitive filesystems -- which is not the default case. Along the way also fixed the skipping of tests when sys.dont_write_bytecode is true. Closes issue #5442 again.
* bytes -> bytearrayBenjamin Peterson2009-05-101-1/+1
|
* Issue #5990: fix memory leak introduced by PEP 383 commitsAntoine Pitrou2009-05-101-2/+5
|
* Merged revisions 72552 via svnmerge fromTarek Ziadé2009-05-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72552 | tarek.ziade | 2009-05-10 23:27:55 +0200 (Sun, 10 May 2009) | 1 line fixed test_build_ext for win32 ........
* Merged revisions 72547 via svnmerge fromTarek Ziadé2009-05-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72547 | tarek.ziade | 2009-05-10 14:36:48 +0200 (Sun, 10 May 2009) | 1 line fixed test for all platforms ........
* Merged revisions 72543 via svnmerge fromTarek Ziadé2009-05-103-69/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72543 | tarek.ziade | 2009-05-10 14:17:30 +0200 (Sun, 10 May 2009) | 1 line now using EnvironGuard everywhere ........
* Merged revisions 72539 via svnmerge fromTarek Ziadé2009-05-102-19/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72539 | tarek.ziade | 2009-05-10 13:59:30 +0200 (Sun, 10 May 2009) | 1 line refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard ........
* Merged revisions 72535 via svnmerge fromTarek Ziadé2009-05-102-4/+86
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72535 | tarek.ziade | 2009-05-10 13:42:46 +0200 (Sun, 10 May 2009) | 1 line Added tests form install_lib and pep8-fied the module ........
* Merged revisions 72531 via svnmerge fromTarek Ziadé2009-05-103-14/+140
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72531 | tarek.ziade | 2009-05-10 12:12:08 +0200 (Sun, 10 May 2009) | 1 line fixed #5984 and improved test coverage ........
* Rename the surrogates handler to surrogatepass.Martin v. Löwis2009-05-101-1/+1
|
* Rename utf8b error handler to surrogateescape.Martin v. Löwis2009-05-109-30/+30
|
* Rename the surrogates error handler to surrogatepass.Martin v. Löwis2009-05-106-25/+25
|
* remove unneeded uses of str()Benjamin Peterson2009-05-094-4/+4
|
* Merged revisions 72494 via svnmerge fromBenjamin Peterson2009-05-0916-59/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r72494 | benjamin.peterson | 2009-05-08 20:01:14 -0500 (Fri, 08 May 2009) | 21 lines Merged revisions 72491-72493 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r72491 | benjamin.peterson | 2009-05-08 19:33:27 -0500 (Fri, 08 May 2009) | 7 lines make 2to3 use unicode internally on 2.x This started out as a fix for #2660, but became this large refactoring when I realized the dire state this was in. 2to3 now uses tokenize.detect_encoding to decode the files correctly into unicode. ........ r72492 | benjamin.peterson | 2009-05-08 19:35:38 -0500 (Fri, 08 May 2009) | 1 line remove compat code ........ r72493 | benjamin.peterson | 2009-05-08 19:54:15 -0500 (Fri, 08 May 2009) | 1 line add a test for \r\n newlines ........ ................
* only need to catch an TypeError hereBenjamin Peterson2009-05-091-3/+2
|
* Merged revisions 72518 via svnmerge fromBenjamin Peterson2009-05-091-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72518 | benjamin.peterson | 2009-05-09 14:18:36 -0500 (Sat, 09 May 2009) | 1 line clear error state properly ........
* Blocked revisions 72516-72517 via svnmergeBenjamin Peterson2009-05-090-0/+0
| | | | | | | | | | | | ........ r72516 | benjamin.peterson | 2009-05-09 14:03:05 -0500 (Sat, 09 May 2009) | 1 line ignore AttributeErrors for classic classes ........ r72517 | benjamin.peterson | 2009-05-09 14:17:59 -0500 (Sat, 09 May 2009) | 1 line don't ignore exceptions from _PyObject_LengthHint ........
* Merged revisions 72508 via svnmerge fromBenjamin Peterson2009-05-093-28/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72508 | benjamin.peterson | 2009-05-09 11:36:39 -0500 (Sat, 09 May 2009) | 1 line convert some more special methods to use _PyObject_LookupSpecial ........
* these builtins have to be initializedBenjamin Peterson2009-05-095-6/+25
|