R David Murray
e5cb836d4c
#7475 : Remove references to '.transform' from transform codec docstrings.
2014-03-13 20:54:30 -04:00
Éric Araujo
45fc8713bd
Make distutils error messages more helpful ( #11599 ).
...
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-13 04:55:35 -04:00
Benjamin Peterson
966f2fca5f
weaken callback count inequality ( closes #20901 )
2014-03-12 21:51:52 -05:00
Benjamin Peterson
5eea8a7780
remove unnecessary word ( closes #19060 )
...
Patch by Anastasia Filatova.
2014-03-12 21:41:35 -05:00
Benjamin Peterson
d0fc83d5eb
merge 3.2 ( #20896 )
2014-03-12 18:10:47 -05:00
Benjamin Peterson
cf25c5caae
use ssl.PROTOCOL_SSLv23 for maximum compatibility ( closes #20896 )
2014-03-12 18:05:53 -05:00
Benjamin Peterson
bb185ab332
use support.rmtree instead of shutil ( closes #19614 )
...
Patch by Sean Rodman.
2014-03-12 15:07:01 -05:00
Éric Araujo
fc773a2d4b
Avoid “error: None” messages from distutils ( #4931 ).
...
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
Ned Deily
6120739f0c
Issue #20875 : Prevent possible gzip "'read' is not defined" NameError.
...
Patch by Claudiu Popa.
2014-03-09 14:44:34 -07:00
Georg Brandl
5e572fd490
merge with 3.3.5 release repo
2014-03-09 11:17:23 +01:00
Georg Brandl
fbd7518a41
Bump to 3.3.5 final.
2014-03-09 09:37:14 +01:00
Serhiy Storchaka
ccdf352370
Issue #20283 : RE pattern methods now accept the string keyword parameters
...
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 11:28:32 +02:00
Kristján Valur Jónsson
25dded041f
Make the various iterators' "setstate" sliently and consistently clip the
...
index. This avoids the possibility of setting an iterator to an invalid
state.
2014-03-05 13:47:57 +00:00
Kristján Valur Jónsson
4ca688edeb
Fix pickling of rangeiter. rangeiter_setstate would not allow setting it
...
to the exhausted state.
2014-03-04 23:19:24 +00:00
Serhiy Storchaka
682ea5f70e
Correct comments and improve failure reports in test_fileinput ( closes #20501 ).
...
Thanks Vajrasky Kok and Zachary Ware.
2014-03-03 21:17:17 +02:00
Georg Brandl
c186b23799
Bump to 3.3.5rc2.
2014-03-02 09:19:03 +01:00
Georg Brandl
2fc8f773e1
Issue #20404 : reject non-text encodings early in TextIOWrapper.
2014-03-02 09:18:31 +01:00
Georg Brandl
2658bad090
merge 3.3.5rc1 release commits with 3.3 branch
2014-03-02 08:54:15 +01:00
Benjamin Peterson
659a6f562b
fix test_posix.test_initgroups to work without supplemental groups ( closes #20249 )
2014-03-01 19:14:12 -05:00
Benjamin Peterson
b77bf32685
fix test on debug builds ( closes #20731 )
2014-03-01 10:31:36 -05:00
Brett Cannon
298bb96776
Issue #20778 : Fix modulefinder to work with bytecode-only modules.
...
Bug filed and initial attempt at a patch by Bohuslav Kabrda.
2014-02-28 10:44:45 -05:00
Martin v. Löwis
815b41b1cd
Issue #20731 : Properly position in source code files even if they
...
are opened in text mode. Patch by Serhiy Storchaka.
2014-02-28 15:27:29 +01:00
Terry Jan Reedy
9db1ab8250
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:49 -05:00
Antoine Pitrou
b807577da2
Issue #20791 : copy.copy() now doesn't make a copy when the input is a bytes object. Initial patch by Peter Otten.
2014-02-27 22:14:31 +01:00
Benjamin Peterson
3673670b67
fix importlib test failure when bytecode writing is disabled ( closes #20796 )
...
Patch by Berker Peksag.
2014-02-27 13:49:34 -05:00
Serhiy Storchaka
517b74734a
Added tests for issue #20501 .
2014-02-26 20:59:43 +02:00
Serhiy Storchaka
94ee389308
Issue #19619 : Blacklist non-text codecs in method API
...
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Backported changeset d68df99d7a57.
2014-02-24 14:43:03 +02:00
Terry Jan Reedy
f106f8f29c
whitespace
2014-02-23 23:39:57 -05:00
Terry Jan Reedy
9dc3a36c84
Issue #9974 : When untokenizing, use row info to insert backslash+newline.
...
Original patches by A. Kuchling and G. Rees (#12691 ).
2014-02-23 23:33:08 -05:00
Terry Jan Reedy
938ba685dc
Issue #20750 , Enable roundtrip tests for new 5-tuple untokenize. The
...
constructed examples and all but 7 of the test/test_*.py files (run with -ucpu)
pass. Remove those that fail the new test from the selection list.
Patch partly based on patches by G. Brandl (#8478 ) and G. Rees (#12691 ).
2014-02-23 18:00:31 -05:00
Antoine Pitrou
220cc21cec
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:39:06 +01:00
Georg Brandl
68707af1fb
merge
2014-02-23 08:46:00 +01:00
Georg Brandl
89e5671be7
#20719 : Disable the robotparser python.org test until the gzip encoding issue can be sorted.
2014-02-23 08:45:15 +01:00
Georg Brandl
e12675a0f2
Bump to 3.3.5rc1.
2014-02-23 08:30:06 +01:00
Georg Brandl
ed7d0c4ff6
Update pydoc topics.
2014-02-23 08:24:37 +01:00
Terry Jan Reedy
c3111fcbc7
Issue #20730 : Fix typo reported by Claudiu Popa.
2014-02-23 00:37:16 -05:00
Benjamin Peterson
a96fd48298
merge 3.2 ( #20695 )
2014-02-19 23:06:24 -05:00
Benjamin Peterson
1b94030b37
update logo url ( #20695 )
2014-02-19 22:55:16 -05:00
Benjamin Peterson
f6218a2191
open retrieved file in binary mode, since it's now compressed
2014-02-19 22:56:35 -05:00
Serhiy Storchaka
2bb6c358e8
Merge heads
2014-02-19 19:03:58 +02:00
Zachary Ware
1f9e601765
Issue #20510 : Confirm that the code attribute of the SystemExit
...
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
2014-02-19 10:44:47 -06:00
Serhiy Storchaka
162c477f41
Issue #20672 : Fixed tests for TarFile.list() on non-UTF-8 locales.
2014-02-19 18:44:12 +02:00
Serhiy Storchaka
e95977621d
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:34:05 +02:00
Victor Stinner
d5c8ce7cc0
Issue #19612 : On Windows, subprocess.Popen.communicate() now ignores
...
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
2014-02-18 22:00:53 +01:00
Zachary Ware
cefe6b34de
Issue #20510 : Rewrote test_exit in test_sys to match existing comments
...
and to modernize. Patch by Gareth Rees.
2014-02-18 08:39:04 -06:00
Terry Jan Reedy
5b8d2c3af7
Issue #8478 : Untokenizer.compat now processes first token from iterator input.
...
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:16 -05:00
Terry Jan Reedy
58edfd9ff1
whitespace
2014-02-17 16:49:06 -05:00
Terry Jan Reedy
5e6db31368
Untokenize: An logically incorrect assert tested user input validity.
...
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
2014-02-17 16:45:48 -05:00
Benjamin Peterson
cf62603276
backout fafac90b69c4
2014-02-16 14:52:01 -05:00
Benjamin Peterson
eb43736de2
backout 2807a5f011e4 for causing #20621
2014-02-16 14:12:57 -05:00