Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New tests for basic behavior of smtplib.SMTP and | Facundo Batista | 2007-07-24 | 1 | -10/+121 |
| | | | | | | | smtpd.DebuggingServer. Change to use global host & port number variables. Modified the 'server' to take a string to send back in order to vary test server responses. Added a test for the reaction of smtplib.SMTP to a non-200 HELO response. [GSoC - Alan McIntyre] | ||||
* | Try to get rid of spurious failure in test_resource on the Debian buildbots ↵ | Nick Coghlan | 2007-07-24 | 1 | -9/+16 |
| | | | | by changing the file size limit before attempting to close the file | ||||
* | Fix an incompatibility between the -i and -m command line switches as ↵ | Nick Coghlan | 2007-07-24 | 2 | -45/+38 |
| | | | | reported on python-dev by PJE - runpy.run_module now leaves any changes it makes to the sys module intact after the function terminates | ||||
* | Tweak runpy test to do a better job of confirming that sys has been ↵ | Nick Coghlan | 2007-07-24 | 1 | -3/+5 |
| | | | | manipulated correctly | ||||
* | Correctly cleanup sys.modules after executing runpy relative import | Nick Coghlan | 2007-07-23 | 2 | -8/+11 |
| | | | | | | tests Restore Python 2.4 ImportError when attempting to execute a package (as imports cannot be guaranteed to work properly if you try it) | ||||
* | Add explicit relative import tests for runpy.run_module | Nick Coghlan | 2007-07-22 | 1 | -5/+66 |
| | |||||
* | Selectively enable tests for asyncore.readwrite based on the presence | Facundo Batista | 2007-07-22 | 1 | -81/+77 |
| | | | | | of poll support in the select module (since this is the only case in which readwrite can be called). [GSoC - Alan McIntyre] | ||||
* | Added a select.select call in the test server loop to make sure the | Facundo Batista | 2007-07-19 | 1 | -5/+7 |
| | | | | | | socket is ready to be read from before attempting a read (this prevents an error 10035 on some Windows platforms). [GSoC - Alan McIntyre] | ||||
* | Fix failing unicode test caused by change to ast.c at r56441 | Kurt B. Kaiser | 2007-07-18 | 1 | -3/+3 |
| | |||||
* | SF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors. | Guido van Rossum | 2007-07-18 | 1 | -0/+6 |
| | | | | (Slightly tweaked for style and refcounts.) | ||||
* | Prevent asyncore.dispatcher tests from hanging by adding loop counters | Facundo Batista | 2007-07-17 | 1 | -20/+46 |
| | | | | | | to server & client, and by adding asyncore.close_all calls in tearDown. Also choose correct expected logging results based on the value of __debug__ [Alan McIntyre - GSoC] | ||||
* | Changed the used port and commented out some tests that uses | Facundo Batista | 2007-07-15 | 1 | -72/+82 |
| | | | | | a non documented function that appers to uses resources not present in Windows. | ||||
* | First version. Includes tests for helper functions: read, write, | Facundo Batista | 2007-07-14 | 1 | -0/+370 |
| | | | | | | _exception, readwrite, closeall, compact_traceback; and for classes dispatcher, dispatcher_with_send, and file_wrapper. [Alan McIntyre - GSoC] | ||||
* | Avoid exception if there's a stray directory inside a Maildir folder. | Andrew M. Kuchling | 2007-07-14 | 2 | -2/+17 |
| | | | | | | | The Maildir specification doesn't seem to say anything about this situation, and it can happen if you're keeping a Maildir mailbox in Subversion (.svn directories) or some similar system. The patch just ignores directories in the cur/, new/, tmp/ folders. | ||||
* | In response to this SF bug: | Barry Warsaw | 2007-07-13 | 2 | -0/+23 |
| | | | | | | | | | | [ 1752723 ] email.message_from_string: initial line gets discarded I added a test to assert that when the first line of text passed to message_from_string() contains a leading space, the message ends up with the appropriate FirstHeaderLineIsContinuationDefect on its defects list. The bug is invalid. | ||||
* | Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr output | Thomas Heller | 2007-07-13 | 1 | -0/+8 |
| | | | | of c_char_p and c_wchar_p has changed as a sideeffect. | ||||
* | Do not try to load the GLUT library in the ctypes tests. This test | Thomas Heller | 2007-07-13 | 1 | -24/+2 |
| | | | | | adds little value, but has a large problem on OS X, as explained in SF# 1581906. | ||||
* | Add tests for _ctypes.COMError. | Thomas Heller | 2007-07-13 | 1 | -0/+9 |
| | |||||
* | Added tests for basic behavior of DateTime, Binary, and Fault classes | Facundo Batista | 2007-07-13 | 1 | -1/+134 |
| | | | | | | and the escape function. Check that marshalling recursive sequences & dicts raises TypeError. Check that marshalling out-of-range ints raises OverflowError [Alan McIntyre - GSoC] | ||||
* | Patch #1675424: Added tests for uncovered code in the zipfile module. | Georg Brandl | 2007-07-12 | 2 | -7/+135 |
| | | | | | The KeyError raised by Zipfile.getinfo for nonexistent names now has a descriptive message. | ||||
* | Patch #1731169: clean up expected skips list. | Georg Brandl | 2007-07-12 | 1 | -214/+18 |
| | |||||
* | Patch #1673759: add a missing overflow check when formatting floats | Georg Brandl | 2007-07-12 | 1 | -3/+17 |
| | | | | with %G. | ||||
* | Patch #1739696: use code.co_code only if really necessary | Georg Brandl | 2007-07-12 | 1 | -4/+3 |
| | |||||
* | Patch #1752270, #1750931: complain if urllib2 add_handler called | Georg Brandl | 2007-07-12 | 2 | -0/+10 |
| | | | | without handler. | ||||
* | Patch 1693258: Fix for duplicate "preferences" menu-OS X | Ronald Oussoren | 2007-07-09 | 1 | -18/+31 |
| | |||||
* | Fix typo in comment | Neal Norwitz | 2007-07-06 | 1 | -1/+1 |
| | |||||
* | Fix a few webbrowser.py problems. | Georg Brandl | 2007-07-01 | 1 | -0/+2 |
| | |||||
* | Bug #1737864: allow empty message in logging format routines. | Georg Brandl | 2007-06-19 | 1 | -2/+2 |
| | |||||
* | Added exclude keyword argument to the TarFile.add() method. | Lars Gustäbel | 2007-06-18 | 2 | -4/+31 |
| | |||||
* | Add patch #1726668: Windows Vista support. | Marc-André Lemburg | 2007-06-12 | 1 | -0/+20 |
| | |||||
* | Apply patch #1734945 to support TurboLinux as distribution. | Marc-André Lemburg | 2007-06-12 | 1 | -1/+1 |
| | |||||
* | Bug #1734723: Fix repr.Repr() so it doesn't ignore the maxtuple attribute. | Neal Norwitz | 2007-06-11 | 2 | -1/+14 |
| | | | | Will backport | ||||
* | Not sure why this only fails sometimes on Unix machines. Better | Neal Norwitz | 2007-06-11 | 1 | -1/+2 |
| | | | | | to disable it and only import msvccompiler on Windows since that's the only place it can work anyways. | ||||
* | Add all of the distuils modules that don't seem to have explicit tests. :-( | Neal Norwitz | 2007-06-11 | 2 | -2/+48 |
| | | | | | Move an import in mworkscompiler so that this module can be imported on any platform. Hopefully this works on all platforms. | ||||
* | Prevent hang if the port cannot be opened. | Neal Norwitz | 2007-06-11 | 1 | -6/+15 |
| | |||||
* | Fix a bug when there was a newline in the string expandtabs was called on. | Neal Norwitz | 2007-06-11 | 1 | -0/+5 |
| | | | | | | This also catches another condition that can overflow. Will backport. | ||||
* | Prevent these tests from running on Win64 since they don\'t apply there either | Neal Norwitz | 2007-06-11 | 2 | -3/+4 |
| | |||||
* | Patch #1733960: Allow T_LONGLONG to accept ints. | Martin v. Löwis | 2007-06-09 | 1 | -1/+19 |
| | | | | Will backport to 2.5. | ||||
* | Prevent expandtabs() on string and unicode objects from causing a segfault when | Neal Norwitz | 2007-06-09 | 2 | -2/+18 |
| | | | | | | | a large width is passed on 32-bit platforms. Found by Google. It would be good for people to review this especially carefully and verify I don't have an off by one error and there is no other way to cause overflow. | ||||
* | Make this test work with older Python releases where struct has no 't' ↵ | Thomas Heller | 2007-06-08 | 1 | -1/+4 |
| | | | | format character. | ||||
* | Patch #1667860: Fix UnboundLocalError in urllib2. | Georg Brandl | 2007-06-07 | 2 | -1/+302 |
| | |||||
* | Disallow function calls like foo(None=1). | Georg Brandl | 2007-06-07 | 1 | -0/+3 |
| | | | | Backport from py3k rev. 55708 by Guido. | ||||
* | Added an optional timeout parameter to function urllib2.urlopen, | Facundo Batista | 2007-06-06 | 3 | -13/+62 |
| | | | | | | | with tests in test_urllib2net.py (must have network resource enabled to execute them). Also modified test_urllib2.py because testing mock classes must take it into acount. Docs are also updated. | ||||
* | FTP.ntransfercmd method now uses create_connection when passive, | Facundo Batista | 2007-06-06 | 1 | -3/+1 |
| | | | | using the timeout received in connection time. | ||||
* | Patch #1731049: make threading.py use a proper "raise" when checking ↵ | Collin Winter | 2007-06-06 | 2 | -13/+64 |
| | | | | internal state, rather than assert statements (which get stripped out by -O). | ||||
* | Fix for Windows: close a temporary file before trying to delete it. | Hye-Shik Chang | 2007-06-05 | 1 | -0/+2 |
| | |||||
* | Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it | Hye-Shik Chang | 2007-06-05 | 1 | -1/+9 |
| | | | | | reads a file that ends with incomplete sequence and sizehint argument for .read() is specified. | ||||
* | Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead | Brett Cannon | 2007-06-03 | 2 | -1/+10 |
| | | | | | | | of ``\s*``. This prevents patterns from "stealing" bits from other patterns in order to make a match work. Closes bug #1730389. Will be backported. | ||||
* | SF 1668596/1720897: distutils now copies data files | Neal Norwitz | 2007-06-01 | 2 | -1/+38 |
| | | | | | | | | even if package_dir is empty. This needs to be backported. I'm too tired tonight. It would be great if someone backports this if the buildbots are ok with it. Otherwise, I will try to get to it tomorrow. | ||||
* | Have cfmfile raise a DeprecationWarning as per PEP 4. | Brett Cannon | 2007-05-31 | 1 | -0/+3 |
| |