summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8899: time.struct_time now has class and atribute docstrings.Alexander Belopolsky2010-06-053-18/+27
|
* Fix unittest tests after previous commit.Michael Foord2010-06-052-4/+7
|
* unittest.TestCase assertion methods inform you when they have omitted an ↵Michael Foord2010-06-051-1/+5
| | | | over long diff on failure. Issue 8351.
* Fix test_py3kwarn not to test for __cmp__-related DeprecationWarning.Mark Dickinson2010-06-051-12/+4
|
* unittest.TestCase.assertDictEqual and assertMultilineEqual provide better ↵Michael Foord2010-06-052-6/+12
| | | | default failure messages in the event of long diffs.
* Fix comment typo.Mark Dickinson2010-06-051-1/+1
|
* Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.Mark Dickinson2010-06-052-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 Foord2010-06-052-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 Dickinson2010-06-053-8/+3
|
* Extract error message truncating into a method ↵Michael Foord2010-06-051-4/+6
| | | | (unittest.TestCase._truncateMessage).
* Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual.Michael Foord2010-06-052-3/+29
|
* unittest TestLoader test discovery filename matching done in a method. This ↵Michael Foord2010-06-051-20/+24
| | | | makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation.
* _PyObject_LookupSpecial returns a new referenceBenjamin Peterson2010-06-051-0/+1
|
* fix ref countingBenjamin Peterson2010-06-051-1/+1
|
* implement object.__format__ with PyObject_FormatBenjamin Peterson2010-06-051-12/+1
|
* remove PyType_Ready call; float should be initialized in interpreter startupBenjamin Peterson2010-06-051-6/+1
|
* properly lookup the __format__ special methodBenjamin Peterson2010-06-052-21/+14
|
* #4487: have Charset check with codecs for possible aliases.R. David Murray2010-06-043-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.pyMartin v. Löwis2010-06-043-0/+29
| | | | Patch by Christop Gohlke and Amaury Forgeot d'Arc.
* Display installer warning that Windows 2000 won'tMartin v. Löwis2010-06-042-3/+6
| | | | be supported in future releases.
* Issue #5464: Implement plural forms in msgfmt.py.Martin v. Löwis2010-06-042-2/+31
|
* Issue #8864: Define _XOPEN_SOURCE on Solaris for theMartin v. Löwis2010-06-042-1/+8
| | | | multiprocessing module.
* test verifying the resp object is closed for HEAD response.Senthil Kumaran2010-06-041-1/+1
|
* Fix issue6312 - close the resp object for HEAD response.Senthil Kumaran2010-06-041-0/+1
|
* Issue #8890: Documentation changed to avoid reference to temporary files - ↵Vinay Sajip2010-06-041-11/+11
| | | | other cases covered.
* Detect missing ldd on all systems.Stefan Krah2010-06-041-1/+2
|
* Issue8810: Clearing up docstring for tzinfo.utcoffset.Sean Reifscheider2010-06-041-1/+2
|
* Issue #8890: Documentation changed to avoid reference to temporary files.Vinay Sajip2010-06-031-2/+4
|
* use a set for membership testingBenjamin Peterson2010-06-031-2/+2
|
* #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD.R. David Murray2010-06-032-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 Murray2010-06-033-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 Krah2010-06-031-3/+3
|
* Issue #7384: If the system readline library is linked against ncurses,Stefan Krah2010-06-033-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 responsibleLars Gustäbel2010-06-033-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 sizeLars Gustäbel2010-06-033-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.pyRonald Oussoren2010-06-032-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 Murray2010-06-025-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 theAntoine Pitrou2010-06-021-0/+6
| | | | default of unbuffered IO in subprocess.Popen.
* Logging: improved error reporting for BaseConfigurator.resolve().Vinay Sajip2010-06-021-9/+15
|
* Fix for issue8868: without this patch 'MacOS.WMAvailable()' will returnRonald Oussoren2010-06-022-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.urlencodeSenthil Kumaran2010-06-021-11/+13
|
* Fix #8618. Ask the Windows mixer API if there are any playback devicesBrian Curtin2010-06-011-0/+6
| | | | configured before attempting to test PlaySound.
* Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It ↵Senthil Kumaran2010-06-012-1/+9
| | | | fails after 5 retries.
* Put docs for RegexObject.search() before RegexObject.match() to mirror ↵Georg Brandl2010-06-011-23/+27
| | | | re.search() and re.match() order.
* #7583: clarify discussion of hard tab expansion in doctests.R. David Murray2010-06-011-10/+17
|
* Improve documentation for getaddrinfo() (part of #8857)Antoine Pitrou2010-05-311-15/+33
|
* Issue #8748: Fix incorrect results from comparisons between an integerMark Dickinson2010-05-303-10/+79
| | | | and a complex instance. Based on a patch by Meador Inge.
* Remove declaration for unused variable.Mark Dickinson2010-05-301-1/+0
|
* Issue #5211: Complete removal of implicit coercions for the complexMark Dickinson2010-05-303-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 Dickinson2010-05-291-18/+17
|