summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a ↵Antoine Pitrou2008-12-133-1/+12
| | | | non-ASCII letter.
* string.maketrans -> str.maketransBenjamin Peterson2008-12-131-6/+3
|
* Merged revisions 67717 via svnmerge fromLars Gustäbel2008-12-123-10/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67717 | lars.gustaebel | 2008-12-12 14:58:03 +0100 (Fri, 12 Dec 2008) | 2 lines Issue #4616: TarFile.utime(): Restore directory times on Windows. ........
* revert r67713. it causes build problemsBenjamin Peterson2008-12-121-4/+20
|
* reuse tokenize.detect_encoding for linecache #4016Benjamin Peterson2008-12-121-20/+4
|
* raise a SyntaxError in detect_encoding() when a codec lookup fails like the ↵Benjamin Peterson2008-12-123-13/+25
| | | | builtin parser #4021
* Merged revisions 67707 via svnmerge fromMark Dickinson2008-12-112-3/+60
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67707 | mark.dickinson | 2008-12-11 19:28:08 +0000 (Thu, 11 Dec 2008) | 5 lines Issues #3167, #3682: tests for math.log and math.log10 were failing on Solaris and OpenBSD. Fix this by handling special values and domain errors directly in mathmodule.c, passing only positive nonspecial floats to the system log/log10. ........
* Issue #2173: fix build failure on OS X. device_encoding was returning anMark Dickinson2008-12-112-1/+5
| | | | | empty string, causing an (invisible) LookupError on any attempt to write to sys.stdout.
* Blocked revisions 67694 via svnmergeMark Dickinson2008-12-110-0/+0
| | | | | | | | | | | | ........ r67694 | facundo.batista | 2008-12-11 04:19:46 +0000 (Thu, 11 Dec 2008) | 6 lines Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to give correct results in the case where one argument is a quiet NaN and the other is a finite number that requires rounding. Thanks Mark Dickinson. ........
* Merged revisions 67666,67685 via svnmerge fromJeffrey Yasskin2008-12-112-5/+25
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67666 | jeffrey.yasskin | 2008-12-08 10:55:24 -0800 (Mon, 08 Dec 2008) | 3 lines Issue 4597: Fix several cases in EvalFrameEx where an exception could be "raised" without setting x, err, or why to let the eval loop know. ........ r67685 | jeffrey.yasskin | 2008-12-09 23:35:02 -0800 (Tue, 09 Dec 2008) | 2 lines Update Misc/NEWS for r67666. ........
* Issue #4084: Fix max, min, max_mag and min_mag Decimal methods toFacundo Batista2008-12-113-16/+37
| | | | | | give correct results in the case where one argument is a quiet NaN and the other is a finite number that requires rounding. Thanks Mark Dickinson.
* Merged revisions 67688 via svnmerge fromAmaury Forgeot d'Arc2008-12-103-2/+44
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67688 | amaury.forgeotdarc | 2008-12-11 00:22:49 +0100 (jeu., 11 déc. 2008) | 6 lines #4559: When a context manager's __exit__() method returns an object whose conversion to bool raises an exception, 'with' loses that exception. Reviewed by Jeffrey Yasskin. Already ported to 2.5, will port to 2.6 and 3.0 ........
* simplify importsFred Drake2008-12-101-2/+1
|
* #4592: fix embedding example with new C API changes.Georg Brandl2008-12-092-3/+9
|
* Add UUIDs for 3.0.1 and 3.0.2.Martin v. Löwis2008-12-081-0/+4
|
* Merged revisions 67658-67659 via svnmerge fromMartin v. Löwis2008-12-082-0/+5
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67658 | martin.v.loewis | 2008-12-08 12:14:57 +0100 (Mo, 08 Dez 2008) | 1 line Add UUIDs for 2.6.1 and 2.6.2. ........ r67659 | martin.v.loewis | 2008-12-08 12:15:35 +0100 (Mo, 08 Dez 2008) | 1 line Consider micro version for name of CHM file. ........
* #4586: fix usage of Py_InitModule.Georg Brandl2008-12-071-1/+6
|
* Remove unnecessary importNeal Norwitz2008-12-071-1/+0
|
* Issue #4569: Interpreter crash when mutating a memoryview with an item size ↵Antoine Pitrou2008-12-073-93/+117
| | | | | | larger than 1. (together with a bit of reindenting)
* Merged revisions 67511,67536-67537,67543 via svnmerge fromGeorg Brandl2008-12-077-18/+239
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67511 | vinay.sajip | 2008-12-04 00:22:58 +0100 (Thu, 04 Dec 2008) | 1 line Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging. ........ r67536 | gregory.p.smith | 2008-12-04 21:21:09 +0100 (Thu, 04 Dec 2008) | 3 lines Adds a subprocess.check_call_output() function to return the output from a process on success or raise an exception on error. ........ r67537 | vinay.sajip | 2008-12-04 21:32:18 +0100 (Thu, 04 Dec 2008) | 1 line Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time." ........ r67543 | gregory.p.smith | 2008-12-05 03:27:01 +0100 (Fri, 05 Dec 2008) | 2 lines rename the new check_call_output to check_output. its less ugly. ........
* Forward-port r67624 and r67627.Georg Brandl2008-12-072-8/+1
|
* Blocked revisions 67614 via svnmergeGeorg Brandl2008-12-070-0/+0
| | | | | | | | ........ r67614 | skip.montanaro | 2008-12-06 18:43:30 +0100 (Sat, 06 Dec 2008) | 2 lines issue 4483 - dbm build failures on systems with gdbm_compat lib. ........
* Merged revisions 67463,67572,67576,67628 via svnmerge fromGeorg Brandl2008-12-076-25/+49
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line typo in comment ........ r67572 | georg.brandl | 2008-12-05 10:23:14 +0100 (Fri, 05 Dec 2008) | 2 lines #4458: recognize "-" as an argument, not a malformed option in gnu_getopt(). ........ r67576 | georg.brandl | 2008-12-05 13:09:41 +0100 (Fri, 05 Dec 2008) | 2 lines #4529: fix parser's validation for try-except-finally statements. ........ r67628 | skip.montanaro | 2008-12-07 03:16:00 +0100 (Sun, 07 Dec 2008) | 1 line muffed the default case ........
* remove extraneous 'text'Benjamin Peterson2008-12-071-3/+3
|
* Blocked revisions 67498,67521,67581,67584,67587 via svnmergeGeorg Brandl2008-12-070-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | ........ r67498 | raymond.hettinger | 2008-12-03 16:42:10 +0100 (Wed, 03 Dec 2008) | 1 line Backport r67478 ........ r67521 | christian.heimes | 2008-12-04 15:34:40 +0100 (Thu, 04 Dec 2008) | 1 line Bumped up 2.6 to 2.7 ........ r67581 | georg.brandl | 2008-12-05 16:42:03 +0100 (Fri, 05 Dec 2008) | 2 lines #3171: document that *slice are removed in 3k. ........ r67584 | fred.drake | 2008-12-05 16:52:25 +0100 (Fri, 05 Dec 2008) | 2 lines bump version number ........ r67587 | fred.drake | 2008-12-05 17:14:18 +0100 (Fri, 05 Dec 2008) | 2 lines be more specific, and parallel to the py3k branch ........
* Merged revisions ↵Georg Brandl2008-12-0712-42/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines Add reference to enumerate() to indices example. ........ r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines Add another heapq example. ........ r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines Clarification to avoid confusing output with file descriptors. ........ r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines #4408: document regex.groups. ........ r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines #4409: fix asterisks looking like footnotes. ........ r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines #4441: improve doc for os.open() flags. ........ r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines Add an index entry for "subclassing immutable types". ........ r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines Use markup. ........ r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines #4441 followup: Add link to open() docs for Windows. ........ r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines #4544: add `dedent` to textwrap.__all__. ........ r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed. ........ r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines #4478: document that copyfile() can raise Error. ........ r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines Followup to #4511: add link from decorator glossary entry to definition. ........ r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines Remove confusing sentence part. ........ r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines Follow-up to #4488: document PIPE and STDOUT properly. ........ r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines Add link to the favicon to the docs. ........
* document how to deal with binary standard streamsBenjamin Peterson2008-12-071-0/+6
|
* #4576: fix ob_type access.Georg Brandl2008-12-071-4/+4
|
* Blocked revisions 67619 via svnmergeAntoine Pitrou2008-12-060-0/+0
| | | | | | | | ........ r67619 | antoine.pitrou | 2008-12-06 22:29:24 +0100 (sam., 06 déc. 2008) | 1 line Issue #4509: bugs in bytearray with exports (buffer protocol) ........
* Issue #4509: bugs in bytearray with exports (buffer protocol)Antoine Pitrou2008-12-063-11/+65
|
* update version numberBenjamin Peterson2008-12-061-2/+2
|
* there are only four asdl builtin types in py3kBenjamin Peterson2008-12-061-1/+1
|
* issue 4483 - _dbm build failures on systems with gdbm_compat lib.Skip Montanaro2008-12-063-5/+20
|
* Merged revisions 67494 via svnmerge fromJeffrey Yasskin2008-12-061-1/+10
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67494 | jeffrey.yasskin | 2008-12-02 22:46:45 -0800 (Tue, 02 Dec 2008) | 5 lines Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching whether any thread has tracing turned on, which saves one load instruction in the fast_next_opcode path in PyEval_EvalFrameEx(). See issue 4477. ........
* Issue #4445: save 3 bytes of memory (on average) per bytes allocation.Mark Dickinson2008-12-062-10/+23
| | | | (This is a forward port of r67601).
* #4562: fix zip() examples.Georg Brandl2008-12-061-2/+2
|
* Issue 1163367: Clarify super() docs. Also, fix-up the markup and XXX comment.Raymond Hettinger2008-12-061-8/+9
|
* cmp() is not really gone.Georg Brandl2008-12-061-6/+5
|
* #4557: remove 'c' typecode from array docs and add a note in whatsnew.Georg Brandl2008-12-062-6/+5
|
* Blocked revisions 67601 via svnmergeMark Dickinson2008-12-050-0/+0
| | | | | | | | | ........ r67601 | mark.dickinson | 2008-12-05 21:55:28 +0000 (Fri, 05 Dec 2008) | 3 lines Issue #4445: save 3 bytes (on average, on a typical machine) per string allocation. ........
* Use :samp: role.Georg Brandl2008-12-051-7/+6
|
* Merged revisions 67590 via svnmerge fromMark Dickinson2008-12-051-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67590 | mark.dickinson | 2008-12-05 17:59:46 +0000 (Fri, 05 Dec 2008) | 2 lines Issue #4461: Safety check in parsenumber (ast.c) ........
* #4549: Mention nonlocal statement in tutorial section about scoping.Georg Brandl2008-12-051-6/+5
|
* #4550: fix 2.x syntax in webservers howto.Georg Brandl2008-12-051-7/+8
|
* Issue 4497: silence compiler warnings on Windows.Mark Dickinson2008-12-051-4/+4
|
* Manually merged r67583: move __import__ doc to the bottom.Georg Brandl2008-12-051-53/+53
|
* Blocked revisions 67583 via svnmergeGeorg Brandl2008-12-050-0/+0
| | | | | | | | | | ........ r67583 | georg.brandl | 2008-12-05 16:52:20 +0100 (Fri, 05 Dec 2008) | 4 lines Move __import__ to the bottom of the functions list. It doesn't make sense for such a fundamental document to have the most obscure function listed at the top. ........
* #4504, #4505: Update noddy examples in "Extending & Embedding".Georg Brandl2008-12-057-219/+215
|
* Fixed issue #4533: File read operation was dreadfully slowChristian Heimes2008-12-052-4/+31
|
* #4427: fix arguments for "y" BuildValue type.Georg Brandl2008-12-051-1/+1
|