Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #8899: time.struct_time now has class and atribute docstrings. | Alexander Belopolsky | 2010-06-05 | 3 | -18/+27 |
| | |||||
* | Fix unittest tests after previous commit. | Michael Foord | 2010-06-05 | 2 | -4/+7 |
| | |||||
* | unittest.TestCase assertion methods inform you when they have omitted an ↵ | Michael Foord | 2010-06-05 | 1 | -1/+5 |
| | | | | over long diff on failure. Issue 8351. | ||||
* | Fix test_py3kwarn not to test for __cmp__-related DeprecationWarning. | Mark Dickinson | 2010-06-05 | 1 | -12/+4 |
| | |||||
* | unittest.TestCase.assertDictEqual and assertMultilineEqual provide better ↵ | Michael Foord | 2010-06-05 | 2 | -6/+12 |
| | | | | default failure messages in the event of long diffs. | ||||
* | Fix comment typo. | Mark Dickinson | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return. | Mark Dickinson | 2010-06-05 | 2 | -5/+14 |
| | | | | | This is just a quick fix: if the warning is turned into an exception, the exception simply gets ignored. | ||||
* | Removed the new max_diff argument to assertSequenceEqual. All ↵ | Michael Foord | 2010-06-05 | 2 | -13/+35 |
| | | | | unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351. | ||||
* | Issue #8627: remove out-of-date warning about overriding __cmp__ | Mark Dickinson | 2010-06-05 | 3 | -8/+3 |
| | |||||
* | Extract error message truncating into a method ↵ | Michael Foord | 2010-06-05 | 1 | -4/+6 |
| | | | | (unittest.TestCase._truncateMessage). | ||||
* | Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. | Michael Foord | 2010-06-05 | 2 | -3/+29 |
| | |||||
* | unittest TestLoader test discovery filename matching done in a method. This ↵ | Michael Foord | 2010-06-05 | 1 | -20/+24 |
| | | | | makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation. | ||||
* | _PyObject_LookupSpecial returns a new reference | Benjamin Peterson | 2010-06-05 | 1 | -0/+1 |
| | |||||
* | fix ref counting | Benjamin Peterson | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | implement object.__format__ with PyObject_Format | Benjamin Peterson | 2010-06-05 | 1 | -12/+1 |
| | |||||
* | remove PyType_Ready call; float should be initialized in interpreter startup | Benjamin Peterson | 2010-06-05 | 1 | -6/+1 |
| | |||||
* | properly lookup the __format__ special method | Benjamin Peterson | 2010-06-05 | 2 | -21/+14 |
| | |||||
* | #4487: have Charset check with codecs for possible aliases. | R. David Murray | 2010-06-04 | 3 | -1/+13 |
| | | | | | | | | | Previously, unexpected results occurred when email was passed, for example, 'utf8' as a charset name, since email would accept it but would *not* use the 'utf-8' codec for it, even though Python itself recognises that as an alias for utf-8. Now Charset checks with codecs for aliases as well as its own internal table. Issue 8898 has been opened to change this further in py3k so that all aliasing is routed through the codecs module. | ||||
* | Issue #6470: Drop UNC prefix in FixTk.py | Martin v. Löwis | 2010-06-04 | 3 | -0/+29 |
| | | | | Patch by Christop Gohlke and Amaury Forgeot d'Arc. | ||||
* | Display installer warning that Windows 2000 won't | Martin v. Löwis | 2010-06-04 | 2 | -3/+6 |
| | | | | be supported in future releases. | ||||
* | Issue #5464: Implement plural forms in msgfmt.py. | Martin v. Löwis | 2010-06-04 | 2 | -2/+31 |
| | |||||
* | Issue #8864: Define _XOPEN_SOURCE on Solaris for the | Martin v. Löwis | 2010-06-04 | 2 | -1/+8 |
| | | | | multiprocessing module. | ||||
* | test verifying the resp object is closed for HEAD response. | Senthil Kumaran | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | Fix issue6312 - close the resp object for HEAD response. | Senthil Kumaran | 2010-06-04 | 1 | -0/+1 |
| | |||||
* | Issue #8890: Documentation changed to avoid reference to temporary files - ↵ | Vinay Sajip | 2010-06-04 | 1 | -11/+11 |
| | | | | other cases covered. | ||||
* | Detect missing ldd on all systems. | Stefan Krah | 2010-06-04 | 1 | -1/+2 |
| | |||||
* | Issue8810: Clearing up docstring for tzinfo.utcoffset. | Sean Reifscheider | 2010-06-04 | 1 | -1/+2 |
| | |||||
* | Issue #8890: Documentation changed to avoid reference to temporary files. | Vinay Sajip | 2010-06-03 | 1 | -2/+4 |
| | |||||
* | use a set for membership testing | Benjamin Peterson | 2010-06-03 | 1 | -2/+2 |
| | |||||
* | #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD. | R. David Murray | 2010-06-03 | 2 | -8/+26 |
| | | | | | | | FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because there's no easy way to conditionally include a context manager in a with statement. As a side benefit, instead of a stack of context managers there's now only one. | ||||
* | #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. | R. David Murray | 2010-06-03 | 3 | -1/+22 |
| | | | | | | | | | | If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. | ||||
* | Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. | Stefan Krah | 2010-06-03 | 1 | -3/+3 |
| | |||||
* | Issue #7384: If the system readline library is linked against ncurses, | Stefan Krah | 2010-06-03 | 3 | -24/+41 |
| | | | | | | | | the curses module must be linked against ncurses as well. Otherwise it is not safe to load both the readline and curses modules in an application. Thanks Thomas Dickey for answering questions about ncurses/ncursesw and readline! | ||||
* | Issue #8741: Fixed the TarFile.makelink() method that is responsible | Lars Gustäbel | 2010-06-03 | 3 | -26/+90 |
| | | | | | | | | for extracting symbolic and hard link entries as regular files as a work-around on platforms that do not support filesystem links. This stopped working reliably after a change in r74571. I also added a few tests for this functionality. | ||||
* | Issue #8833: tarfile created hard link entries with a size | Lars Gustäbel | 2010-06-03 | 3 | -2/+9 |
| | | | | | field != 0 by mistake. The associated testcase did not expose this bug because it was broken too. | ||||
* | Fix for issue #7724: ensure that distutils and python's own setup.py | Ronald Oussoren | 2010-06-03 | 2 | -22/+133 |
| | | | | | | | | | | honor the MacOSX SDK when one is specified. This is needed to be able to build using the 10.4u SDK while running on OSX 10.6. This is a fixed version of the patch in r80963, I've tested this patch on OSX and Linux. | ||||
* | #1368247: make set_charset/MIMEText automatically encode unicode _payload. | R. David Murray | 2010-06-02 | 5 | -6/+39 |
| | | | | | | | | Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as the charset and unicode as the _text argument. Also makes the way in which unicode gets encoded to quoted printable for other charsets more sane (it only worked by accident previously). The _payload now is encoded to the charset.output_charset if it is unicode. | ||||
* | Issue #8873: add a documentation note about possible performance issues with the | Antoine Pitrou | 2010-06-02 | 1 | -0/+6 |
| | | | | default of unbuffered IO in subprocess.Popen. | ||||
* | Logging: improved error reporting for BaseConfigurator.resolve(). | Vinay Sajip | 2010-06-02 | 1 | -9/+15 |
| | |||||
* | Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return | Ronald Oussoren | 2010-06-02 | 2 | -0/+11 |
| | | | | | False on MacOSX 10.5 or earlier and scripts won't be able to access GUI functionality. | ||||
* | Fix issue8788 - description of doseq parameter in urllib.urlencode | Senthil Kumaran | 2010-06-02 | 1 | -11/+13 |
| | |||||
* | Fix #8618. Ask the Windows mixer API if there are any playback devices | Brian Curtin | 2010-06-01 | 1 | -0/+6 |
| | | | | configured before attempting to test PlaySound. | ||||
* | Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It ↵ | Senthil Kumaran | 2010-06-01 | 2 | -1/+9 |
| | | | | fails after 5 retries. | ||||
* | Put docs for RegexObject.search() before RegexObject.match() to mirror ↵ | Georg Brandl | 2010-06-01 | 1 | -23/+27 |
| | | | | re.search() and re.match() order. | ||||
* | #7583: clarify discussion of hard tab expansion in doctests. | R. David Murray | 2010-06-01 | 1 | -10/+17 |
| | |||||
* | Improve documentation for getaddrinfo() (part of #8857) | Antoine Pitrou | 2010-05-31 | 1 | -15/+33 |
| | |||||
* | Issue #8748: Fix incorrect results from comparisons between an integer | Mark Dickinson | 2010-05-30 | 3 | -10/+79 |
| | | | | and a complex instance. Based on a patch by Meador Inge. | ||||
* | Remove declaration for unused variable. | Mark Dickinson | 2010-05-30 | 1 | -1/+0 |
| | |||||
* | Issue #5211: Complete removal of implicit coercions for the complex | Mark Dickinson | 2010-05-30 | 3 | -19/+19 |
| | | | | | type. Coercion for arithmetic operations was already removed in r78280, but that commit didn't remove coercion for rich comparisons. | ||||
* | Untabify Modules/config.c.in. | Mark Dickinson | 2010-05-29 | 1 | -18/+17 |
| |