summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* #4529: fix parser's validation for try-except-finally statements.Georg Brandl2008-12-053-23/+36
|
* #4544: add `dedent` to textwrap.__all__.Georg Brandl2008-12-051-1/+1
|
* #4441 followup: Add link to open() docs for Windows.Georg Brandl2008-12-051-2/+2
|
* #4458: recognize "-" as an argument, not a malformed option in gnu_getopt().Georg Brandl2008-12-053-1/+9
|
* Use markup.Georg Brandl2008-12-051-2/+2
|
* Add an index entry for "subclassing immutable types".Georg Brandl2008-12-051-1/+2
|
* #4441: improve doc for os.open() flags.Georg Brandl2008-12-051-12/+10
|
* #4409: fix asterisks looking like footnotes.Georg Brandl2008-12-051-6/+6
|
* #4408: document regex.groups.Georg Brandl2008-12-051-0/+5
|
* rename the new check_call_output to check_output. its less ugly.Gregory P. Smith2008-12-054-26/+26
|
* Clarification to avoid confusing output with file descriptors.Georg Brandl2008-12-041-1/+1
|
* Took Nick Coghlan's advice about importing warnings globally in logging, to ↵Vinay Sajip2008-12-042-8/+6
| | | | 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."
* Adds a subprocess.check_call_output() function to return the output from aGregory P. Smith2008-12-044-12/+121
| | | | process on success or raise an exception on error.
* Add another heapq example.Georg Brandl2008-12-041-0/+15
|
* Add reference to enumerate() to indices example.Georg Brandl2008-12-041-2/+5
|
* Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters toFred Drake2008-12-043-3/+45
| | | | | support unusual filenames (such as those containing semi-colons) in Content-Disposition headers.
* Bumped up 2.6 to 2.7Christian Heimes2008-12-047-146/+146
|
* Issue #4384: Added logging integration with warnings module using ↵Vinay Sajip2008-12-034-5/+108
| | | | 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.
* Backport r67478Raymond Hettinger2008-12-033-8/+14
|
* Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by cachingJeffrey Yasskin2008-12-031-1/+10
| | | | | 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 #4025 againChristian Heimes2008-12-031-1/+1
| | | | Converted a C99 style comment to a C89 style comment (found by MAL).
* let people using SVN Sphinx still build the docsBenjamin Peterson2008-12-011-1/+5
|
* typo in commentSkip Montanaro2008-12-011-1/+1
|
* fix pyspecific extensions that were broken by Sphinx's grand renamingBenjamin Peterson2008-11-301-1/+1
|
* w# requires Py_ssize_tChristian Heimes2008-11-301-1/+1
|
* Issue #4365: Add crtassem.h constants to the msvcrt module.Martin v. Löwis2008-11-302-0/+26
|
* note the version that worksBenjamin Peterson2008-11-301-1/+1
|
* Issue #4389: Add icon to the uninstall entry inMartin v. Löwis2008-11-302-1/+6
| | | | "add-and-remove-programs".
* StringIO.close() stops you from using the buffer, tooBenjamin Peterson2008-11-301-1/+2
|
* Fix a small typo in docstringAmaury Forgeot d'Arc2008-11-291-1/+1
|
* Send HTTP headers and message body in a single send() call.Jeremy Hylton2008-11-292-27/+46
| | | | | | | | | | | | | | | | | This change addresses part of issue 4336. Change endheaders() to take an optional message_body argument that is sent along with the headers. Change xmlrpclib and httplib's other methods to use this new interface. It is more efficient to make a single send() call, which should get the entire client request into one packet (assuming it is smaller than the MTU) and will avoid the long pause for delayed ack following timeout. Also: - Add a comment about the buffer size for makefile(). - Extract _set_content_length() method and fix whitespace issues there.
* Reflow long lines.Jeremy Hylton2008-11-291-5/+10
|
* Move definition int sval into branch of ifdef where it is used.Jeremy Hylton2008-11-281-1/+1
| | | | Otherwise, you get a warning about an undefined variable.
* SVN format 9 is the same it seemsBenjamin Peterson2008-11-281-3/+3
|
* Merged revisions ↵Benjamin Peterson2008-11-2815-86/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67384,67386-67387,67389-67390,67392,67399-67400,67403-67405,67426 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r67384 | benjamin.peterson | 2008-11-25 16:13:31 -0600 (Tue, 25 Nov 2008) | 4 lines don't duplicate calls to start_tree() RefactoringTool.pre_order values now holds a list of the fixers while pre_order_mapping holds the dict. ........ r67386 | benjamin.peterson | 2008-11-25 16:44:52 -0600 (Tue, 25 Nov 2008) | 1 line #4423 fix_imports was still replacing usage of a module if attributes were being used ........ r67387 | benjamin.peterson | 2008-11-25 16:47:54 -0600 (Tue, 25 Nov 2008) | 1 line fix broken test ........ r67389 | benjamin.peterson | 2008-11-25 17:13:17 -0600 (Tue, 25 Nov 2008) | 1 line remove compatibility code; we only cater to 2.5+ ........ r67390 | benjamin.peterson | 2008-11-25 22:03:36 -0600 (Tue, 25 Nov 2008) | 1 line fix #3994; the usage of changed imports was fixed in nested cases ........ r67392 | benjamin.peterson | 2008-11-26 11:11:40 -0600 (Wed, 26 Nov 2008) | 1 line simpilfy and comment fix_imports ........ r67399 | benjamin.peterson | 2008-11-26 11:47:03 -0600 (Wed, 26 Nov 2008) | 1 line remove more compatibility code ........ r67400 | benjamin.peterson | 2008-11-26 12:07:41 -0600 (Wed, 26 Nov 2008) | 1 line set svn:ignore ........ r67403 | benjamin.peterson | 2008-11-26 13:11:11 -0600 (Wed, 26 Nov 2008) | 1 line wrap import ........ r67404 | benjamin.peterson | 2008-11-26 13:29:49 -0600 (Wed, 26 Nov 2008) | 1 line build the fix_imports pattern in compile_pattern, so MAPPING can be changed and reflected in the pattern ........ r67405 | benjamin.peterson | 2008-11-26 14:01:24 -0600 (Wed, 26 Nov 2008) | 1 line stop ugly messages about runtime errors being from printed ........ r67426 | benjamin.peterson | 2008-11-28 16:01:40 -0600 (Fri, 28 Nov 2008) | 5 lines don't replace a module name if it is in the middle of a attribute lookup This fix also stops module names from being replaced if they are not in an attribute lookup. ........
* Retain copyright of processing examples. This was requested by a Debian ↵Christian Heimes2008-11-287-0/+21
| | | | maintainer during packaging of the multiprocessing package for 2.4/2.5
* issue4238: bsd support for cpu_countJesse Noller2008-11-281-1/+1
|
* mp docs - fix issues 4012,3518,4193Jesse Noller2008-11-282-21/+108
|
* Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise ↵Christian Heimes2008-11-282-1/+4
| | | | an exception
* - Modules/Setup.dist: Update _elementtree, add _bisect, datetimeMatthias Klose2008-11-271-1/+3
|
* - Modules/Setup.dist: Update pyexpatMatthias Klose2008-11-271-3/+2
|
* fix typo in sqlite3 docsBenjamin Peterson2008-11-261-2/+2
|
* - Modules/Setup.dist: Mention _elementtree and _pickle.Matthias Klose2008-11-261-0/+2
|
* Merged revisions 67183,67191,67371 via svnmerge fromBenjamin Peterson2008-11-253-10/+32
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r67183 | benjamin.peterson | 2008-11-10 21:51:33 -0600 (Mon, 10 Nov 2008) | 1 line handle 'import x as y' in fix_imports; this still needs more work... ........ r67191 | benjamin.peterson | 2008-11-11 17:24:51 -0600 (Tue, 11 Nov 2008) | 1 line super() is good ........ r67371 | benjamin.peterson | 2008-11-24 16:02:00 -0600 (Mon, 24 Nov 2008) | 1 line don't blow up in the metaclass fixer when assignments in the class statement aren't simple ........
* always check the return value of NEW_IDENTIFIERBenjamin Peterson2008-11-251-20/+59
|
* Add unittests that verify documented behavior of public methods in TransportJeremy Hylton2008-11-241-1/+86
| | | | | | | | class. These methods can be overridden. The tests verify that the overridden methods are called, and that changes to the connection have a visible effect on the request.
* #4404: make clear what "path" is.Georg Brandl2008-11-241-4/+4
|
* Fix typo.Georg Brandl2008-11-241-1/+1
|
* #4396 make the parser module correctly validate the with syntaxBenjamin Peterson2008-11-243-1/+46
|
* replace reference to debugger-hooksBenjamin Peterson2008-11-241-2/+3
|