Commit Graph

49919 Commits

Author SHA1 Message Date
Barry Warsaw 7d21401811 Null merge from 2.6. 2011-06-03 20:07:41 -04:00
Barry Warsaw d0366e862a Replay svn r88852. 2011-06-03 20:05:48 -04:00
Barry Warsaw 16ec24a192 Replay svn r88850. 2011-06-03 20:02:47 -04:00
Victor Stinner e3826c7774 Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
2011-06-03 23:56:43 +02:00
Victor Stinner 9a1662c2f0 Issue #12016: Reindent decoders of HK and JP codecs 2011-06-03 23:35:27 +02:00
Benjamin Peterson d571cf5ab0 merge 2.7.2 release branch 2011-06-03 16:17:48 -05:00
Benjamin Peterson ef1122cbd6 another benefit of this change 2011-06-03 16:17:22 -05:00
Éric Araujo d66d95cdd0 Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe. 2011-06-03 19:25:58 +02:00
Raymond Hettinger 45b082935d Fix named tuples to work with vars(). 2011-06-02 20:40:35 -07:00
Raymond Hettinger 19b851d11b sys.checkinterval() now refreshes the current countdown ticker. 2011-06-01 18:21:42 -07:00
Raymond Hettinger 88fc66179b Cleanup example 2011-06-01 16:01:21 -07:00
Raymond Hettinger 690d4ae8bf Multiple clean-ups to the docs for builtin functions.
* Use concrete example for dir() and eliminate the distracting doctest directives.
* Add a pure python equivalent for enumerate()
* Modify the enumerate() example to demonstrate the start argument
* Remove incorrect reference the *iterable* in the enumerate() docs.
* Downgrade the comments on input() from a warning to a note.
* Fix the iter() example to use the empty string as the terminating
  condition for file.readline().  Also, the old example was broken
  because readline() results include a newline, so 'STOP\n' would have
  been the correct terminating condition.  Even with that fix, the
  STOP example was fragile and would have lead to infinite loops with
  malformed inputs.
* Do not refer to classmethod as being "more advanced" than staticmethod.
2011-06-01 15:50:34 -07:00
Raymond Hettinger 783a30f38e Link to suggestions for how to use super(). 2011-06-01 14:57:13 -07:00
Éric Araujo 2845365bf2 Branch merge 2011-06-01 19:28:26 +02:00
Benjamin Peterson 115a143fa7 merge release tag 2011-05-31 19:12:11 -05:00
Benjamin Peterson bdc21fbaf9 merge heads 2011-05-31 19:08:12 -05:00
Benjamin Peterson 35a9b1ca13 merge 2.7.2 release branch 2011-05-31 19:01:23 -05:00
Benjamin Peterson 4ba009d8dc simply use the Python version for pyexpat.__version__ #12221 2011-05-31 18:59:49 -05:00
Victor Stinner e9b185f263 Issue #12085: Fix test_subprocess for my previous commit
Replace support by test_support, and add captured_stderr() function.
2011-06-01 01:57:48 +02:00
Benjamin Peterson f14e42077c add 2.7.2 header 2011-05-31 18:44:55 -05:00
Victor Stinner 776e69b5b3 Close #12085: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.
2011-06-01 01:03:00 +02:00
Éric Araujo 346d8609a1 Fix markup: arguments in a class directive are __init__ arguments, not base classes 2011-05-31 21:50:22 +02:00
Éric Araujo f2f8503b65 Fix error message to use the Python name instead of the C name 2011-05-31 14:08:40 +02:00
Victor Stinner d9f5292443 Issue #12057: Add tests for ISO 2022 codecs
iso2022_jp, iso2022_jp_2 and iso2022_kr
2011-05-30 23:58:21 +02:00
Victor Stinner d3c7e17a16 Issue #1195: fix the issue number of the NEWS entry 2011-05-30 23:49:13 +02:00
Victor Stinner 08563d904d Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.
2011-05-30 23:44:13 +02:00
Benjamin Peterson b0b64056d7 Added tag v2.7.2rc1 for changeset f48756685406 2011-05-29 16:50:40 -05:00
Benjamin Peterson cd20705902 bump to 2.7.2rc1 2011-05-29 16:50:27 -05:00
Éric Araujo 8c0c9d2641 Branch merge 2011-05-29 17:57:29 +02:00
Ned Deily c4f97f4fdc Issue #12205: Fix test_subprocess failure due to uninstalled test data. 2011-05-29 02:36:17 -07:00
Éric Araujo 28ef3c4726 Re-add missing doc stub for the distutils check command 2011-05-29 00:31:30 +02:00
Éric Araujo bee18a31ad Backport doc improvements for distutils.cmd.Command (#9223).
Original commit by Georg Brandl.
2011-05-29 00:11:59 +02:00
Éric Araujo be77831375 Fix test_distutils when sys.dont_write_bytecode is true (#9831).
The tests now pass all combinations of -O/-OO and -B.  See also #7071
and #6292 for previous variations on the same theme.
2011-05-28 23:21:19 +02:00
Ned Deily 22f63b50e3 Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
ensure "make install" creates symlinks in --prefix bin for the "-32"
files in the framework bin directory like the installer does.
2011-05-28 05:56:14 -07:00
Martin v. Löwis 609e36d887 Nearly null-merge 2.5.6 2011-05-28 14:14:17 +02:00
Martin v. Löwis 9c53584ebd Nearly null-merge 2.5.6 2011-05-28 14:13:32 +02:00
Martin v. Löwis 228516c3f8 merge 2.5.6c1 tag 2011-05-28 14:06:55 +02:00
Martin v. Löwis dcdf0320c0 Added tag v2.5.6c1 for changeset a87c7b96672b 2011-05-28 14:05:31 +02:00
Martin v. Löwis 4ca9d48a04 Added tag v2.5.6 for changeset de34c7b097e8 2011-05-28 14:00:37 +02:00
Martin v. Löwis 11a859d70d r88840: Prepare for 2.5.6. 2011-05-28 13:58:36 +02:00
Martin v. Löwis e81c485e57 r88828: Fix year. 2011-05-28 13:57:28 +02:00
Martin v. Löwis cf60858b55 r88824: Prepare for 2.5.6c1. 2011-05-28 13:56:22 +02:00
Ned Deily 482f908410 Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)
2011-05-28 00:11:54 -07:00
Éric Araujo 5dd034b84f Minor doc addition for clarity 2011-05-27 04:42:47 +02:00
Éric Araujo ec464cf9bb Add missing reST target to one heading in the tutorial 2011-07-29 11:35:27 +02:00
Éric Araujo 8fde9506b7 Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions
- Link to glossary entry from numbers module doc (other modules already do it)
2011-07-29 11:34:17 +02:00
Éric Araujo beb9170cc4 Merge #12417 followup, also removing an extra docstring 2011-07-28 22:32:04 +02:00
Éric Araujo 345fff3de8 Remove mentions of previous license in profile module (#12417 followup) 2011-07-28 22:27:28 +02:00
Benjamin Peterson 1e94021ea5 merge heads 2011-05-26 09:57:21 -05:00
Benjamin Peterson 4fa68ab10b raise an ValueError in getvalue() on closed StringIO (closes #12161)
Thanks for Catalin Iacob for the patch.
2011-05-26 09:56:41 -05:00