Commit Graph

45331 Commits

Author SHA1 Message Date
Stefan Krah 7ff78257af Issue #8930: Remaining indentation fixes after the Grand Unified Indenting. 2010-06-23 18:12:09 +00:00
Antoine Pitrou a4d36a9572 Fix misindents in compile.c (for Benjamin).
Of course, whoever used the wrong indentation rules needs to be spanked.
2010-06-22 21:42:05 +00:00
Benjamin Peterson 7f8ede4db9 mark ref counting as impl detail 2010-06-22 20:32:02 +00:00
Benjamin Peterson 694781b1d3 must force gc here 2010-06-22 20:26:20 +00:00
Benjamin Peterson 5b9ce31c39 bump revision 2010-06-22 19:49:47 +00:00
Benjamin Peterson c009735b50 spacing nit; this isn't C 2010-06-22 19:45:51 +00:00
Benjamin Peterson b91338960e remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 2010-06-22 19:16:37 +00:00
Benjamin Peterson bde67df0cd keep UserDict an old-style class
Be generous in abc.py to allow this.
2010-06-22 18:09:02 +00:00
Ronald Oussoren 3ceab01cef The code in _scproxy (a mac specific helper module to
detect proxy settings) had the wrong logic for detecting
if the checkbox 'Exclude simple hostnames' is checked. This
checkin fixes that.

As a result the test failure 'Issue8455' goes away on systems
where the checkbox is not checked.

I'm carefully avoiding saying that is fixes that issue,
test_urllib2_localnet assumes that system proxy settings are
empty (not just on OSX, see Issue8455 for details).
2010-06-22 09:32:22 +00:00
Ronald Oussoren 934f4e1f39 Fix for issue8446:
* Don't import 'ic' in webbrowser, that module is no longer used
* Remove 'MacOS' from the list of modules that should emit a Py3kWarning on import.
  This is needed because one of the earlier tests triggers and import of this
  extension, and that causes a failure in test_py3kwarn (running test_py3kwarn
  separately worked fine)

With these changes 'make tests' no longer says that test_py3kwarn fails.
2010-06-22 09:18:28 +00:00
Benjamin Peterson 4f6125996d towards final release 2010-06-21 17:28:30 +00:00
Benjamin Peterson 39df204406 tag 2.7rc2 2010-06-21 16:11:51 +00:00
Benjamin Peterson bfcedf4cb7 bump verson to 2.7rc2 2010-06-21 15:57:57 +00:00
Benjamin Peterson bb937092f7 update pydoc-topics 2010-06-21 15:56:45 +00:00
Benjamin Peterson afa1b30969 fix finding visual studio 2008 on 64 bit #8854 2010-06-21 15:27:46 +00:00
Thomas Heller a45e6d5791 Add tests for problems reported in issue 8959. 2010-06-21 15:01:18 +00:00
Thomas Heller f180099ec6 Fix #8959 by reverting revision 80761. 2010-06-21 14:00:24 +00:00
Andrew M. Kuchling 08982665b7 Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up 2010-06-20 21:45:45 +00:00
Mark Dickinson 801923681c Merge test_strtod and test_float string-to-float conversion tests. 2010-06-20 18:50:19 +00:00
Benjamin Peterson c733b3252f update emacs section 2010-06-20 15:12:04 +00:00
Jean-Paul Calderone b33f0c1ccd 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.
2010-06-18 20:00:17 +00:00
Florent Xicluna a37b7af4d7 Add few words about test.test_genericpath.CommonTest 2010-06-17 20:30:56 +00:00
Senthil Kumaran 0d6908b030 Fix Issue4452 - Incorrect docstring of os.setpgrp 2010-06-17 16:38:34 +00:00
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