]>
granicus.if.org Git - python/log
Benjamin Peterson [Mon, 21 Jun 2010 15:27:46 +0000 (15:27 +0000)]
fix finding visual studio 2008 on 64 bit #8854
Thomas Heller [Mon, 21 Jun 2010 15:01:18 +0000 (15:01 +0000)]
Add tests for problems reported in issue 8959.
Thomas Heller [Mon, 21 Jun 2010 14:00:24 +0000 (14:00 +0000)]
Fix #8959 by reverting revision 80761.
Andrew M. Kuchling [Sun, 20 Jun 2010 21:45:45 +0000 (21:45 +0000)]
Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up
Mark Dickinson [Sun, 20 Jun 2010 18:50:19 +0000 (18:50 +0000)]
Merge test_strtod and test_float string-to-float conversion tests.
Benjamin Peterson [Sun, 20 Jun 2010 15:12:04 +0000 (15:12 +0000)]
update emacs section
Jean-Paul Calderone [Fri, 18 Jun 2010 20:00:17 +0000 (20:00 +0000)]
Revert r60115
This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.
| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.
See issue1300, issue7839, and issue8972.
Florent Xicluna [Thu, 17 Jun 2010 20:30:56 +0000 (20:30 +0000)]
Add few words about test.test_genericpath.CommonTest
Senthil Kumaran [Thu, 17 Jun 2010 16:38:34 +0000 (16:38 +0000)]
Fix Issue4452 - Incorrect docstring of os.setpgrp
R. David Murray [Thu, 17 Jun 2010 01:36:52 +0000 (01:36 +0000)]
#8720: fix inspect regression by teaching getsourcefile about linecache.
The fix for issue 4050 caused a regression: before that fix, source
lines in the linecache would eventually be found by inspect. After the
fix inspect reports an error earlier, and the source isn't found.
The fix for the fix is to have getsourcefile look in the linecache for
the file and return the psuedo-filename if the source is there, just as
it already returns it if there is a PEP 302 loader.
Senthil Kumaran [Wed, 16 Jun 2010 17:37:32 +0000 (17:37 +0000)]
Addressing RDM's review comments on the doc change.
Senthil Kumaran [Wed, 16 Jun 2010 14:55:31 +0000 (14:55 +0000)]
Fix Issue8937 - SimpleHTTPServer should contain usage example
Mark Dickinson [Tue, 15 Jun 2010 08:33:03 +0000 (08:33 +0000)]
Issue #8469: Further clarifications and improvements to struct module
documentation. Thanks Mads Kiilerich.
Andrew M. Kuchling [Tue, 15 Jun 2010 00:38:58 +0000 (00:38 +0000)]
Add another bunch of items
Georg Brandl [Mon, 14 Jun 2010 15:58:39 +0000 (15:58 +0000)]
#8993: fix reference.
Mark Dickinson [Sun, 13 Jun 2010 12:01:34 +0000 (12:01 +0000)]
Ezio Melotti was missing from Misc/ACKS.
Mark Dickinson [Sun, 13 Jun 2010 11:07:00 +0000 (11:07 +0000)]
Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews.
Mark Dickinson [Sun, 13 Jun 2010 10:50:29 +0000 (10:50 +0000)]
Issue #8986: erfc was raising OverflowError on Linux for arguments in
the (approximate) range (-27.3, 30.0), as a result of an escaped errno
value.
Nick Coghlan [Sun, 13 Jun 2010 06:50:39 +0000 (06:50 +0000)]
Revert r80580 due to some unintended side effects. See issue #8202 for details.
Andrew M. Kuchling [Sat, 12 Jun 2010 20:00:55 +0000 (20:00 +0000)]
Grammar fix
Mark Dickinson [Sat, 12 Jun 2010 18:50:34 +0000 (18:50 +0000)]
Issue #8469: Add standard sizes to table in struct documentation; additional
clarifications and documentation tweaks.
Backport of revisions 81955-81956 from py3k.
Benjamin Peterson [Sat, 12 Jun 2010 17:47:06 +0000 (17:47 +0000)]
fix warning with ucs4
Nick Coghlan [Sat, 12 Jun 2010 13:45:37 +0000 (13:45 +0000)]
Backport a fix from Py3k for a potentially misleading example
Georg Brandl [Sat, 12 Jun 2010 09:46:03 +0000 (09:46 +0000)]
Update README.
Georg Brandl [Sat, 12 Jun 2010 09:45:58 +0000 (09:45 +0000)]
Fix gratuitous indentation.
Georg Brandl [Sat, 12 Jun 2010 09:45:28 +0000 (09:45 +0000)]
Add document on how to build.
Georg Brandl [Sat, 12 Jun 2010 09:45:01 +0000 (09:45 +0000)]
Use newer toctree syntax.
Georg Brandl [Sat, 12 Jun 2010 06:45:33 +0000 (06:45 +0000)]
Update version in README.
Georg Brandl [Sat, 12 Jun 2010 06:28:58 +0000 (06:28 +0000)]
Document that an existing directory raises in mkdir().
Georg Brandl [Sat, 12 Jun 2010 06:26:54 +0000 (06:26 +0000)]
Fix punctuation.
Vinay Sajip [Fri, 11 Jun 2010 22:56:50 +0000 (22:56 +0000)]
Issue #8924: logging: Improved error handling for Unicode in exception text.
Antoine Pitrou [Fri, 11 Jun 2010 21:42:26 +0000 (21:42 +0000)]
Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
the interpreter with characters outside the Basic Multilingual Plane
(higher than 0x10000).
Benjamin Peterson [Fri, 11 Jun 2010 21:40:37 +0000 (21:40 +0000)]
different spellings are just unacceptable
Mark Dickinson [Fri, 11 Jun 2010 20:27:05 +0000 (20:27 +0000)]
Fix possible undefined behaviour from signed overflow in struct module.
Backport of revisions 81897, 81898 and 81902 from py3k.
Victor Stinner [Fri, 11 Jun 2010 19:22:28 +0000 (19:22 +0000)]
Issue #8362: Add Misc/maintainers.rst: list of module maintainers
Ezio Melotti [Fri, 11 Jun 2010 02:21:25 +0000 (02:21 +0000)]
Remove extra ] from itertools.count docstring.
Andrew M. Kuchling [Fri, 11 Jun 2010 01:54:58 +0000 (01:54 +0000)]
Add a few more items
Andrew M. Kuchling [Fri, 11 Jun 2010 00:23:01 +0000 (00:23 +0000)]
#5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv()
Andrew M. Kuchling [Fri, 11 Jun 2010 00:16:08 +0000 (00:16 +0000)]
#5753: update demo.c to use PySys_SetArgvEx(), and add a comment
Andrew M. Kuchling [Fri, 11 Jun 2010 00:14:34 +0000 (00:14 +0000)]
Edit comments for current Python; bump version number of Python
Michael Foord [Thu, 10 Jun 2010 20:40:21 +0000 (20:40 +0000)]
Fix issue with nested test suites debug method and module setups. (unittest)
Michael Foord [Thu, 10 Jun 2010 16:32:00 +0000 (16:32 +0000)]
NEWS update for issue 8948.
Benjamin Peterson [Wed, 9 Jun 2010 19:45:04 +0000 (19:45 +0000)]
fix code formatting
Alexander Belopolsky [Wed, 9 Jun 2010 17:08:11 +0000 (17:08 +0000)]
Fixed markup of tm_isdst attribute.
Antoine Pitrou [Wed, 9 Jun 2010 16:24:00 +0000 (16:24 +0000)]
Issue #8930: fix some C code indentation
Michael Foord [Wed, 9 Jun 2010 12:29:56 +0000 (12:29 +0000)]
Typo correction.
Michael Foord [Tue, 8 Jun 2010 22:44:52 +0000 (22:44 +0000)]
Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug().
Brian Curtin [Tue, 8 Jun 2010 21:15:06 +0000 (21:15 +0000)]
Move a variable declration outside of a loop to match what was
done in r81843 for py3k.
Benjamin Peterson [Tue, 8 Jun 2010 14:53:29 +0000 (14:53 +0000)]
kill extra word
Benjamin Peterson [Mon, 7 Jun 2010 22:33:09 +0000 (22:33 +0000)]
use unicode literals
Benjamin Peterson [Mon, 7 Jun 2010 22:32:44 +0000 (22:32 +0000)]
remove extra byte and fix comment
Benjamin Peterson [Mon, 7 Jun 2010 22:23:23 +0000 (22:23 +0000)]
correctly overflow when indexes are too large
Ezio Melotti [Mon, 7 Jun 2010 22:00:18 +0000 (22:00 +0000)]
Silence deprecation warning in test___all__ caused by an import bsddb.
Benjamin Peterson [Mon, 7 Jun 2010 21:37:09 +0000 (21:37 +0000)]
locale grouping strings should end in '\0'
Andrew M. Kuchling [Mon, 7 Jun 2010 13:38:40 +0000 (13:38 +0000)]
#8875: Remove duplicated paragraph
Tarek Ziadé [Sun, 6 Jun 2010 20:05:20 +0000 (20:05 +0000)]
Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst
Benjamin Peterson [Sun, 6 Jun 2010 02:09:33 +0000 (02:09 +0000)]
careening towards 2.7rc2 we go
Benjamin Peterson [Sun, 6 Jun 2010 00:55:14 +0000 (00:55 +0000)]
tag 2.7's first release candidate
Benjamin Peterson [Sun, 6 Jun 2010 00:54:29 +0000 (00:54 +0000)]
fix sphinx warning with an extra space
Benjamin Peterson [Sun, 6 Jun 2010 00:50:58 +0000 (00:50 +0000)]
remove extra space
Benjamin Peterson [Sun, 6 Jun 2010 00:49:27 +0000 (00:49 +0000)]
update pydoc-topics
Benjamin Peterson [Sun, 6 Jun 2010 00:22:09 +0000 (00:22 +0000)]
bump version to 2.7 rc1
Michael Foord [Sat, 5 Jun 2010 23:58:40 +0000 (23:58 +0000)]
Code formatting change.
Ezio Melotti [Sat, 5 Jun 2010 22:28:10 +0000 (22:28 +0000)]
Replace deprecated fail* methods with the equivalent assert* ones.
Michael Foord [Sat, 5 Jun 2010 21:57:03 +0000 (21:57 +0000)]
Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
Michael Foord [Sat, 5 Jun 2010 20:59:00 +0000 (20:59 +0000)]
Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors.
Michael Foord [Sat, 5 Jun 2010 20:33:43 +0000 (20:33 +0000)]
Tests for unittest.TestCase.maxDiff.
Michael Foord [Sat, 5 Jun 2010 19:51:38 +0000 (19:51 +0000)]
Updated NEWS file.
Michael Foord [Sat, 5 Jun 2010 19:38:42 +0000 (19:38 +0000)]
Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported as a skip rather than an error.
Ezio Melotti [Sat, 5 Jun 2010 19:21:32 +0000 (19:21 +0000)]
Add a NEWS entry for r81758 and clarify a comment.
Ezio Melotti [Sat, 5 Jun 2010 17:51:07 +0000 (17:51 +0000)]
Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.
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.
Alexander Belopolsky [Sat, 5 Jun 2010 14:54:26 +0000 (14:54 +0000)]
Issue #8899: time.struct_time now has class and atribute docstrings.
Michael Foord [Sat, 5 Jun 2010 13:48:27 +0000 (13:48 +0000)]
Fix unittest tests after previous commit.
Michael Foord [Sat, 5 Jun 2010 13:38:16 +0000 (13:38 +0000)]
unittest.TestCase assertion methods inform you when they have omitted an over long diff on failure. Issue 8351.
Mark Dickinson [Sat, 5 Jun 2010 13:18:33 +0000 (13:18 +0000)]
Fix test_py3kwarn not to test for __cmp__-related DeprecationWarning.
Michael Foord [Sat, 5 Jun 2010 12:58:39 +0000 (12:58 +0000)]
unittest.TestCase.assertDictEqual and assertMultilineEqual provide better default failure messages in the event of long diffs.
Mark Dickinson [Sat, 5 Jun 2010 12:51:21 +0000 (12:51 +0000)]
Fix comment typo.
Mark Dickinson [Sat, 5 Jun 2010 12:14:43 +0000 (12:14 +0000)]
Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.
This is just a quick fix: if the warning is turned into an exception, the
exception simply gets ignored.
Michael Foord [Sat, 5 Jun 2010 12:10:52 +0000 (12:10 +0000)]
Removed the new max_diff argument to assertSequenceEqual. All 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.
Mark Dickinson [Sat, 5 Jun 2010 11:52:24 +0000 (11:52 +0000)]
Issue #8627: remove out-of-date warning about overriding __cmp__
Michael Foord [Sat, 5 Jun 2010 11:46:59 +0000 (11:46 +0000)]
Extract error message truncating into a method (unittest.TestCase._truncateMessage).
Michael Foord [Sat, 5 Jun 2010 11:23:51 +0000 (11:23 +0000)]
Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual.
Michael Foord [Sat, 5 Jun 2010 10:39:42 +0000 (10:39 +0000)]
unittest TestLoader test discovery filename matching done in a method. This makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation.
Benjamin Peterson [Sat, 5 Jun 2010 02:07:01 +0000 (02:07 +0000)]
_PyObject_LookupSpecial returns a new reference
Benjamin Peterson [Sat, 5 Jun 2010 01:00:10 +0000 (01:00 +0000)]
fix ref counting
Benjamin Peterson [Sat, 5 Jun 2010 00:56:46 +0000 (00:56 +0000)]
implement object.__format__ with PyObject_Format
Benjamin Peterson [Sat, 5 Jun 2010 00:38:22 +0000 (00:38 +0000)]
remove PyType_Ready call; float should be initialized in interpreter startup
Benjamin Peterson [Sat, 5 Jun 2010 00:32:50 +0000 (00:32 +0000)]
properly lookup the __format__ special method
R. David Murray [Fri, 4 Jun 2010 19:51:06 +0000 (19:51 +0000)]
#4487: have Charset check with codecs for possible aliases.
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.
Martin v. Löwis [Fri, 4 Jun 2010 19:39:07 +0000 (19:39 +0000)]
Issue #6470: Drop UNC prefix in FixTk.py
Patch by Christop Gohlke and Amaury Forgeot d'Arc.
Martin v. Löwis [Fri, 4 Jun 2010 19:15:32 +0000 (19:15 +0000)]
Display installer warning that Windows 2000 won't
be supported in future releases.
Martin v. Löwis [Fri, 4 Jun 2010 18:04:42 +0000 (18:04 +0000)]
Issue #5464: Implement plural forms in msgfmt.py.
Martin v. Löwis [Fri, 4 Jun 2010 17:18:42 +0000 (17:18 +0000)]
Issue #8864: Define _XOPEN_SOURCE on Solaris for the
multiprocessing module.
Senthil Kumaran [Fri, 4 Jun 2010 17:17:09 +0000 (17:17 +0000)]
test verifying the resp object is closed for HEAD response.
Senthil Kumaran [Fri, 4 Jun 2010 16:32:14 +0000 (16:32 +0000)]
Fix issue6312 - close the resp object for HEAD response.
Vinay Sajip [Fri, 4 Jun 2010 13:41:02 +0000 (13:41 +0000)]
Issue #8890: Documentation changed to avoid reference to temporary files - other cases covered.
Stefan Krah [Fri, 4 Jun 2010 09:49:20 +0000 (09:49 +0000)]
Detect missing ldd on all systems.
Sean Reifscheider [Fri, 4 Jun 2010 01:51:26 +0000 (01:51 +0000)]
Issue8810: Clearing up docstring for tzinfo.utcoffset.
Vinay Sajip [Thu, 3 Jun 2010 22:34:42 +0000 (22:34 +0000)]
Issue #8890: Documentation changed to avoid reference to temporary files.
Benjamin Peterson [Thu, 3 Jun 2010 21:21:03 +0000 (21:21 +0000)]
use a set for membership testing