summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1678647: write a newline after printing an exception in anyGeorg Brandl2007-03-122-2/+5
| | | | case, even when converting the value to a string failed.
* Backport from Py3k branch:Georg Brandl2007-03-125-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öwis2007-03-123-7/+14
|
* Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.Martin v. Löwis2007-03-123-7/+13
|
* Sane humans would call these invalid tests, but Andrew McNamara pointed outSkip Montanaro2007-03-121-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 theBarry Warsaw2007-03-123-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 Winter2007-03-121-1/+1
| | | | | | | must use a more stable FTP. Will backport.
* Fix resource leak reported in SF #1516995.Vinay Sajip2007-03-111-0/+2
|
* Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the ↵Collin Winter2007-03-112-2/+13
| | | | | | IndexError caused by passing in an invalid breakpoint number. Will backport.
* Patch #1675981: remove unreachable code from type.__new__() method.Žiga Seilnacht2007-03-112-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 Brandl2007-03-111-0/+2
|
* Patch #1599845: Add an option to disable the implicit calls to server_bind() ↵Collin Winter2007-03-106-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 Winter2007-03-101-2/+4
|
* Typos.Georg Brandl2007-03-102-2/+2
|
* Add proper attribution for a bug fix.Collin Winter2007-03-101-1/+2
|
* Simplify a little by handling the TCP case first.Neal Norwitz2007-03-101-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 Winter2007-03-103-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 Winter2007-03-101-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 Winter2007-03-091-4/+3
|
* Bug #1651235: When a tuple was passed to a ctypes function call,Thomas Heller2007-03-093-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 Winter2007-03-093-5/+41
| | | | forms. This means complex(repr(x)) now works instead of raising a ValueError.
* Add Ziga Seilnacht.Martin v. Löwis2007-03-091-0/+4
|
* Fix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)Thomas Heller2007-03-094-5/+10
| | | | returned string up to the first NUL character.
* Bug #1629566: clarify the docs on the return values of parsedate() and ↵Collin Winter2007-03-093-4/+7
| | | | parsedate_tz() in email.utils and rfc822.
* Patch #957003: Implement smtplib.LMTP.Martin v. Löwis2007-03-093-1/+65
|
* Typo.Georg Brandl2007-03-091-1/+1
|
* Fix SF #1676971, Complex OverflowError has a typoNeal Norwitz2007-03-091-1/+1
|
* Add NEWS item for patch #1481079 (r54234).Collin Winter2007-03-091-0/+2
|
* Patch #1481079: Support of HTTP_REFERER in CGIHTTPServer.pyCollin Winter2007-03-091-1/+4
|
* Introduce test.test_support.TransientResource. It's a context manager toBrett Cannon2007-03-084-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 mkstempCollin Winter2007-03-081-1/+1
|
* SF #1637850: make_table in difflib did not work with unicodeRaymond Hettinger2007-03-081-5/+4
|
* Backported r54226 from p3yk: Move test_unittest, test_doctest and ↵Collin Winter2007-03-081-0/+3
| | | | test_doctest2 higher up in the testing order.
* SF 1676321: empty() returned wrong resultRaymond Hettinger2007-03-081-1/+1
|
* Add a NEWS entry for rev. 54207,8.Georg Brandl2007-03-081-0/+6
|
* Fix #1676656: \em is different from \emph...Georg Brandl2007-03-081-1/+1
|
* Add missing ) in parenthical remark.Martin v. Löwis2007-03-081-1/+1
|
* Windows doesn't support negative timestamps. Skip the tests involving themGuido van Rossum2007-03-071-0/+7
| | | | if os.name == "nt".
* Add some sanity checks to unittest.TestSuite's addTest(s) methods.Georg Brandl2007-03-072-0/+22
| | | | Fixes #878275.
* Patch #1675471: convert test_pty to unittest.Georg Brandl2007-03-072-116/+123
|
* Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', '').Martin v. Löwis2007-03-079-40/+69
|
* Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.Georg Brandl2007-03-071-1/+3
|
* Patch #787789: allow to pass custom TestRunner instances to unittest'sGeorg Brandl2007-03-073-5/+20
| | | | main() function.
* Patches #1550273, #1550272: fix a few bugs in unittest and add aGeorg Brandl2007-03-073-36/+2332
| | | | comprehensive test suite for the module.
* Patch #1001604: glob.glob() now returns unicode filenames if it wasGeorg Brandl2007-03-073-4/+20
| | | | given a unicode argument and os.listdir() returns unicode filenames.
* Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler.Georg Brandl2007-03-071-4/+3
|
* add versionadded infoGeorge Yoshida2007-03-071-0/+2
|
* Patch #703779: unset __file__ in __main__ after running a file. ThisGeorg Brandl2007-03-072-3/+15
| | | | | makes the filenames the warning module prints much more sensible when a PYTHONSTARTUP file is used.
* Variant of patch #697613: don't exit the interpreter on a SystemExitGeorg Brandl2007-03-074-11/+23
| | | | | | | exception if the -i command line option or PYTHONINSPECT environment variable is given, but break into the interactive interpreter just like on other exceptions or normal program exit. (backport)
* Document change to curses.Walter Dörwald2007-03-061-0/+2
|