Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1635454: the csv.DictWriter class now includes the offending | Georg Brandl | 2007-03-13 | 2 | -3/+8 |
| | | | | | field names in its exception message if you try to write a record with a dictionary containing fields not in the CSV field names list. | ||||
* | Patch #1668100: urllib2 now correctly raises URLError instead of | Georg Brandl | 2007-03-13 | 3 | -18/+25 |
| | | | | OSError if accessing a local file via the file:// protocol fails. | ||||
* | Patch #1642844: comments to clarify the complexobject constructor. | Georg Brandl | 2007-03-13 | 1 | -4/+25 |
| | |||||
* | Patch #1679379: add documentation for fnmatch.translate(). | Georg Brandl | 2007-03-13 | 2 | -0/+33 |
| | |||||
* | Typo and grammar fixes. | Georg Brandl | 2007-03-13 | 2 | -4/+4 |
| | |||||
* | Fix some style nits: | Neal Norwitz | 2007-03-13 | 1 | -13/+15 |
| | | | | | | | | | | * lines too long * wrong indentation * space after a function name * wrong function name in error string * simplifying some logic Also add an error check to PyDict_SetItemString. | ||||
* | Add some other acks for recent checkins: | Neal Norwitz | 2007-03-13 | 1 | -0/+3 |
| | | | | | | Brian Leair - 922167 Tomer Filiba - 1591665 Jeremy Jones - 1192590 | ||||
* | Add Jerry Seutter for a bunch of his recent patches refactoring tests | Neal Norwitz | 2007-03-13 | 1 | -0/+1 |
| | |||||
* | Fix a typo where the variable name was not updated. | Brett Cannon | 2007-03-13 | 1 | -1/+1 |
| | |||||
* | Add test.test_support.transient_internet . Returns a context manager that | Brett Cannon | 2007-03-13 | 2 | -3/+14 |
| | | | | | | | | | nests test.test_support.TransientResource context managers that capture exceptions raised when the Internet connection is flaky. Initially using in test_socket_ssl but should probably be expanded to cover any test that should not raise the captured exceptions if the Internet connection works. | ||||
* | Set missing svn:eol-style property on text files. | Tim Peters | 2007-03-12 | 0 | -0/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2007-03-12 | 18 | -522/+522 |
| | |||||
* | Patch #1670993: Refactor test_threadedtempfile.py to use unittest. | Collin Winter | 2007-03-12 | 2 | -46/+34 |
| | |||||
* | Typo fix. | Georg Brandl | 2007-03-12 | 1 | -1/+1 |
| | |||||
* | Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. ↵ | Collin Winter | 2007-03-12 | 7 | -2/+62 |
| | | | | | | Fixed by patch #922167. Will backport. | ||||
* | Patch #1678088: convert test_operations to use unittest, fold the result ↵ | Collin Winter | 2007-03-12 | 4 | -100/+72 |
| | | | | into test_dict. | ||||
* | Bug #1678647: write a newline after printing an exception in any | Georg Brandl | 2007-03-12 | 2 | -2/+5 |
| | | | | case, even when converting the value to a string failed. | ||||
* | Backport from Py3k branch: | Georg Brandl | 2007-03-12 | 5 | -129/+281 |
| | | | | | | | Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir. Had to change a few bits of the patch because classobjs and __methods__ are still in Py2.6. | ||||
* | Patch #1677862: Require a space or tab after import in .pth files. | Martin v. Löwis | 2007-03-12 | 3 | -7/+14 |
| | |||||
* | Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86. | Martin v. Löwis | 2007-03-12 | 3 | -7/+13 |
| | |||||
* | Sane humans would call these invalid tests, but Andrew McNamara pointed out | Skip Montanaro | 2007-03-12 | 1 | -0/+4 |
| | | | | | that given the inputs in these tests Excel does indeed produce the output these tests expect. Document that for future confused folks. | ||||
* | Tokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in the | Barry Warsaw | 2007-03-12 | 3 | -4/+17 |
| | | | | | | | | | display name of an email address, e.g. Foo \tBar <foo@example.com> Test case added by Barry. | ||||
* | Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py ↵ | Collin Winter | 2007-03-12 | 1 | -1/+1 |
| | | | | | | | must use a more stable FTP. Will backport. | ||||
* | Fix resource leak reported in SF #1516995. | Vinay Sajip | 2007-03-11 | 1 | -0/+2 |
| | |||||
* | Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the ↵ | Collin Winter | 2007-03-11 | 2 | -2/+13 |
| | | | | | | IndexError caused by passing in an invalid breakpoint number. Will backport. | ||||
* | Patch #1675981: remove unreachable code from type.__new__() method. | Žiga Seilnacht | 2007-03-11 | 2 | -7/+7 |
| | | | | | __dict__ and __weakref__ are removed from the slots tuple earlier in the code, in the loop that mangles slot names. Will backport. | ||||
* | Add missing "return" statements in exception handler. | Georg Brandl | 2007-03-11 | 1 | -0/+2 |
| | |||||
* | Patch #1599845: Add an option to disable the implicit calls to server_bind() ↵ | Collin Winter | 2007-03-10 | 6 | -12/+30 |
| | | | | and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer. | ||||
* | Convert an assert to a raise so it works even in the presence of -O. | Collin Winter | 2007-03-10 | 1 | -2/+4 |
| | |||||
* | Typos. | Georg Brandl | 2007-03-10 | 2 | -2/+2 |
| | |||||
* | Add proper attribution for a bug fix. | Collin Winter | 2007-03-10 | 1 | -1/+2 |
| | |||||
* | Simplify a little by handling the TCP case first. | Neal Norwitz | 2007-03-10 | 1 | -16/+16 |
| | | | | | Update to use predominant style of spaces around = in args list and print to stderr if debugging. | ||||
* | Bug #1531963: Make SocketServer.TCPServer's server_address always be equal ↵ | Collin Winter | 2007-03-10 | 3 | -0/+5 |
| | | | | | | to calling getsockname() on the server's socket. Will backport. | ||||
* | * Unlink test files before and after each test; hopefully this will cut down ↵ | Collin Winter | 2007-03-10 | 1 | -105/+62 |
| | | | | | | | on recent buildbot failures in test_islink. * Drop safe_remove() in favor of test_support.unlink(). * Fix the indentation of test_samefile so that it runs. | ||||
* | Hashing simplification pointed out by Thomas Wouters. | Collin Winter | 2007-03-09 | 1 | -4/+3 |
| | |||||
* | Bug #1651235: When a tuple was passed to a ctypes function call, | Thomas Heller | 2007-03-09 | 3 | -19/+16 |
| | | | | | | | | Python would crash instead of raising an error. The crash was caused by a section of code that should have been removed long ago, at that time ctypes had other ways to pass parameters to function calls. | ||||
* | Patch #1491866: change the complex() constructor to allow parthensized ↵ | Collin Winter | 2007-03-09 | 3 | -5/+41 |
| | | | | forms. This means complex(repr(x)) now works instead of raising a ValueError. | ||||
* | Add Ziga Seilnacht. | Martin v. Löwis | 2007-03-09 | 1 | -0/+4 |
| | |||||
* | Fix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0) | Thomas Heller | 2007-03-09 | 4 | -5/+10 |
| | | | | returned string up to the first NUL character. | ||||
* | Bug #1629566: clarify the docs on the return values of parsedate() and ↵ | Collin Winter | 2007-03-09 | 3 | -4/+7 |
| | | | | parsedate_tz() in email.utils and rfc822. | ||||
* | Patch #957003: Implement smtplib.LMTP. | Martin v. Löwis | 2007-03-09 | 3 | -1/+65 |
| | |||||
* | Typo. | Georg Brandl | 2007-03-09 | 1 | -1/+1 |
| | |||||
* | Fix SF #1676971, Complex OverflowError has a typo | Neal Norwitz | 2007-03-09 | 1 | -1/+1 |
| | |||||
* | Add NEWS item for patch #1481079 (r54234). | Collin Winter | 2007-03-09 | 1 | -0/+2 |
| | |||||
* | Patch #1481079: Support of HTTP_REFERER in CGIHTTPServer.py | Collin Winter | 2007-03-09 | 1 | -1/+4 |
| | |||||
* | Introduce test.test_support.TransientResource. It's a context manager to | Brett Cannon | 2007-03-08 | 4 | -1/+39 |
| | | | | | | | | | | | surround calls to resources that may or may not be available. Specifying the expected exception and attributes to be raised if the resource is not available prevents overly broad catching of exceptions. This is meant to help suppress spurious failures by raising test.test_support.ResourceDenied if the exception matches. It would probably be good to go through the various network tests and surround the calls to catch connection timeouts (as done with test_socket_ssl in this commit). | ||||
* | Patch #1668482: don't use '-' in mkstemp | Collin Winter | 2007-03-08 | 1 | -1/+1 |
| | |||||
* | SF #1637850: make_table in difflib did not work with unicode | Raymond Hettinger | 2007-03-08 | 1 | -5/+4 |
| | |||||
* | Backported r54226 from p3yk: Move test_unittest, test_doctest and ↵ | Collin Winter | 2007-03-08 | 1 | -0/+3 |
| | | | | test_doctest2 higher up in the testing order. | ||||
* | SF 1676321: empty() returned wrong result | Raymond Hettinger | 2007-03-08 | 1 | -1/+1 |
| |