Commit graph

101860 commits

Author SHA1 Message Date
Victor Stinner
658103f84e asyncio: simplify test_events.py, don't use non local variables and don't call
assert methods in coroutines.

It also simplify merges from Tulip to Trollius (Python 2 does not support non
local variables).
2014-02-26 11:31:55 +01:00
Victor Stinner
f5e37037cc asyncio: Fix pyflakes warnings: remove unused variables and imports 2014-02-26 11:07:42 +01:00
Victor Stinner
24ba203504 asyncio: Replace "unittest.mock" with "mock" in unit tests
Use "from unittest import mock". It should simplify my work to merge new tests
in Trollius, because Trollius uses "mock" backport for Python 2.
2014-02-26 10:25:02 +01:00
Gregory P. Smith
71ec82a501 null merge 2014-02-25 16:46:41 -08: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
R David Murray
13cc883aaa whatsnew: DynanicClassAttribute (#19030), Py_SetStandardStreamEncoding (#16129)
Adding missing docs for DynamicClassAttribute by copying the docstring.  The
doc entry could stand some expansion, which I will note on the issue.
2014-02-25 16:03:14 -05:00
R David Murray
1e923de0bf Fix formatting in NEWS entry. 2014-02-25 14:36:20 -05:00
Antoine Pitrou
ef85119618 Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix(). 2014-02-25 20:33:02 +01:00
Serhiy Storchaka
5df7dc53dc Null merge 2014-02-25 20:02:05 +02:00
Serhiy Storchaka
270ce7360c Fix typo (issue #19619). 2014-02-25 20:00:48 +02:00
R David Murray
77d73facdc whatsnew: encoding is now optional in PYTHONIOENCODING (#18818) 2014-02-25 10:55:29 -05:00
R David Murray
6c0f707cd1 whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets. 2014-02-25 10:39:56 -05:00
R David Murray
7cae336890 whatsnew: Request.method can be overridden in subclasses (#18978).
Jason doced the change in the constructor *method* description, but
not the description of Request.method, so I added the change there
as well.
2014-02-25 10:22:50 -05:00
Guido van Rossum
3e97585b3e Clarify that flow control works for datagrams, except on BSD. 2014-02-24 14:31:25 -08:00
R David Murray
8920e915fa whatsnew: http.server --bind cli option.
Also some fixups in the docs.
2014-02-24 17:21:42 -05:00
R David Murray
56f3c306c2 whatsnew: unittest.TestCase.assertLogs.
Also fix issue number in address sanity check entry.
2014-02-24 16:05:57 -05:00
R David Murray
4e4a313486 Fix return type in doc of PyStructSequence_InitType2. 2014-02-24 15:51:57 -05:00
R David Murray
b1f65569bd Fix wording of NEWS entry. 2014-02-24 15:48:31 -05:00
R David Murray
4e564c893b whatsnew: cypthon can be compiled with address sanity checking enabled. 2014-02-24 15:48:22 -05:00
R David Murray
4f91364598 Merge #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Including the subsequent line re-wrapping.
2014-02-24 15:34:48 -05: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
c5f5e625aa #20740: merge with 3.3. 2014-02-24 20:59:48 +02:00
Ezio Melotti
6b532349d0 #20740: desquarify 2. 2014-02-24 20:58:31 +02:00
R David Murray
8eb443d58b Fix typo. 2014-02-24 12:59:20 -05:00
R David Murray
6225260e8c Remove redundant NEWS entry. 2014-02-24 10:55:08 -05:00
R David Murray
c8400a47bb Fix NEWS entry wording. 2014-02-24 10:42:20 -05:00
R David Murray
26818f64f0 whatsnew: frame.clear, expanded entry for -I/isolated mode. 2014-02-24 10:38:13 -05:00
Serhiy Storchaka
dda926e657 Merge heads 2014-02-24 14:57:35 +02:00
Serhiy Storchaka
2411e7ef03 Null merge 2014-02-24 14:47:20 +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
Victor Stinner
de0e1d30d8 asyncio doc: fix references in subprocess doc 2014-02-24 13:19:19 +01:00
Victor Stinner
07171242d5 subprocess.Popen.wait doc: mention asyncio to avoid busy loop 2014-02-24 13:18:47 +01:00
Serhiy Storchaka
eb44b2d9e8 Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 14:00:38 +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
Serhiy Storchaka
c2ab0b6ac8 Null merge 2014-02-24 13:46:21 +02:00
Georg Brandl
09141c4782 Closes #20755: port sphinx-1.1 fixes from default 2014-02-24 09:35:07 +01:00
Georg Brandl
06a70621ed merge with 3.3 2014-02-24 09:27:16 +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
58719a7de7 Merge with 3.3 2014-02-23 23:40:16 -05:00
Terry Jan Reedy
f106f8f29c whitespace 2014-02-23 23:39:57 -05:00
Terry Jan Reedy
40f8c6774b Merge with 3.3 2014-02-23 23:33:44 -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
R David Murray
aa5e2995c7 Fix wording in NEWS entry. 2014-02-23 21:32:17 -05:00
R David Murray
54bf73a54a whatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with. 2014-02-23 21:31:53 -05:00
R David Murray
0b32adf832 whatsnew: unittest uses argparse now. 2014-02-23 21:02:53 -05:00
R David Murray
ef3da23cb3 whatsnew: unittest drops references to successful tests. 2014-02-23 20:53:50 -05:00
Terry Jan Reedy
9e2b14ce62 Merge with 3.3, #20750 2014-02-23 18:01: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
8a14ea4694 Issue #20743: Fix a reference leak in test_tcl. 2014-02-23 19:41:51 +01:00