Commit Graph

78344 Commits

Author SHA1 Message Date
Georg Brandl bb386cf810 Update NEWS for 3.3.5rc2. 2014-03-02 09:18:41 +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 9e90b12bb2 add Chris Angelico 2014-03-01 19:16:12 -05: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
Benjamin Peterson 4f8e4c203b merge 3.2 2014-03-01 02:03:57 -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
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
Georg Brandl b772b03194 Added tag v3.3.5rc1 for changeset 9ec811df548e 2014-02-23 08:46:11 +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
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