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
Zachary Ware
7bbd101bb1
Fix several C-API doc typos caught by tomo cocoa on docs@.
...
The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.
2014-02-26 10:40:38 -06:00
Zachary Ware
5ea5d2c3f7
Issue #20759 : Fix some typos in the mock docs.
2014-02-26 09:34:43 -06:00
Gregory P. Smith
7b80716cff
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
...
This bug was of the major reasons for the release.
2014-02-25 16:45:55 -08:00
Serhiy Storchaka
270ce7360c
Fix typo (issue #19619 ).
2014-02-25 20:00:48 +02:00
R David Murray
f031a6f334
#20628 : wrap lines to < 80.
2014-02-24 15:32:54 -05:00
R David Murray
df714b9f70
#20628 : make it clear that DictReader/Writer *fieldnames* is a Sequence.
...
Patch by Sean Rodman.
2014-02-24 15:29:22 -05:00
Ezio Melotti
6b532349d0
#20740 : desquarify 2.
2014-02-24 20:58:31 +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
Serhiy Storchaka
20f8728bf0
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 13:57:00 +02:00
Georg Brandl
09141c4782
Closes #20755 : port sphinx-1.1 fixes from default
2014-02-24 09:35:07 +01:00
Georg Brandl
c4f44c027e
Closes #20735 : remove erroneous deprecated marker from stringprep docs
2014-02-24 09:26:53 +01: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
Victor Stinner
1be39e5154
Issue #20571 : skip test_readline() of test_codecs for Windows code page 65001.
...
The decoder does not support partial decoding yet for this code page.
2014-02-09 13:11:53 +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
Zachary Ware
2d659518aa
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:36:34 -06:00
Benjamin Peterson
a96fd48298
merge 3.2 ( #20695 )
2014-02-19 23:06:24 -05:00
Benjamin Peterson
665a2bcdf8
bump Python-ast.c
2014-02-19 23:05:26 -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
9e5a9876ad
Issue #20609 : Fix building 64-bit binaries on 32-bit Windows.
2014-02-18 11:33:18 -06: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
Benjamin Peterson
c20b4d872d
backout d28242a636c7 so I can backout 2807a5f011e4
2014-02-16 14:11:56 -05:00
Benjamin Peterson
0b094ce170
do not line break reference
2014-02-16 12:46:30 -05:00
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
2014-02-16 12:09:35 -05:00
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
2014-02-16 11:11:25 -05:00
Andrew Kuchling
e5235f1624
#20241 : use correct RFC number
2014-02-15 17:11:06 -05:00
Andrew Kuchling
cb3ff4468a
#16728 : Mention collections.abc.Sequence in 'sequence' glossary entry
2014-02-15 17:05:26 -05:00
Andrew Kuchling
46ff4ee81c
Clarify versionchanged sentence. Closes #20497 .
2014-02-15 16:39:37 -05:00
Andrew Kuchling
4da9ab0357
#20237 : make a revision pass over the XML vulnerabilities section
2014-02-15 15:33:44 -05:00
Benjamin Peterson
29352c436c
add missing test assertion ( closes #20080 )
...
Patch by Vajrasky Kok.
2014-02-15 13:19:59 -05:00
Benjamin Peterson
9743b2c2b5
give non-iterable TypeError a message ( closes #20507 )
2014-02-15 13:02:52 -05:00