Brian Curtin
5446f08c60
Correction to f1509fc75435 - Issue #11583
...
Rather than wrapping the C _isdir function in a Python function,
just import the C _isdir function directly. Additionally, add in the
docstring which was left out.
2011-06-09 10:00:42 -05:00
Éric Araujo
5cf8660f0b
Fix a few misuses of :option: I missed in r86521.
...
Extract of the commit message:
Fix usage of :option: in the docs (#9312 ).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
2011-06-09 14:26:10 +02:00
Éric Araujo
d476a89e46
Branch merge
2011-06-09 13:14:12 +02:00
Brian Curtin
caea7e8d23
Merge
2011-06-08 19:29:53 -05:00
Éric Araujo
a65a880cd2
Add examples that work on Windows to distutils docs ( #1626300 )
2011-06-08 01:11:36 +02:00
Éric Araujo
ce5493f33d
Branch merge
2011-06-06 17:11:31 +02:00
Benjamin Peterson
1dc4a828e9
merge 2.7.2 release branch
2011-06-05 12:51:18 -05:00
Martin v. Löwis
2231e1a01f
Stop adding txt files twice.
2011-06-05 10:44:18 +02:00
Martin v. Löwis
ebebd1c56f
Add 2.7.2 UUIDs
2011-06-05 10:43:45 +02:00
Éric Araujo
865b573c04
Remove unnecessary executable bit on one distutils file
2011-06-04 20:45:33 +02:00
Mark Dickinson
a493ca3fae
Issue #12080 : Fix a performance issue in Decimal._power_exact that caused some corner-case Decimal.__pow__ calls to take an unreasonably long time.
2011-06-04 18:24:15 +01:00
Éric Araujo
3322a25532
Remove outdated bit of advice (c882b5ff92d9 follow-up)
2011-06-04 18:35:04 +02:00
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