summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* give the C implementation of TextIOWrapper the errors property #6217Benjamin Peterson2009-06-062-18/+21
|
* Issue #6137: The pickle module now translates module names when loadingAntoine Pitrou2009-06-041-41/+240
| | | | | | or dumping pickles with a 2.x-compatible protocol, in order to make data sharing and migration easier. This behaviour can be disabled using the new `fix_imports` optional argument.
* #3791: remove last traces of bsddb.Georg Brandl2009-06-041-19/+0
|
* Issue #6183: Disables wcsftime on VC6.Hirokazu Yamamoto2009-06-031-1/+1
|
* Issue #5562: Use wcsftime for time.strftime where available.Martin v. Löwis2009-05-301-9/+42
|
* Issue #6097: Escape UTF-8 surrogates resulting from mbstocs conversionMartin v. Löwis2009-05-291-2/+18
| | | | of the command line.
* Merged revisions 73016 via svnmerge fromMartin v. Löwis2009-05-292-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73016 | martin.v.loewis | 2009-05-29 17:58:08 +0200 (Fr, 29 Mai 2009) | 2 lines Issue #4873: Fix resource leaks in error cases of pwd and grp. ........
* Issue #4859: Implement PEP 383 for pwd, spwd, and grp.Martin v. Löwis2009-05-293-26/+58
|
* Issue #6012: Add cleanup support to O& argument parsing.Martin v. Löwis2009-05-292-3/+31
|
* Fix TODO: do the sort by just the key, not the key/value pair.Raymond Hettinger2009-05-271-15/+20
|
* * Fix-up a TODO (support the sort_key option).Raymond Hettinger2009-05-271-20/+40
| | | | | | | | * Fix an error where True/False were being written-out as title-cased strings when used a dictionary keys. * Speed-up iteration over dicts by looping over items() rather than keys() followed by value lookups. * TODO: sort only by keys, not keys and values.
* Issue 6105: json encoder to respect iteration order of its inputs.Raymond Hettinger2009-05-271-5/+22
|
* Merged revisions 72930 via svnmerge fromCollin Winter2009-05-261-9/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72930 | collin.winter | 2009-05-25 21:12:39 -0700 (Mon, 25 May 2009) | 1 line Issue 5794: fix cPickle's unpickling of recursive tuples. ........
* Merged revisions 72924 via svnmerge fromGeorg Brandl2009-05-251-15/+18
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72924 | georg.brandl | 2009-05-25 23:02:56 +0200 (Mo, 25 Mai 2009) | 6 lines Allow multiple context managers in one with statement, as proposed in http://codereview.appspot.com/53094 and accepted by Guido. The construct is transformed into multiple With AST nodes so that there should be no problems with the semantics. ........
* Make variable declarations for opcodes in batch_dict_exact consistentAlexandre Vassalotti2009-05-251-5/+5
| | | | with the rest of the module.
* Merged revisions 72909 via svnmerge fromCollin Winter2009-05-251-9/+81
| | | | | | | | | | | | http://svn.python.org/projects/python/trunk Note that the performance improvement for the py3k branch is not as high as for trunk. ........ r72909 | collin.winter | 2009-05-24 21:34:39 -0700 (Sun, 24 May 2009) | 2 lines Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle. ........
* Make some private functions static (thanks `make smelly`)Antoine Pitrou2009-05-242-2/+3
|
* Merged revisions 72887 via svnmerge fromAntoine Pitrou2009-05-241-2/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72887 | antoine.pitrou | 2009-05-24 17:40:09 +0200 (dim., 24 mai 2009) | 6 lines Issue #1309352: fcntl now converts its third arguments to a C `long` rather than an int, which makes some operations possible under 64-bit Linux (e.g. DN_MULTISHOT with F_NOTIFY). ........
* Try to fix building under Windows (where SIZEOF_PID_T apparently doesn't exist)Antoine Pitrou2009-05-241-3/+1
|
* Merged revisions 72871-72872 via svnmerge fromBenjamin Peterson2009-05-231-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line support building with subversion 1.7 #6094 ........ r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line reorder name ........
* Issue #5761: Add the name of the underlying file to the repr() of various IO ↵Antoine Pitrou2009-05-233-8/+61
| | | | objects.
* adjust Setup.dist to build _functools and _localeBenjamin Peterson2009-05-231-4/+4
|
* Merged revisions 72855 via svnmerge fromAntoine Pitrou2009-05-231-11/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72855 | antoine.pitrou | 2009-05-23 18:06:49 +0200 (sam., 23 mai 2009) | 3 lines Some pid_t-expecting or producing functions were forgotten in r72852. ........
* Merged revisions 72852 via svnmerge fromAntoine Pitrou2009-05-231-17/+33
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72852 | antoine.pitrou | 2009-05-23 17:37:45 +0200 (sam., 23 mai 2009) | 5 lines Issue #1983: Fix functions taking or returning a process identifier to use the dedicated C type `pid_t` instead of a C `int`. Some platforms have a process identifier type wider than the standard C integer type. ........
* Issue #6093: Fix off-by-one error in locale.strxfrm.Martin v. Löwis2009-05-231-1/+1
|
* Merged revisions 72794 via svnmerge fromMark Dickinson2009-05-201-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72794 | mark.dickinson | 2009-05-20 18:55:31 +0100 (Wed, 20 May 2009) | 1 line typos in ctypes Module ........
* Fix a warning.Georg Brandl2009-05-171-1/+1
|
* Merged revisions 72698-72699 via svnmerge fromHirokazu Yamamoto2009-05-172-25/+17
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72698 | hirokazu.yamamoto | 2009-05-17 11:52:09 +0900 | 1 line Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. ........ r72699 | hirokazu.yamamoto | 2009-05-17 11:58:36 +0900 | 1 line Added NEWS for r72698. ........
* Silence compiler warning.Raymond Hettinger2009-05-161-1/+1
|
* Silence a compiler warning.Raymond Hettinger2009-05-151-1/+1
|
* correctly handle invalid operations on streams (like writing on a ↵Benjamin Peterson2009-05-141-1/+6
| | | | non-writable one)
* Merged revisions 72645 via svnmerge fromAntoine Pitrou2009-05-141-2/+2
| | | | | | | | | | | | 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. ........
* Issue #5006: Better handling of unicode byte-order marks (BOM) in the io ↵Antoine Pitrou2009-05-143-22/+112
| | | | | | | | 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.
* Issue #5990: fix memory leak introduced by PEP 383 commitsAntoine Pitrou2009-05-101-2/+5
|
* Rename utf8b error handler to surrogateescape.Martin v. Löwis2009-05-103-7/+7
|
* Clean up some int/long detection remnants in resource module.Mark Dickinson2009-05-081-4/+2
|
* Merged revisions 72479 via svnmerge fromMark Dickinson2009-05-081-6/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72479 | mark.dickinson | 2009-05-08 21:58:08 +0100 (Fri, 08 May 2009) | 3 lines Issue #5933: Fix gcc -Wextra compiler warnings (and remove some trailing whitespace). ........
* Merged revisions ↵Benjamin Peterson2009-05-081-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70768 | andrew.kuchling | 2009-03-30 17:29:15 -0500 (Mon, 30 Mar 2009) | 1 line Typo fixes ........ r71657 | vinay.sajip | 2009-04-16 14:07:37 -0500 (Thu, 16 Apr 2009) | 1 line Issue #5768: Change to Unicode output logic and test case for same. ........ r71721 | benjamin.peterson | 2009-04-18 14:26:19 -0500 (Sat, 18 Apr 2009) | 1 line fix a few nits in unittest.py #5771 ........ r71729 | benjamin.peterson | 2009-04-18 16:03:10 -0500 (Sat, 18 Apr 2009) | 1 line move test to a more appropiate one ........ r71794 | vinay.sajip | 2009-04-22 07:10:47 -0500 (Wed, 22 Apr 2009) | 2 lines Issue #5170: Fixed regression caused when fixing #5768. ........ r71976 | mark.dickinson | 2009-04-26 14:54:55 -0500 (Sun, 26 Apr 2009) | 2 lines Fix typo in function name ........ r72036 | georg.brandl | 2009-04-27 12:04:23 -0500 (Mon, 27 Apr 2009) | 1 line #5848: small unittest doc patch. ........ r72037 | georg.brandl | 2009-04-27 12:09:53 -0500 (Mon, 27 Apr 2009) | 1 line #5840: dont claim we dont support TLS. ........ r72079 | r.david.murray | 2009-04-28 14:02:55 -0500 (Tue, 28 Apr 2009) | 2 lines Remove spurious 'u'. ........ r72085 | georg.brandl | 2009-04-28 16:48:35 -0500 (Tue, 28 Apr 2009) | 1 line Make the doctests in the docs pass, except for those in the turtle module. ........ r72131 | benjamin.peterson | 2009-04-29 17:43:35 -0500 (Wed, 29 Apr 2009) | 1 line fix test_shutil on ZFS #5676 ........ r72132 | georg.brandl | 2009-04-29 17:44:07 -0500 (Wed, 29 Apr 2009) | 1 line #5878: fix repr of re object. ........ r72133 | benjamin.peterson | 2009-04-29 17:44:15 -0500 (Wed, 29 Apr 2009) | 1 line make sure mode is removable while cleaning up test droppings ........ r72134 | benjamin.peterson | 2009-04-29 19:06:33 -0500 (Wed, 29 Apr 2009) | 1 line make sure to close file ........ r72191 | michael.foord | 2009-05-02 06:43:06 -0500 (Sat, 02 May 2009) | 9 lines Adds an exit parameter to unittest.main(). If False main no longer calls sys.exit. Closes issue 3379. Michael Foord ........ r72197 | benjamin.peterson | 2009-05-02 11:24:37 -0500 (Sat, 02 May 2009) | 1 line don't let sys.argv be used in the tests ........ r72198 | andrew.kuchling | 2009-05-02 12:12:15 -0500 (Sat, 02 May 2009) | 1 line Add items ........ r72219 | michael.foord | 2009-05-02 15:15:05 -0500 (Sat, 02 May 2009) | 8 lines Add addCleanup and doCleanups to unittest.TestCase. Closes issue 5679. Michael Foord ........ r72221 | benjamin.peterson | 2009-05-02 15:26:53 -0500 (Sat, 02 May 2009) | 1 line add myself ........ r72225 | michael.foord | 2009-05-02 17:43:34 -0500 (Sat, 02 May 2009) | 1 line ........ r72303 | benjamin.peterson | 2009-05-04 19:55:24 -0500 (Mon, 04 May 2009) | 1 line using sys._getframe(x), where x > 0 doesnt' work on IronPython ........ r72434 | r.david.murray | 2009-05-07 13:09:58 -0500 (Thu, 07 May 2009) | 2 lines Pre-opened test file needs to be opened in binary mode. ........ r72467 | georg.brandl | 2009-05-08 07:17:34 -0500 (Fri, 08 May 2009) | 1 line Fix name. ........ r72476 | thomas.heller | 2009-05-08 15:09:40 -0500 (Fri, 08 May 2009) | 4 lines Add a file that contains diffs between offical libffi files and the files in this repository. Should make it easier to merge new libffi versions. ........
* Merged revisions 72404-72406 via svnmerge fromWalter Dörwald2009-05-061-1/+2
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72404 | walter.doerwald | 2009-05-06 16:28:24 +0200 (Mi, 06 Mai 2009) | 3 lines Issue 3739: The unicode-internal encoder now reports the number of *characters* consumed like any other encoder (instead of the number of bytes). ........ r72406 | walter.doerwald | 2009-05-06 16:32:35 +0200 (Mi, 06 Mai 2009) | 2 lines Add NEWS entry about issue #3739. ........
* turn this into a macroBenjamin Peterson2009-05-062-39/+2
|
* Merged revisions 72367 via svnmerge fromBenjamin Peterson2009-05-051-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72367 | benjamin.peterson | 2009-05-05 18:00:48 -0500 (Tue, 05 May 2009) | 1 line tabify :( ........
* add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson2009-05-0514-67/+220
| | | | | | All stdlib modules with C-APIs now use this. Patch by Larry Hastings
* Merged revisions 72357 via svnmerge fromBenjamin Peterson2009-05-051-0/+9
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72357 | benjamin.peterson | 2009-05-05 16:09:21 -0500 (Tue, 05 May 2009) | 4 lines fix running test_capi with -R :: Also, fix a refleak in the test that was preventing running. :) ........
* Merged revisions 72344 via svnmerge fromMark Dickinson2009-05-052-3/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72344 | mark.dickinson | 2009-05-05 18:41:47 +0100 (Tue, 05 May 2009) | 3 lines Issue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner for the patch. ........
* Issue #5943: Fix lchflags crash.Martin v. Löwis2009-05-051-1/+1
|
* Added missing semicolon.Eric Smith2009-05-051-1/+1
|
* Merged revisions 72314 via svnmerge fromGeorg Brandl2009-05-051-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72314 | georg.brandl | 2009-05-05 09:48:12 +0200 (Di, 05 Mai 2009) | 1 line #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. ........
* Issue #5915: Implement PEP 383, Non-decodable Bytes inMartin v. Löwis2009-05-053-230/+405
| | | | System Character Interfaces.
* remove old undocumented compat interfaces in hashlib and pwd #5881Benjamin Peterson2009-05-044-16/+3
|
* Merged revisions 72273 via svnmerge fromHirokazu Yamamoto2009-05-041-6/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72273 | hirokazu.yamamoto | 2009-05-04 14:28:39 +0900 | 1 line Issue #5913: os.listdir() should fail for empty path on windows. ........