Commit Graph

45408 Commits

Author SHA1 Message Date
R. David Murray df1cf301c2 #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.
2010-06-17 01:36:52 +00:00
Senthil Kumaran a3e3e36de7 Addressing RDM's review comments on the doc change. 2010-06-16 17:37:32 +00:00
Senthil Kumaran e55a20525e Fix Issue8937 - SimpleHTTPServer should contain usage example 2010-06-16 14:55:31 +00:00
Mark Dickinson 526e5eed71 Issue #8469: Further clarifications and improvements to struct module
documentation.  Thanks Mads Kiilerich.
2010-06-15 08:33:03 +00:00
Andrew M. Kuchling 019aec22a7 Add another bunch of items 2010-06-15 00:38:58 +00:00
Georg Brandl 9933da0663 #8993: fix reference. 2010-06-14 15:58:39 +00:00
Mark Dickinson 8fbbc085fd Ezio Melotti was missing from Misc/ACKS. 2010-06-13 12:01:34 +00:00
Mark Dickinson 62815e875a Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews. 2010-06-13 11:07:00 +00:00
Mark Dickinson e979ec8fbf 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.
2010-06-13 10:50:29 +00:00
Nick Coghlan 8842c356aa Revert r80580 due to some unintended side effects. See issue #8202 for details. 2010-06-13 06:50:39 +00:00
Andrew M. Kuchling bffd62ee0c Grammar fix 2010-06-12 20:00:55 +00:00
Mark Dickinson 8e6c45cfd4 Issue #8469: Add standard sizes to table in struct documentation; additional
clarifications and documentation tweaks.

Backport of revisions 81955-81956 from py3k.
2010-06-12 18:50:34 +00:00
Benjamin Peterson 8e5effaaa4 fix warning with ucs4 2010-06-12 17:47:06 +00:00
Nick Coghlan 10f08f9599 Backport a fix from Py3k for a potentially misleading example 2010-06-12 13:45:37 +00:00
Georg Brandl f084aed3b0 Update README. 2010-06-12 09:46:03 +00:00
Georg Brandl 961e6fd37a Fix gratuitous indentation. 2010-06-12 09:45:58 +00:00
Georg Brandl 16269806ba Add document on how to build. 2010-06-12 09:45:28 +00:00
Georg Brandl fd3eff68f5 Use newer toctree syntax. 2010-06-12 09:45:01 +00:00
Georg Brandl 3e83ff78c6 Update version in README. 2010-06-12 06:45:33 +00:00
Georg Brandl ab776cef9d Document that an existing directory raises in mkdir(). 2010-06-12 06:28:58 +00:00
Georg Brandl b20ada08bd Fix punctuation. 2010-06-12 06:26:54 +00:00
Vinay Sajip 936efc791a Issue #8924: logging: Improved error handling for Unicode in exception text. 2010-06-11 22:56:50 +00:00
Antoine Pitrou cca3a3f396 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).
2010-06-11 21:42:26 +00:00
Benjamin Peterson c6660cf4d6 different spellings are just unacceptable 2010-06-11 21:40:37 +00:00
Mark Dickinson 40228912c8 Fix possible undefined behaviour from signed overflow in struct module.
Backport of revisions 81897, 81898 and 81902 from py3k.
2010-06-11 20:27:05 +00:00
Victor Stinner b65bd2e3eb Issue #8362: Add Misc/maintainers.rst: list of module maintainers 2010-06-11 19:22:28 +00:00
Ezio Melotti fdc1e0d013 Remove extra ] from itertools.count docstring. 2010-06-11 02:21:25 +00:00
Andrew M. Kuchling 11bd81c226 Add a few more items 2010-06-11 01:54:58 +00:00
Andrew M. Kuchling 81145c9b1d #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() 2010-06-11 00:23:01 +00:00
Andrew M. Kuchling de0aeaa432 #5753: update demo.c to use PySys_SetArgvEx(), and add a comment 2010-06-11 00:16:08 +00:00
Andrew M. Kuchling a0b0c6f23c Edit comments for current Python; bump version number of Python 2010-06-11 00:14:34 +00:00
Michael Foord 33958b87f2 Fix issue with nested test suites debug method and module setups. (unittest) 2010-06-10 20:40:21 +00:00
Michael Foord 83d3576ab8 NEWS update for issue 8948. 2010-06-10 16:32:00 +00:00
Benjamin Peterson 1056ca264f fix code formatting 2010-06-09 19:45:04 +00:00
Alexander Belopolsky 094c53cf6e Fixed markup of tm_isdst attribute. 2010-06-09 17:08:11 +00:00
Antoine Pitrou 619f16e194 Issue #8930: fix some C code indentation 2010-06-09 16:24:00 +00:00
Michael Foord ae1bb9a00c Typo correction. 2010-06-09 12:29:56 +00:00
Michael Foord 0fedb28951 Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug(). 2010-06-08 22:44:52 +00:00
Brian Curtin d7afd31a9b Move a variable declration outside of a loop to match what was
done in r81843 for py3k.
2010-06-08 21:15:06 +00:00
Benjamin Peterson fa4c59fa0c kill extra word 2010-06-08 14:53:29 +00:00
Benjamin Peterson eabdeba25e use unicode literals 2010-06-07 22:33:09 +00:00
Benjamin Peterson 7dbe3e31c1 remove extra byte and fix comment 2010-06-07 22:32:44 +00:00
Benjamin Peterson 13e934acc0 correctly overflow when indexes are too large 2010-06-07 22:23:23 +00:00
Ezio Melotti 0b41707dde Silence deprecation warning in test___all__ caused by an import bsddb. 2010-06-07 22:00:18 +00:00
Benjamin Peterson c4afe2950a locale grouping strings should end in '\0' 2010-06-07 21:37:09 +00:00
Andrew M. Kuchling 3ca14e93c9 #8875: Remove duplicated paragraph 2010-06-07 13:38:40 +00:00
Tarek Ziadé 770fd15caa Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst 2010-06-06 20:05:20 +00:00
Benjamin Peterson 2f3d9f926d careening towards 2.7rc2 we go 2010-06-06 02:09:33 +00:00
Benjamin Peterson 6b177ac275 tag 2.7's first release candidate 2010-06-06 00:55:14 +00:00
Benjamin Peterson 11591c3dda fix sphinx warning with an extra space 2010-06-06 00:54:29 +00:00