summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* locale grouping strings should end in '\0'Benjamin Peterson2010-06-071-1/+1
|
* #8875: Remove duplicated paragraphAndrew M. Kuchling2010-06-071-10/+0
|
* Fixed #8909: now the doc details the size of the bitmap used in distutils' ↵Tarek Ziadé2010-06-062-1/+7
| | | | bdist_wininst
* careening towards 2.7rc2 we goBenjamin Peterson2010-06-062-1/+13
|
* tag 2.7's first release candidateBenjamin Peterson2010-06-061-0/+1
|
* fix sphinx warning with an extra spacev2.7rc1Benjamin Peterson2010-06-061-1/+1
|
* remove extra spaceBenjamin Peterson2010-06-061-1/+1
|
* update pydoc-topicsBenjamin Peterson2010-06-061-1/+1
|
* bump version to 2.7 rc1Benjamin Peterson2010-06-066-9/+9
|
* Code formatting change.Michael Foord2010-06-051-0/+1
|
* Replace deprecated fail* methods with the equivalent assert* ones.Ezio Melotti2010-06-051-11/+11
|
* Documentation updates for issues 8302 and 8351 (truncating excessive diffs ↵Michael Foord2010-06-051-2/+21
| | | | in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
* Tests for issue 8302, skipped test in a setUpClass or a setUpModule are ↵Michael Foord2010-06-053-4/+47
| | | | reported as skips rather than errors.
* Tests for unittest.TestCase.maxDiff.Michael Foord2010-06-051-0/+39
|
* Updated NEWS file.Michael Foord2010-06-051-0/+7
|
* Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported ↵Michael Foord2010-06-051-21/+23
| | | | as a skip rather than an error.
* Add a NEWS entry for r81758 and clarify a comment.Ezio Melotti2010-06-052-3/+11
|
* Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.Ezio Melotti2010-06-053-73/+226
| | | | | | | | | | | | | | | 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change.
* 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
|