Martin Panter
29f256909f
Issue #22797 : Synchronize urlopen() doc string with RST documentation
2016-06-04 05:06:34 +00:00
Martin Panter
0f29ad1be5
More typo fixes for 3.6
2016-06-04 05:06:25 +00:00
Martin Panter
19409197e2
Merge typo fixes from 3.5
2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
Terry Jan Reedy
5a493e9dc4
Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.
2016-06-03 23:58:37 -04:00
Terry Jan Reedy
6047b55372
Issue #27196 : Stop 'application destroyed' warnings when running IDLE tests.
...
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy
3d7281d2bd
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:28:05 -04:00
Terry Jan Reedy
75cbeb5dac
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:19:17 -04:00
Ned Deily
622b2f6ec9
Issue #24225 : Fix additional renamed module references.
2016-06-03 17:50:44 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fcbf1ca4f9
merge from 3.5 - Fixes Issue #26373 : subprocess.Popen.communicate
...
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.
2016-06-04 00:34:15 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1ef8c7e886
Fixes Issue #26373 : subprocess.Popen.communicate now correctly ignores
...
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
2016-06-04 00:22:17 +00:00
R David Murray
d2367c651e
Clean up urlopen doc string.
...
Clarifies what is returned when and that the methods are common between the two.
Patch by Alexander Liu as part of #22797 .
2016-06-03 20:16:06 -04:00
R David Murray
13ee7d15e3
Merge: #16484 : Fix pydoc doc links to modules whose names are mixed case.
2016-06-03 19:29:18 -04:00
R David Murray
ead9bfc5c3
#16484 : Fix pydoc doc links to modules whose names are mixed case.
...
Patch by Sean Rodman, test by Kaushik N.
2016-06-03 19:28:35 -04:00
Ned Deily
6371152154
first step in backout of bad default->3.5 merge d085b4f779af. Create new head and fix whitespace.
2016-06-03 15:17:13 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
6f20bd6063
signal, socket, and ssl module IntEnum constant name lookups now return a
...
consistent name for values having multiple names. Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.
This helps finish issue27167.
2016-06-03 19:14:52 +00:00
Serhiy Storchaka
16931c3559
Issue #26983 : float() now always return an instance of exact float.
...
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float. In a future versions of Python this can
be an error.
2016-06-03 21:42:55 +03:00
Serhiy Storchaka
2e7cb1eda9
Merge heads
2016-06-03 10:48:13 +03:00
Serhiy Storchaka
a9e6edaf41
Merge 3.5.
2016-06-03 10:45:56 +03:00
Serhiy Storchaka
10fd0aaf8b
Issue #27185 : Rename test_string_merged.py back to test_string.py.
2016-06-03 10:38:24 +03:00
Serhiy Storchaka
717ea08be3
Issue #27185 : Merge test_pep292.py into test_string_merged.py.
2016-06-03 10:38:02 +03:00
Serhiy Storchaka
73e16135bf
Issue #27185 : Rename test_pep292.py to test_string_merged.py.
2016-06-03 10:32:36 +03:00
Serhiy Storchaka
9415bc41ab
Issue #27185 : Rename test_string.py to test_string_merged.py.
2016-06-03 10:30:25 +03:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
b414906f93
issue27167: make the test not care about the exact signal name in the
...
error message as some numbers map to multiple names.
2016-06-03 06:19:35 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
d6da7604d3
Issue #27167 : Clarify the subprocess.CalledProcessError error message text
...
when the child process died due to a signal.
2016-06-03 06:14:06 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
a945969d71
Issue25931: fix tests broken by the conditional define of socketserver.Forking*
2016-06-03 05:26:14 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1bb8109fe3
Reindent properly.
2016-06-03 00:16:02 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cef1f83c71
Issue #25931 : Don't defining socketserver.Forking* names on platforms such
...
as Windows that do not support os.fork().
2016-06-03 00:13:36 +00:00
R David Murray
1b50c4d697
Merge: #27185 : move test_pep292 into test_string.
2016-06-02 19:38:20 -04:00
R David Murray
a32c738ad7
#27185 : move test_pep292 into test_string.
...
This makes the Template tests discoverable. Patch by Erin Braswell.
2016-06-02 19:37:47 -04:00
Ethan Furman
cdc0879d3a
issue27186 -- initial docs, tests, and python version of os.fspath
2016-06-02 15:06:09 -07:00
Yury Selivanov
1f56e5f6af
Merge 3.5 (asyncio)
2016-06-02 16:51:27 -04:00
Yury Selivanov
a714616d36
asyncio: Fix getaddrinfo to accept service names (for port)
...
Patch by A. Jesse Jiryu Davis
2016-06-02 16:51:07 -04:00
Yury Selivanov
642afb3d3d
Merge 3.5 (asyncio)
2016-06-02 16:44:10 -04:00
Berker Peksag
fddf12198f
Issue #21776 : Merge from 3.5
2016-06-02 13:47:23 -07:00
Berker Peksag
6a8e626a60
Issue #21776 : distutils.upload now correctly handles HTTPError
...
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
Yury Selivanov
a8f895f051
asyncio: Support host=b'' for getaddrinfo
2016-06-02 16:43:52 -04:00
R David Murray
0d20189f63
Merge: #20973 : add total ordering tests for ipaddress
2016-06-02 15:49:41 -04:00
R David Murray
947ff38725
#20973 : add total ordering tests for ipaddress
...
Patch by Tommy Beadle.
2016-06-02 15:46:04 -04:00
Kushal Das
9cd39a170b
Issue #21271 : Adds new keyword only parameters in reset_mock call
...
We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
2016-06-02 10:20:16 -07:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Terry Jan Reedy
d80ab7d945
Issue # 24225: Update idlelib.README.txt with new file names and event handlers.
2016-05-31 20:17:58 -04:00
Terry Jan Reedy
5a0c278ad4
Issue #27156 : Remove obsolete code not used by IDLE.
...
help.txt, replaced by help.html, is out-of-date and should not be used.
Its dedicated viewer has be replaced by the html viewer in help.py.
'import idlever; I = idlever.IDLE_VERSION' is the same as
'import sys; I = version[:version.index(' ')]'
2016-05-30 01:59:42 -04:00
Martin Panter
dd780e4423
Issue #27125 : Remove duplicated words in exception message
2016-05-30 04:08:23 +00:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Terry Jan Reedy
137bac265e
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:04:08 -04:00
Terry Jan Reedy
f45d27bcc3
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:02:34 -04:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Serhiy Storchaka
eb6cd742e5
Issue #27033 : Removed unnecessary the bool calls.
2016-05-29 23:50:56 +03:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Terry Jan Reedy
2bac3b778f
Issue #27117 : Make colorizer htest and turtledemo work with dark theme.
...
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:22 -04:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Terry Jan Reedy
e8a175eaa0
Issue #27117 : Make ColorDelegator htest and turtledemo work with dark theme.
...
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:30 -04:00
Benjamin Peterson
f558d5f284
merge heads
2016-05-28 14:06:48 -07:00
Benjamin Peterson
6ca4260219
merge 3.5
2016-05-28 14:05:11 -07:00
Benjamin Peterson
c352620c92
backout 3c9512d8ac0d
2016-05-28 14:04:40 -07:00
Terry Jan Reedy
6fa5bdc6e8
Issue #24225 : Within idlelib files, update idlelib module names.
...
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.
Exception: config-extensions.def. Previously, extension section
names, file names, and class names had to match. Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations). Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.
Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item. Based on a patch by Al Sweigart.
2016-05-28 13:22:31 -04:00
Martin Panter
c249221dfd
Issue #20699 : Merge io bytes-like fixes from 3.5
2016-05-28 01:07:08 +00:00
Martin Panter
6bb91f3b6e
Issue #20699 : Document that “io” methods accept bytes-like objects
...
This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.
Also document and test that the write() methods should only access their
argument before they return.
2016-05-28 00:41:57 +00:00
Eric Snow
0472217d43
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:56:41 -06:00
Eric Snow
fc36e66af4
Issue #27138 : Fix the doc comment for FileFinder.find_spec().
2016-05-27 12:36:28 -06:00
Martin Panter
5677aa75f0
Issue #5784 : Merge zlib from 3.5
2016-05-27 11:30:59 +00:00
Martin Panter
c618ae8ed7
Issue #5784 : wbits=0 apparently added in zlib v1.2.3.5
2016-05-27 11:20:21 +00:00
Martin Panter
f4affb71bc
Issue #5784 : Merge zlib from 3.5
2016-05-27 08:00:24 +00:00
Martin Panter
0fdf41d847
Issue #5784 : Expand documentation and tests for zlib wbits parameter
...
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Steve Dower
48df37dbb8
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:19:42 -07:00
Steve Dower
33bc4a2983
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:18:12 -07:00
Guido van Rossum
e67c92ea70
Comment/docstring tweaks for typing.py. (Merge 3.5->3.6)
2016-05-26 09:56:46 -07:00
Guido van Rossum
b22c708989
Comment/docstring tweaks for typing.py.
2016-05-26 09:56:19 -07:00
Victor Stinner
b69d3fea88
Merge 3.5 (test_warnings)
2016-05-26 15:22:14 +02:00
Victor Stinner
0025eb145f
test_warnings: catch stderr and check warning
...
Check the user warning in test_error_after_default() to not pollute the output,
and check the warning logged into stderr.
2016-05-26 15:21:25 +02:00
Martin Panter
b6ae2ae47c
Issue #18383 : Merge warnings fix from 3.5
2016-05-26 09:39:41 +00:00
Martin Panter
43593a1892
Issue #18383 : Avoid adding duplicate filters when warnings is reloaded
...
Based on patch by Alex Shkop.
2016-05-26 09:10:55 +00:00
Martin Panter
f157982b2c
Issue #27076 : More doc and comment spelling fixes for 3.6, by Ville Skyttä
2016-05-26 06:03:33 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Guido van Rossum
70223d9b09
Added Type[C] implementation to typing.py. (Merge 3.5->3.6)
2016-05-24 16:39:23 -07:00
Guido van Rossum
eb9aca3c07
Added Type[C] implementation to typing.py.
2016-05-24 16:38:22 -07:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Serhiy Storchaka
8ec1175204
Issue #26927 : Fixed test_mmap on platforms with 32-bit off_t (like Android).
...
Patch by Xavier de Gaye.
2016-05-23 08:42:09 +03:00
Serhiy Storchaka
05d3921cc1
Issue #26927 : Fixed test_mmap on platforms with 32-bit off_t (like Android).
...
Patch by Xavier de Gaye.
2016-05-23 08:41:48 +03:00
Terry Jan Reedy
0d9220e162
Issue #24225 : Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.
2016-05-22 19:10:31 -04:00
Terry Jan Reedy
9fa149dd24
Merge with 3.5
2016-05-22 14:35:43 -04:00
Terry Jan Reedy
5917f973ac
Issue #26673 : Protect IDLE from Linux fonts with reported default size 0.
...
Such fonts on Linux prevented the configuration dialog from opening.
2016-05-22 14:35:24 -04:00
Serhiy Storchaka
70b49f60f4
Fixed an error in previous commit.
2016-05-22 18:23:51 +03:00
Serhiy Storchaka
0a91e43820
Fixed an error in previous commit.
2016-05-22 18:23:36 +03:00
Serhiy Storchaka
66e26eaeac
Temporary skip curses tests on non-tty (issue #27067 ).
2016-05-22 18:17:25 +03:00
Serhiy Storchaka
53a00353b6
Temporary skip curses tests on non-tty (issue #27067 ).
2016-05-22 18:16:20 +03:00
Yury Selivanov
72005f1744
Merge 3.5 (asyncio)
2016-05-21 16:50:31 -04:00
Yury Selivanov
f0200e06f0
asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)
2016-05-21 16:50:16 -04:00
Serhiy Storchaka
b227b8b1bb
Issue #27067 : Improved curses tests.
2016-05-21 21:36:29 +03:00
Serhiy Storchaka
0eb39e7886
Issue #27067 : Improved curses tests.
2016-05-21 21:36:11 +03:00
Yury Selivanov
010f361dad
Merge 3.5 (asyncio)
2016-05-20 17:44:44 -04:00
Yury Selivanov
eaaaee8c56
asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
...
Patch by A. Jesse Jiryu Davis.
2016-05-20 17:44:19 -04:00
Serhiy Storchaka
742206d95c
Issue #27063 : Some unittest loader tests were silently skipped.
2016-05-20 23:29:07 +03:00
Serhiy Storchaka
0dad755600
Issue #27063 : Some unittest loader tests were silently skipped.
2016-05-20 23:28:37 +03:00
Serhiy Storchaka
2a95219bc4
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:50 +03:00
Serhiy Storchaka
13e602ea0f
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:14 +03:00
Yury Selivanov
f4049ee170
Merge 3.5 (asyncio)
2016-05-20 11:31:55 -04:00
Yury Selivanov
3dc5129d4f
asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received
2016-05-20 11:31:40 -04:00
Victor Stinner
1b8b42344e
regrtest: display test result (passed, failed, ...)
...
* in multiprocessing mode: always display the result
* sequential mode: only display the result if the test did not pass
2016-05-20 13:37:40 +02:00
Victor Stinner
6d81a2136d
regrtest doesn't ignore -j1 anymore
...
* regrtest now uses subprocesses when the -j1 command line option
is used: each test file runs in a fresh child process. Before, the -j1 option
was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
each test file in fresh child process.
2016-05-20 13:15:55 +02:00
Victor Stinner
2292edf574
Merge 3.5 (issue #26741 )
2016-05-20 13:06:55 +02:00
Victor Stinner
b0d43ce890
asyncio: fix ResourceWarning related to subprocesses
...
Issue #26741 : asyncio: BaseSubprocessTransport._process_exited() now copies the
return code from the child watched to the returncode attribute of the Popen
object. On Python 3.6, it is required to avoid a ResourceWarning.
2016-05-20 13:05:48 +02:00
Victor Stinner
5a48e21ff1
subprocess now emits a ResourceWarning warning
...
Issue #26741 : subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
2016-05-20 12:11:15 +02:00
Victor Stinner
a58e2c5c49
Issue #26741 : POSIX implementation of subprocess.Popen._execute_child() now
...
sets the returncode attribute using the child process exit status when exec
failed.
2016-05-20 12:08:12 +02:00
Victor Stinner
7438c612ab
Use "with popen:" in test_subprocess
...
Issue #26741 .
2016-05-20 12:43:15 +02:00
Guido van Rossum
03e6061956
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
2016-05-19 13:11:17 -07:00
Guido van Rossum
387e6e3817
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
...
These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.
(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
2016-05-19 13:00:21 -07:00
Guido van Rossum
c41c70fd9b
Fix #27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)
2016-05-18 08:36:16 -07:00
Guido van Rossum
1cea70f08c
Fix #27014 -- infinite recursion using typing.py.
2016-05-18 08:35:00 -07:00
Serhiy Storchaka
b6686fe0a0
Fixed test_sizeof for deque.
2016-05-18 13:01:19 +03:00
Serhiy Storchaka
e23c90c344
Fixed test_sizeof for deque.
2016-05-18 13:00:56 +03:00
Berker Peksag
094c9c921c
Issue #23275 : Allow () = iterable assignment syntax
...
Documentation updates by Martin Panter.
2016-05-18 08:44:29 +03:00
Terry Jan Reedy
d619ff4b46
Merge with 3.5
2016-05-17 22:48:34 -04:00
Terry Jan Reedy
092473eef9
Issue #21939 : Test IDLE percolator. Original patch by Saimadhav Heblikar.
2016-05-17 22:48:22 -04:00
Terry Jan Reedy
7fc4116515
Merge with 3.5
2016-05-17 19:58:17 -04:00
Terry Jan Reedy
fdec2a3424
Issue #21676 : test IDLE replace dialog. Original patch by Saimadhav Heblikar.
2016-05-17 19:58:02 -04:00
Terry Jan Reedy
307676face
Merge with 3.5
2016-05-17 18:35:33 -04:00
Terry Jan Reedy
c359af1530
Issue #18410 : add missing parent argument.
2016-05-17 18:35:07 -04:00
Terry Jan Reedy
40a05621f9
Merge with 3.5
2016-05-17 18:18:55 -04:00
Terry Jan Reedy
b236fe4515
Issue #18410 : Test IDLE's search dialog; original patch by Westley Martínez.
2016-05-17 18:18:37 -04:00
Ned Deily
4284ffd2f8
Merge 3.6.0a1 updates
2016-05-17 17:09:48 -04:00
Terry Jan Reedy
2deb1eafec
Merge with 3.5
2016-05-16 23:32:41 -04:00
Terry Jan Reedy
0495fa81e6
Issue #21703 : Add test for undo delegator. Patch most by Saimadhav Heblikar .
2016-05-16 23:32:28 -04:00
Terry Jan Reedy
ef20cbfb32
Merge with 3.5
2016-05-16 22:28:00 -04:00
Terry Jan Reedy
6b98ce23f6
Issue #27044 : stop test_idle from leaking by deleting callbacks.
2016-05-16 22:27:28 -04:00
Yury Selivanov
63063af12e
Merge 3.5 (asyncio)
2016-05-16 16:32:56 -04:00
Yury Selivanov
b461791b91
asyncio/streams: Fix code style; delete LimitOverrunError.message attr
2016-05-16 16:32:38 -04:00
Yury Selivanov
82d9a2e1fe
Merge heads
2016-05-16 15:40:38 -04:00
Yury Selivanov
8ace2c66d3
Merge 3.5 (Issue #27041 )
2016-05-16 15:39:39 -04:00
Yury Selivanov
7661db6228
Issue #27041 : asyncio: Add loop.create_future method
2016-05-16 15:38:39 -04:00
Serhiy Storchaka
2e208b7d62
Issue #27031 : Removed dummy methods in Tkinter widget classes: tk_menuBar()
...
and tk_bindForTraversal().
2016-05-16 22:35:46 +03:00
Yury Selivanov
7c3ac2d1f8
Merge 3.5 (issue #27040 )
2016-05-16 15:32:26 -04:00
Serhiy Storchaka
4b23494ded
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Based on patch by Joe Jevnik.
2016-05-16 22:24:03 +03:00
Yury Selivanov
7ed7ce6ee7
Issue #27040 : Add loop.get_exception_handler method
2016-05-16 15:20:38 -04:00
Serhiy Storchaka
7bf36dace8
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Patch by Joe Jevnik.
2016-05-16 22:15:38 +03:00
Ned Deily
cae752aec8
Update pydoc topics for 3.6.0a1
2016-05-16 13:44:52 -04:00
Steve Dower
8d0abb9eb6
Issue #26073 : Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table.
2016-05-16 09:35:18 -07:00
Steve Dower
7ae61af827
Issue #26073 : Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table.
2016-05-16 09:34:20 -07:00
Martin Panter
0b39a556e8
Issue #14132 , Issue #17214 : Merge two redirect handling fixes from 3.5
2016-05-16 07:45:28 +00:00
Serhiy Storchaka
c944c2dab8
Issue #26995 : Added tests for "f", "d", "D", "S", "Y", and "U" format codes
...
in PyArg_ParseTuple().
2016-05-16 10:12:15 +03:00
Serhiy Storchaka
f95455da4c
Issue #26995 : Added tests for "f", "d", "D", "S", "Y", and "U" format codes
...
in PyArg_ParseTuple().
2016-05-16 10:11:47 +03:00
Serhiy Storchaka
acef5de6ec
Backported tests for issue #18531 .
2016-05-16 09:55:32 +03:00
Serhiy Storchaka
cbcc2fd641
Issue #27033 : The default value of the decode_data parameter for
...
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.
2016-05-16 09:36:31 +03:00
Serhiy Storchaka
98019e1cf6
Issue #27034 : Removed deprecated class asynchat.fifo.
2016-05-16 09:10:43 +03:00
Terry Jan Reedy
31e59aa7a2
Merge with 3.5
2016-05-15 23:53:10 -04:00
Terry Jan Reedy
af7cf6d2b9
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
...
Uppercase 'GUI', remove 2.7 references and reflow text.
2016-05-15 23:52:56 -04:00
Robert Collins
c85dd85f1a
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:45 +12:00
Robert Collins
9549a3e3d4
Issue #26807 : mock_open 'files' no longer error on readline at end of file.
...
Patch from Yolanda Robla.
2016-05-16 15:22:01 +12:00
Terry Jan Reedy
2b6c032e6a
Merge with 3.5
2016-05-15 22:07:12 -04:00
Terry Jan Reedy
33a8fb9920
Issue #23977 : Tweak IDLE Delegator and its test.
2016-05-15 22:06:49 -04:00
Martin Panter
e6f060903c
Issue #17214 : Percent-encode non-ASCII bytes in redirect targets
...
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
2016-05-16 01:14:20 +00:00
Martin Panter
ce6e06874b
Issue #14132 : Fix redirect handling when target is just a query string
2016-05-16 01:07:13 +00:00
Terry Jan Reedy
89d2a0394e
Merge with 3.5
2016-05-15 14:20:13 -04:00
Terry Jan Reedy
5f4ac9fcf3
Issue #25747 : remove undependable and possibly useless test.
2016-05-15 14:19:59 -04:00
Terry Jan Reedy
e6073944b6
Merge with 3.5
2016-05-15 13:25:39 -04:00
Terry Jan Reedy
cd65a0302a
Issue #20640 : Add https: to url prefixes so test passes on Darwin.
2016-05-15 13:25:23 -04:00
Martin Panter
79f561d126
Issue #26870 : Poll() also fails on OS X; try select()
...
Also work around separate Open BSD bug with kill() of a zombie.
2016-05-15 15:04:58 +00:00
Martin Panter
2e1d8683c1
Issue #26870 : Avoid using kqueue() with pseudo-terminals
...
Also force terminate the child process in case it hangs for any reason.
2016-05-15 13:21:25 +00:00
Serhiy Storchaka
f47fc5553b
Issue #26039 : Document ZipInfo.is_dir() and make force_zip64 keyword-only.
...
Patch by Thomas Kluyver.
2016-05-15 12:27:16 +03:00
Terry Jan Reedy
3d3f7e8b41
Merge with 3.5
2016-05-15 01:31:01 -04:00
Terry Jan Reedy
c64d942e8d
Issue #20640 : Add tests for idlelib.configHelpSourceEdit.
...
Patch by Saimadhav Heblikar.
2016-05-15 01:30:47 -04:00
Martin Panter
3e2a0715d7
Issue #26870 : Temporary debugging for OS X Snow Leopard lockup
2016-05-15 03:59:59 +00:00
Martin Panter
3712686956
Issue #26870 : Close pty master in case of exception
2016-05-15 03:05:36 +00:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Martin Panter
4dd27f0adc
Issue #25533 : Merge frozen module docs from 3.5
2016-05-15 00:41:40 +00:00
Martin Panter
f47a400347
Issue #25533 : Update documentation regarding the frozen modules table
...
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
2016-05-15 00:13:04 +00:00
Martin Panter
38e2f175ea
Remove old Python 2 compatibility from ctypes test
2016-05-14 06:17:43 +00:00
Yury Selivanov
e9e3a7cd3c
Merge 3.5 (asyncio)
2016-05-13 16:11:00 -04:00
Yury Selivanov
f11352c114
asyncio/tests: Ensure a gc_collect for __del__ testing
...
Patch by Philip Jenvey
2016-05-13 16:10:43 -04:00
Yury Selivanov
2e413f7cc7
Merge 3.5 (asyncio)
2016-05-13 16:05:05 -04:00
Yury Selivanov
5dc093336f
asyncio: Fix unix pipe transport 'repr' methods
...
Patch by Vincent Michel.
See also https://github.com/python/asyncio/pull/326
2016-05-13 16:04:43 -04:00
Yury Selivanov
8308db5cd5
Merge 3.5 (asyncio)
2016-05-13 15:59:48 -04:00
Yury Selivanov
32dae3d50f
asyncio: Break reference cycle in StreamReaderProtocol.connection_lost
2016-05-13 15:58:00 -04:00
Yury Selivanov
91f9def428
Merge 3.5 (asyncio)
2016-05-13 15:43:05 -04:00
Yury Selivanov
04eb87e4ef
asyncio: ease the cert failed regex
...
Patch by Philip Jenvey
2016-05-13 15:42:39 -04:00
Yury Selivanov
059320bab8
Merge 3.5 (issue #26848 )
2016-05-13 15:39:09 -04:00
Yury Selivanov
7657f6ba21
Issue #26848 : Fix asyncio/subprocess.communicate() to handle empty input.
2016-05-13 15:35:28 -04:00
Serhiy Storchaka
91762da45b
Restored test_interleaved. After issue #8886 it was a duplicate of
...
test_different_file.
2016-05-13 21:19:22 +03:00
Serhiy Storchaka
d76c7c2bed
Restored test_interleaved. After issue #8886 it was a duplicate of
...
test_different_file.
2016-05-13 21:18:58 +03:00
Serhiy Storchaka
18ee29d0b8
Issue #26039 : zipfile.ZipFile.open() can now be used to write data into a ZIP
...
file, as well as for extracting data. Patch by Thomas Kluyver.
2016-05-13 13:52:49 +03:00
Senthil Kumaran
5d1110a952
merge from 3.5
...
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:35:29 -07:00
Senthil Kumaran
9642eedc0a
Issue #26892 : Honor debuglevel flag in urllib.request.HTTPHandler.
...
Patch contributed by Chi Hsuan Yen.
2016-05-13 01:32:42 -07:00
Martin Panter
f94ec1bd83
Issue #22274 : Merge stderr=STDOUT fix from 3.5
2016-05-13 07:45:21 +00:00
Martin Panter
c76358924f
Issue #22274 : Redirect stderr=STDOUT when stdout not redirected, by Akira Li
2016-05-13 01:54:44 +00:00
Serhiy Storchaka
e78592d42c
Make bytes and bytearray subclass tests compatible with base types tests.
2016-05-12 12:33:21 +03:00
Serhiy Storchaka
ea36c941a1
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:37:58 +03:00
Serhiy Storchaka
ec5d54575f
Issue #26881 : Restored the name of scan_opcodes_25().
...
It is better to not change this in bugfix release.
2016-05-11 22:19:49 +03:00
Steven D'Aprano
bc62aae923
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
2016-05-11 11:50:13 +10:00
Eric Snow
228ab1ff6b
Issue #21099 : Switch applicable importlib tests to use PEP 451 API.
2016-05-10 16:21:03 -06:00
Serhiy Storchaka
3fa86a0612
Make bytes and bytearray subclass tests compatible with base types tests.
2016-05-12 12:33:41 +03:00
Serhiy Storchaka
1f364438ad
Issue #23640 : int.from_bytes() no longer bypasses constructors for subclasses.
2016-05-12 10:39:32 +03:00
Eric Snow
d65018b17c
Fixes #19711 : Add tests for reloading namespace packages.
2016-05-10 15:29:05 -06:00
Zachary Ware
e7041fa215
Closes #26987 : Merge with 3.5
2016-05-09 14:50:36 -05:00
Zachary Ware
78b5ed98d8
Issue #26987 : Correct implementation to match comment
...
This was inadvertently changed in 644b677c2ae5 to use self._stderr
instead of _sys.stderr.
2016-05-09 14:49:31 -05:00
Serhiy Storchaka
3e99fdeed5
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:44:54 +03:00
Serhiy Storchaka
02d9f5e5b2
Issue #26881 : The modulefinder module now supports extended opcode arguments.
2016-05-08 23:43:50 +03:00
Serhiy Storchaka
ce41287e99
Issue #18531 : Single var-keyword argument of dict subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact dict.
2016-05-08 23:36:44 +03:00
Serhiy Storchaka
dea76376cb
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:55 +03:00
Serhiy Storchaka
e3f1b0911e
Issue #23815 : Fixed crashes related to directly created instances of types in
...
_tkinter and curses.panel modules.
2016-05-08 20:46:22 +03:00
Martin Panter
1ce738e08f
Merge typo fixes from 3.5
2016-05-08 14:02:35 +00:00
Martin Panter
4c35964b76
Corrections for a/an in code comments and documentation
2016-05-08 13:53:41 +00:00
Martin Panter
f0564164ba
Fix typos in comments, documentation and test method names
2016-05-08 13:48:10 +00:00
Steven D'Aprano
cc22984d9e
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
2016-05-08 22:14:38 +10:00
Berker Peksag
ca716cfbf3
Fix self.fail() call in test_data_header
2016-05-07 16:59:01 +03:00
Berker Peksag
ad1fd346b2
Fix self.fail() call in test_data_header
2016-05-07 16:58:41 +03:00
Berker Peksag
a8e3b0a16b
Replace example.com with pythontest.net in test_urllibnet
...
example.com/404 returns 500 instead of 404 now.
2016-05-07 16:37:35 +03:00
Berker Peksag
a40b0ef6e2
Replace example.com with pythontest.net in test_urllibnet
...
example.com/404 returns 500 instead of 404 now.
2016-05-07 16:37:09 +03:00
Serhiy Storchaka
17e22959a4
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:43:59 +03:00
Serhiy Storchaka
21eb48764c
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:41:09 +03:00
Terry Jan Reedy
234480df1c
Merge with 3.5
2016-05-06 17:35:21 -04:00
Terry Jan Reedy
f73a48cbb2
Issue 26912: fix broken imports in test_email package.
2016-05-06 17:35:05 -04:00
Terry Jan Reedy
cc20d63e64
Merge with 3.5
2016-05-06 15:58:13 -04:00
Terry Jan Reedy
823c626b43
Issue 26911: fix import (other problems remain).
2016-05-06 15:57:57 -04:00
Raymond Hettinger
584e8aedc3
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
2016-05-05 11:14:06 +03:00
Serhiy Storchaka
d7062de95d
Issue #26918 : Skipped some tests in test_pipes on Android.
...
Patch by Xavier de Gaye.
2016-05-05 10:55:45 +03:00
Steven D'Aprano
3b06e24352
Issue 26002 and 25974
...
patches by Upendra Kumar and Stefan Krah
speed up median by using bisect, and general speedup for Decimals using as_integer_ratio
2016-05-05 03:54:29 +10:00
Jason R. Coombs
ad039f7548
Issue #20120 : Merge with 3.5
2016-05-04 12:00:32 -04:00
Jason R. Coombs
422cf2b4ad
Issue #20120 : Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
2016-05-04 11:57:32 -04:00
Serhiy Storchaka
45cdcd93c9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:27:17 +03:00
Serhiy Storchaka
290fed43d9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:26:42 +03:00
Serhiy Storchaka
0e120525f0
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:52 +03:00
Serhiy Storchaka
a3fd0b26ba
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:03 +03:00
Terry Jan Reedy
478be14ec0
Merge with 3.5
2016-05-02 18:30:19 -04:00
Terry Jan Reedy
929d7f86d5
Clarify IDLE-console differences with respect to the sys module.
...
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:30:02 -04:00
Donald Stufft
7a5842e198
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:05:29 -04:00
Donald Stufft
ac96205325
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:04:59 -04:00
Donald Stufft
2a86122759
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:03:46 -04:00
Ethan Furman
354706915c
issue26893: use mro() to examine class heirarchy
2016-05-01 10:04:21 -07:00
Ethan Furman
3803ad47bb
issue26893: use mro() to examine class heirarchy
2016-05-01 10:03:53 -07:00
Serhiy Storchaka
47d1d7f48a
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:42 +03:00
Serhiy Storchaka
dd1bcdf618
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:16 +03:00
Meador Inge
f1e2671fdf
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 22:17:22 -05:00
Meador Inge
8988ebf2a7
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 21:56:59 -05:00
Martin Panter
51b697b7f3
Issue #26864 : Merge no_proxy fixes from 3.5
2016-04-30 01:30:57 +00:00
Martin Panter
aa27982ffc
Issue #26864 : Fix case insensitivity and suffix comparison with no_proxy
...
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Berker Peksag
0a5bd51dd3
Issue #13436 : Add a test to make sure that ast.ImportFrom(level=None) works
2016-04-29 19:50:02 +03:00
Berker Peksag
dd745cc3ff
Issue #25551 : Test condition behavior instead of its internals
...
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.
The test was added by Nir Soffer in 6108d30dde21.
Patch by Nir Soffer.
2016-04-29 17:25:51 +03:00
Berker Peksag
6d34bbbfc7
Issue #25551 : Test condition behavior instead of its internals
...
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.
The test was added by Nir Soffer in 6108d30dde21.
Patch by Nir Soffer.
2016-04-29 17:25:29 +03:00
Berker Peksag
3a31cca4ab
Issue #24902 : Print server URL on http.server startup
...
Initial patch by Felix Kaiser.
2016-04-29 16:48:11 +03:00
Serhiy Storchaka
b275210a3b
Issue #25788 : fileinput.hook_encoded() now supports an "errors" argument
...
for passing to open. Original patch by Joseph Hackman.
2016-04-27 23:13:46 +03:00
Serhiy Storchaka
cd9b5c2f40
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:31:11 +03:00
Serhiy Storchaka
b3b366d803
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:30:44 +03:00
Senthil Kumaran
0996fa3bd8
merge 3.5
...
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:18:07 -07:00
Senthil Kumaran
a7c0ff2f0b
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
...
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:16:23 -07:00
Serhiy Storchaka
159e5359d9
Remove outdated TkVersion checks.
...
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
2016-04-25 13:49:11 +03:00
Serhiy Storchaka
81e7f94076
Merge 3.5
2016-04-25 08:58:59 +03:00
Serhiy Storchaka
685fbed7f9
Issue #26837 : assertSequenceEqual() now correctly outputs non-stringified
...
differing items (like bytes in the -b mode). This affects assertListEqual()
and assertTupleEqual().
2016-04-25 08:58:25 +03:00
Serhiy Storchaka
ccd047ea4b
Removed unused imports.
2016-04-25 00:12:32 +03:00
Serhiy Storchaka
a6f26c1d34
Remove more unused imports in tests.
2016-04-25 00:05:30 +03:00
Serhiy Storchaka
fd2839e1de
Merge 3.5
2016-04-24 23:53:16 +03:00
Serhiy Storchaka
5b6f0aa71c
Remove duplicated tests.
...
There were duplicated methods with the same name and body.
2016-04-24 23:50:18 +03:00
Serhiy Storchaka
e4fbb0206d
Remove unused support.run_unittest imports.
...
It is not needed since tests use unittest.main().
2016-04-24 23:42:49 +03:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Serhiy Storchaka
597d15afe4
Issue #23277 : Remove unused support.run_unittest import.
2016-04-24 13:45:58 +03:00
Serhiy Storchaka
c7f44aa99a
Issue #23277 : Remove more unused sys and os imports.
2016-04-24 13:25:01 +03:00
Serhiy Storchaka
18a8affc8e
Issue #26801 : shutil.get_terminal_size() now handles the case of stdout is
...
reopened on Windows. Added tests for fallbacks.
2016-04-24 09:59:17 +03:00
Serhiy Storchaka
d30829def2
Issue #26801 : shutil.get_terminal_size() now handles the case of stdout is
...
reopened on Windows. Added tests for fallbacks.
2016-04-24 09:58:43 +03:00
Berker Peksag
1e8ee9b380
Issue #23277 : Remove unused sys and os imports
...
Patch by Jon Dufresne.
2016-04-24 07:31:42 +03:00
Berker Peksag
e50d8465ab
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:50 +03:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Berker Peksag
ce18d8c2f4
Issue #26089 : Remove duplicate field 'license' from DistributionMetadata
...
It was renamed to 'license' in 178d19cff163.
Patch by Augustin Laville.
2016-04-24 01:55:09 +03:00
Serhiy Storchaka
745145a7da
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:53:43 +03:00
Serhiy Storchaka
c2a2a751cf
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:51:39 +03:00
Serhiy Storchaka
8b9eefc363
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:24:29 +03:00
Serhiy Storchaka
585c93daea
Issue #26733 : Disassembling a class now disassembles class and static methods.
...
Patch by Xiang Zhang.
2016-04-23 09:23:52 +03:00
Martin Panter
614827c149
Additional grammar fix
2016-04-19 04:05:59 +00:00
Martin Panter
abe4d52a1a
Merge doc and comment fixes from 3.5
2016-04-19 23:23:16 +00:00
Victor Stinner
5bfe0da808
Merge 3.5: issue #26801
2016-04-19 22:29:11 +02:00
Victor Stinner
119ebb70e9
Fix shutil.get_terminal_size() error handling
...
Issue #26801 : Fix error handling in shutil.get_terminal_size(), catch
AttributeError instead of NameError. Patch written by Emanuel Barry.
test_shutil: skip the functional test using "stty size" command if
os.get_terminal_size() is missing.
2016-04-19 22:24:56 +02:00
Zachary Ware
edaf8653c6
Merge with 3.5
2016-04-19 11:49:56 -05:00
Zachary Ware
75b1bdcafa
Replace assert statements with self.assertXxx() calls
...
Sync with upstream, see github.com/python/typing/pull/205
2016-04-19 11:49:37 -05:00
Lars Gustäbel
daac5f9f92
Issue #24838 : Merge test_tarfile.py fix from 3.5.
2016-04-19 11:59:39 +02:00
Lars Gustäbel
ddd9917ac3
Issue #24838 : Fix test_tarfile.py for non-utf8 filesystem encodings.
2016-04-19 11:58:41 +02:00
Lars Gustäbel
7c3e6848f2
Issue #24838 : Merge tarfile fix from 3.5.
2016-04-19 08:53:14 +02:00
Lars Gustäbel
0f450abec4
Issue #24838 : tarfile's ustar and gnu formats now correctly calculate name and
...
link field limits for multibyte character encodings like utf-8.
2016-04-19 08:43:17 +02:00
Martin Panter
8f26565ba9
Fix spelling (inital), grammar (may translates) in documentation, comments
2016-04-19 04:03:41 +00:00
Victor Stinner
0d88c65231
Backport test_gdb fix for s390x buildbots
2016-04-20 00:30:14 +02:00
Guido van Rossum
49ed08fd0b
typing.py: merge 3.5->3.6 (Tuple/ellipsis/equality).
2016-04-18 07:39:54 -07:00
Guido van Rossum
5abcbb3ee5
typing.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. github.com/python/typing/pull/201.
2016-04-18 07:37:41 -07:00
Victor Stinner
27e1240af5
Merge 3.5 (test_asyncio)
2016-04-18 10:29:19 +02:00
Victor Stinner
c1b578608e
Fix test_asyncio.test_timeout_disable()
...
Issue #26777 : Fix random failing of the test on the "AMD64 FreeBSD 9.x 3.5"
buildbot:
File ".../Lib/test/test_asyncio/test_tasks.py", line 2398, in go
self.assertTrue(0.09 < dt < 0.11, dt)
AssertionError: False is not true : 0.11902812402695417
Replace "< 0.11" with "< 0.15".
2016-04-18 10:28:42 +02:00
Martin Panter
791ac54a44
Issue #26657 : Merge http.server fix from 3.5
2016-04-18 07:16:17 +00:00
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
2016-04-18 03:45:18 +00:00
Guido van Rossum
f0f1d365c8
Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)
2016-04-17 17:53:50 -07:00
Guido van Rossum
6aafbd433d
Sync test_typing.py with upstream git repo (typing.py was already synced).
2016-04-17 17:52:05 -07:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Steven D'Aprano
5562563dd4
Automated merge with ssh://hg.python.org/cpython
2016-04-17 13:14:48 +10:00
Steven D'Aprano
4ad465424a
Shorten secrets module docstring, add function docstrings.
2016-04-17 13:13:36 +10:00
Martin Panter
d77133b4ce
Issue #26717 : Merge wsgiref fix from 3.5
2016-04-17 02:36:50 +00:00
Martin Panter
50dd1f7dd6
Issue #26717 : Stop encoding Latin-1-ized WSGI paths with UTF-8
...
Patch by Anthony Sottile.
2016-04-17 02:17:03 +00:00
Martin Panter
528619b6c3
Issue #26782 : Add STARTUPINFO to subprocess.__all__ on Windows
2016-04-16 23:42:37 +00:00
Martin Panter
9015eb4f74
Issue #26782 : Merge test_subprocess from 3.5
2016-04-16 23:40:15 +00:00
Martin Panter
06172e7bd4
Issue #26782 : Acknowledge the incomplete status of __all__ in 3.5
...
Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.
2016-04-16 23:38:25 +00:00
Benjamin Peterson
50074f192d
merge 3.5
2016-04-16 15:02:29 -07:00