summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused file spotted by Paul HankinNeal Norwitz2007-03-212-27/+2
|
* Fix for glob.py if filesystem encoding is None.Georg Brandl2007-03-201-1/+2
|
* Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() ↵Raymond Hettinger2007-03-204-3/+42
| | | | calls and fixing set/dict interoperability.
* Try to get test_urllib to pass on Windows by closing the file.Neal Norwitz2007-03-201-2/+4
| | | | | | | | | I'm guessing that's the problem. h.getfile() must be called *after* h.getreply() and the fp can be None. I'm not entirely convinced this is the best fix (or even correct). The buildbots will tell us if things improve or not. I don't know if this needs to be backported (assuming it actually works).
* Try to be a little more resilient to errors. This might help the testNeal Norwitz2007-03-201-2/+2
| | | | | | pass, but my guess is that it won't. I'm guessing that some other test is leaving this file open which means it can't be removed under Windows AFAIK.
* Try to make this test more resistant to dropping from previous runs (ie, ↵Neal Norwitz2007-03-201-0/+1
| | | | files that may exist but cause the test to fail). Should be backported (assuming it works :-)
* Try to make this test more resistant to dropping from previous runs (ie, ↵Neal Norwitz2007-03-201-0/+3
| | | | files that may exist but cause the test to fail). Should be backported (assuming it works :-)
* Try backing out 54407 to see if it corrects the problems on the WindowsNeal Norwitz2007-03-204-57/+19
| | | | | buildbots. This rev was backported, so we will need to keep both branches in sync, pending the outcome of the test after this checkin.
* Get rid of deprecation warning when testing commands.getstatus()Neal Norwitz2007-03-201-0/+4
|
* Add a comment about 3k migrationNeal Norwitz2007-03-201-0/+3
|
* Add some doc that was left out from some change to platform.pyNeal Norwitz2007-03-201-0/+17
|
* Patch #1683328: fixes and enhancements for "unparse" demo.Georg Brandl2007-03-191-51/+50
|
* Patch #1630118: add a SpooledTemporaryFile class to tempfile.Collin Winter2007-03-195-1/+237
|
* Patch #1678339: test case for bug in difflib.Georg Brandl2007-03-181-3/+34
|
* Patch #1682878: the new socket methods are recv_into and recvfrom_into, not ↵Georg Brandl2007-03-182-2/+4
| | | | *_buf.
* move note to the correct sectionGregory P. Smith2007-03-171-3/+3
|
* Patch #1675423: PyComplex_AsCComplex() now tries to convert an objectGeorg Brandl2007-03-175-56/+264
| | | | | | | to complex using its __complex__() method before falling back to the __float__() method. Therefore, the functions in the cmath module now can operate on objects that define a __complex__() method. (backport)
* Patch 1339796: add a relpath() function to os.path.Collin Winter2007-03-167-3/+77
|
* Remove test/output/test_popen2 (missed in r54417).Collin Winter2007-03-161-9/+0
|
* Patch #1676994: Refactor test_popen2 to use unittest.Collin Winter2007-03-162-110/+82
|
* Clean up formatting of this file.Jeremy Hylton2007-03-161-2029/+2048
| | | | | | | | | | The file should now follow PEP 7, except that it uses 4 space indents (in the style of Py3k). This particular code would be really hard to read with the regular tab idents. Other changes: - reflow long lines - change multi-line conditionals to have test at end of line
* Remove warning: funcion declaration isn't a prototypeJeremy Hylton2007-03-161-2/+1
|
* Whitespace cleanup. Also remove the empty linesŽiga Seilnacht2007-03-161-41/+38
| | | | from the previous check in.
* Patch #1623563: allow __class__ assignment for classes with __slots__.Žiga Seilnacht2007-03-165-4/+84
| | | | | The old and the new class are still required to have the same slot names, but the order in which they are specified is not relevant.
* RFE #1670167: fix in isinstance() docs.Georg Brandl2007-03-161-2/+3
|
* Add \versionadded tag.Georg Brandl2007-03-161-0/+2
|
* Patch #1273829: os.walk() now has a "followlinks" parameter. If set toGeorg Brandl2007-03-164-19/+57
| | | | | True (which is not the default), it visits symlinks pointing to directories.
* Bug #1681228: the webbrowser module now correctly uses the defaultGeorg Brandl2007-03-162-18/+31
| | | | | | | GNOME or KDE browser, depending on whether there is a session of one of those present. Also, it tries the Windows default browser before trying Mozilla variants. (backport)
* Patch #1642547: Fix an error/crash when encountering syntax errors in ↵Collin Winter2007-03-163-14/+79
| | | | | | complex if statements. Will backport.
* Patch #1462488: prevent a segfault in object_reduce_ex() by splittingŽiga Seilnacht2007-03-153-14/+82
| | | | | the implementation for __reduce__ and __reduce_ex__ into two separate functions. Fixes bug #931877. Will backport.
* Patch #1681153: the wave module now closes a file object it opened ifGeorg Brandl2007-03-152-2/+15
| | | | initialization failed.
* Patch #1680978: consistently use "alive" instead of "active" in theGeorg Brandl2007-03-151-24/+20
| | | | thread lib doc.
* Wrap a long line and fix a typo (is -> if)Neal Norwitz2007-03-151-3/+3
|
* Raise ResourceDenied in test_urllib2net when the Net connection goes bad.Brett Cannon2007-03-142-2/+4
|
* Note how test_socket_ssl has various exceptions that deal with a flaky NetBrett Cannon2007-03-141-0/+2
| | | | connection are silenced.
* Patch #1559413: Fix test_cmd_line if sys.executable contains a space.Martin v. Löwis2007-03-142-1/+3
| | | | Will backport.
* Patch #1680015: Don't modify __slots__ tuple if it contains an unicodeŽiga Seilnacht2007-03-143-16/+46
| | | | | name. Remove a reference leak that happened if the name could not be converted to string. Will backport.
* Bug #767111: fix long-standing bug in urllib which caused anGeorg Brandl2007-03-143-0/+21
| | | | | AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line.
* Its time to stop listing (Unix, Windows) when we really mean "everything but ↵Gregory P. Smith2007-03-143-3/+0
| | | | | | | | Mac OS 9" now that nobody is likely to use Python on Mac OS 9 and most of the (Mac) platform items are all OS X special API specific since OS X is unixy enough for these modules to be available out of the box.
* correct order and names of the less often used keyword parameters.Gregory P. Smith2007-03-141-4/+4
|
* SF bug #1582282; decode_header() incorrectly splits not-conformant RFCBarry Warsaw2007-03-143-1/+26
| | | | | | | 2047-like headers where there is no whitespace between encoded words. This fix changes the matching regexp to include a trailing lookahead assertion that the closing ?= must be followed by whitespace, newline, or end-of-string. This also changes the regexp to add the MULTILINE flag.
* Inline PyImport_GetModulesReloading().Collin Winter2007-03-131-11/+8
|
* Patch #1185447: binascii.b2a_qp() now correctly quotes binary charactersGeorg Brandl2007-03-133-4/+22
| | | | | | with ASCII value less than 32. Also, it correctly quotes dots only if they occur on a single line, as opposed to the previous behavior of quoting dots if they are the second character of any line.
* Patch #1194449: correctly detect unbound methods in pydoc.Georg Brandl2007-03-131-2/+2
|
* Patch #957650: "%var%" environment variable references are now properlyGeorg Brandl2007-03-134-22/+64
| | | | | expanded in ntpath.expandvars(), also "~user" home directory references are recognized and handled on Windows.
* Patch #1429539: pdb now correctly initializes the __main__ module forGeorg Brandl2007-03-132-9/+20
| | | | | the debugged script, which means that imports from __main__ work correctly now.
* NEWS entry for getstatus() deprecation.Georg Brandl2007-03-131-0/+2
|
* Deprecate commands.getstatus().Georg Brandl2007-03-132-0/+6
|
* Patch #1393667: pdb now has a "run" command which restarts the debuggedGeorg Brandl2007-03-134-3/+49
| | | | Python program, optionally with different arguments.
* Add versionadded marker for ctypes.c_bool.Thomas Heller2007-03-131-0/+1
|