Larry Hastings
ded28e3863
Merge Python 3.5.0rc4 back to hg.python.org.
2015-09-09 06:52:38 -07:00
Larry Hastings
a1419d197c
Merged in stevedower/cpython350 (pull request #23 )
...
Moves distutils test import within skippable class.
2015-09-08 23:45:23 -07:00
Steve Dower
bf74f37e70
Moves distutils test import within skippable class.
2015-09-08 23:42:51 -07:00
Martin Panter
6088b7bd49
Merge 3.4 into 3.5
2015-09-09 06:27:43 +00:00
Terry Jan Reedy
52ee2471b3
Merge with 3.4
2015-09-09 02:10:35 -04:00
Terry Jan Reedy
78d915aa3e
Issue 24199: Deprecate idlelib.idlever with a warning on import.
2015-09-09 02:10:17 -04:00
Larry Hastings
c31b6d191f
Merge 3.5.0rc3 revisions back into current 3.5.0 head.
2015-09-08 22:45:37 -07:00
Martin Panter
9499413508
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
...
Needs to be tested on a BSD.
2015-09-09 05:29:24 +00:00
Steve Dower
fcbe1df4af
Issue #25027 : Reverts partial-static build options and adds vcruntime140.dll to Windows installation.
2015-09-08 21:39:01 -07:00
Martin Panter
0ff89099c7
Issue #23738 : Merge 3.4 into 3.5
2015-09-09 01:56:53 +00:00
Martin Panter
bf19d16950
Issue #23738 : Document and test actual keyword parameter names
...
Also fix signature because os.utime(..., ns=None) is not allowed.
2015-09-09 01:01:13 +00:00
Serhiy Storchaka
050a143a3f
Fixed tests for shutil.make_archive() with relative base_name in the case when
...
the path of the directory for temporary files contains symlinks.
2015-09-08 10:00:22 +03:00
Serhiy Storchaka
5558d4f2f8
Fixed tests for shutil.make_archive() with relative base_name in the case when
...
the path of the directory for temporary files contains symlinks.
2015-09-08 09:59:02 +03:00
Raymond Hettinger
3ada93fc86
merge
2015-09-08 00:36:56 -04:00
Raymond Hettinger
8ba03cf33f
Fix whitespace in comment.
2015-09-08 00:36:29 -04:00
Serhiy Storchaka
d941d7a586
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:51:00 +03:00
Serhiy Storchaka
2504cecebd
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:47:23 +03:00
Serhiy Storchaka
6c8b66cd26
Raise more correct exception on overflow in setting buffer_size attribute of
...
expat parser.
2015-09-07 22:54:08 +03:00
Serhiy Storchaka
de5f9f4f70
Raise more correct exception on overflow in setting buffer_size attribute of
...
expat parser.
2015-09-07 22:51:56 +03:00
Serhiy Storchaka
3b1bc7828d
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:38:34 +03:00
Serhiy Storchaka
931331a328
Issue #25019 : Fixed a crash caused by setting non-string key of expat parser.
...
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
2015-09-07 22:37:02 +03:00
Serhiy Storchaka
ae0d7527f3
Issue #25018 : Fixed testing shutil.make_archive() with relative base_name on
...
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
2015-09-07 19:59:24 +03:00
Serhiy Storchaka
eba8feedfa
Issue #25018 : Fixed testing shutil.make_archive() with relative base_name on
...
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
2015-09-07 19:58:23 +03:00
Larry Hastings
c8c47f55e6
Merge heads.
2015-09-07 05:16:38 -07:00
Larry Hastings
7d83949a21
Updated topics (again) for Python 3.5.0rc3 (second try).
2015-09-07 05:10:55 -07:00
Serhiy Storchaka
8c85a2083f
Explicitly test archive name in shutil.make_archive() tests to expose failure
...
details in issue25018.
2015-09-07 13:56:49 +03:00
Serhiy Storchaka
a091a8221e
Explicitly test archive name in shutil.make_archive() tests to expose failure
...
details in issue25018.
2015-09-07 13:55:25 +03:00
Terry Jan Reedy
ffcff22ade
Merge with 3.4
2015-09-07 01:58:29 -04:00
Terry Jan Reedy
b41eadab43
Issue #24889 : When starting Idle, force focus onto Idle window if not already
...
there (as when opening Idle from interactive Python on Windows).
2015-09-07 01:58:13 -04:00
Steve Dower
96d4943846
Reapplied change to test_warnings.py to test_warnings/__init__.py.
2015-09-06 22:30:40 -07:00
Steve Dower
f35bd306ff
Merge from 3.5.0 branch.
2015-09-06 22:27:42 -07:00
Larry Hastings
c1635e497d
Merged in stevedower/cpython350 (pull request #20 )
...
Issue #25005 : Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
2015-09-06 22:10:22 -07:00
Martin Panter
da19767b86
Issue #25004 : Merge 3.4 into 3.5
2015-09-07 04:04:40 +00:00
Martin Panter
e8d58d1f02
Issue #25004 : Handle out-of-disk-space error in LargeMmapTests
...
Patch from John Beck.
2015-09-07 02:57:47 +00:00
Steve Dower
e5b5895b5b
Issue #24917 : time_strftime() buffer over-read.
2015-09-06 19:20:51 -07:00
Ezio Melotti
20a2c6482e
#23144 : merge with 3.4.
2015-09-06 21:44:45 +03:00
Ezio Melotti
6f2bb98966
#23144 : Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.
2015-09-06 21:38:06 +03:00
Serhiy Storchaka
2ba39800e5
Fix, refactor and extend tests for shutil.make_archive().
2015-09-06 18:33:52 +03:00
Serhiy Storchaka
527ef0792f
Fix, refactor and extend tests for shutil.make_archive().
2015-09-06 18:33:19 +03:00
Serhiy Storchaka
5fbadb63ef
Use support.change_cwd() in tests.
2015-09-06 14:14:49 +03:00
Serhiy Storchaka
2a23adf440
Use support.change_cwd() in tests.
2015-09-06 14:13:25 +03:00
Larry Hastings
714e49371b
Issue #24305 : Prevent import subsystem stack frames from being counted
...
by the warnings.warn(stacklevel=) parameter.
2015-09-06 00:39:37 -07:00
Larry Hastings
62b24624dd
Backing out 09b62202d9b7; the tests fail on Linux, and it needs a re-think.
2015-09-06 00:31:02 -07:00
Steve Dower
dcaf4ccf3f
Issue #24917 : Backed out changeset 09b62202d9b7
2015-09-05 23:11:53 -07:00
Steve Dower
237060abb4
Merge from 3.5.0 release branch
2015-09-05 20:59:20 -07:00
Larry Hastings
055a9e0bc8
Merged in ncoghlan/cpython350 (pull request #17 )
2015-09-05 20:53:04 -07:00
Terry Jan Reedy
e989bf587c
merge from 3.4
2015-09-05 19:17:24 -04:00
Terry Jan Reedy
ca3f435fe6
Issue #16180 : Exit pdb if file has syntax error, instead of trapping user
...
in an infinite loop. Patch by Xavier de Gaye.
2015-09-05 19:13:26 -04:00
Guido van Rossum
37fdcbc4c3
Issue #24912 : Prevent __class__ assignment to immutable built-in objects. (Merge 3.5.0 -> 3.5)
2015-09-05 15:20:08 -07:00
Steve Dower
373602fa3f
Issue #24917 : time_strftime() Buffer Over-read. Patch by John Leitch.
2015-09-05 12:16:06 -07:00
Steve Dower
2ebd8f5194
Issue #25005 : Backout fix for #8232 because of use of unsafe subprocess.call(shell=True)
2015-09-05 11:57:47 -07:00
Nick Coghlan
9d3c61c86a
Close #24748 : Restore imp.load_dynamic compatibility
...
To resolve a compatibility problem found with py2exe and
pywin32, imp.load_dynamic() once again ignores previously loaded modules
to support Python modules replacing themselves with extension modules.
Patch by Petr Viktorin.
2015-09-05 21:05:05 +10:00
Guido van Rossum
7d293ee97d
Issue #24912 : Prevent __class__ assignment to immutable built-in objects.
2015-09-04 20:54:07 -07:00
Guido van Rossum
1b66910537
Fix issue #24635 .
2015-09-04 12:15:54 -07:00
Guido van Rossum
647bae6c52
Issue #24635 : Fixed flakiness in test_typing.py.
2015-09-04 12:00:06 -07:00
Terry Jan Reedy
4fda56f44b
Issue #24745 : Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
2015-09-04 04:37:56 -04:00
Larry Hastings
9f9a00afc0
Merged in storchaka/cpython350 (pull request #13 )
...
Issue #24989
2015-09-03 22:12:08 -07:00
Serhiy Storchaka
4e63f7a2b4
Issue #24989 : Fixed buffer overread in BytesIO.readline() if a position is
...
set beyond size. Based on patch by John Leitch.
2015-09-04 07:48:19 +03:00
Terry Jan Reedy
a43de00b74
Issue #21192 : Change 'RUN' back to 'RESTART' when running editor file.
2015-09-03 21:26:12 -04:00
Serhiy Storchaka
594e54c765
Issue #24989 : Fixed buffer overread in BytesIO.readline() if a position is
...
set beyond size. Based on patch by John Leitch.
2015-09-04 01:08:03 +03:00
Brett Cannon
df6b544ff6
Issue #24913 : Fix overrun error in deque.index().
...
Reported by John Leitch and Bryce Darling, patch by Raymond Hettinger.
2015-09-03 10:15:03 -07:00
Victor Stinner
aba2466d09
Merge 3.4 (test_gdb)
2015-09-03 15:42:45 +02:00
Victor Stinner
479fea63e1
test_gdb: oops, the regex to parse the gdb version was still too strict
2015-09-03 15:42:26 +02:00
Victor Stinner
a7b76e0cbe
test_wsgiref: add missing import (support)
2015-09-03 12:14:25 +02:00
Senthil Kumaran
b541e58b7a
Merge with 3.5. Fix test_wsgiref execution from the test module.
2015-09-03 02:27:18 -07:00
Senthil Kumaran
22f2c0e215
Fix test_wsgiref execution from the test module.
2015-09-03 02:26:31 -07:00
Victor Stinner
ccc546c658
Merge 3.4 (test_gdb)
2015-09-03 09:46:11 +02:00
Victor Stinner
26afae4019
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
2015-09-03 09:45:53 +02:00
Terry Jan Reedy
379583e762
Merge with 3.4
2015-09-02 22:08:03 -04:00
Terry Jan Reedy
ac5004f7ce
Issue #21192 : Change 'RUN' back to 'RESTART' when running editor file.
2015-09-02 22:07:44 -04:00
Victor Stinner
4912e7a3fd
Merge 3.4 (test_warnings)
2015-09-03 00:09:26 +02:00
Victor Stinner
1c40552087
Fix test_warnings: don't modify warnings.filters
...
BaseTest now ensures that unittest.TestCase.assertWarns() uses the same
warnings module than warnings.catch_warnings(). Otherwise,
warnings.catch_warnings() will be unable to remove the added filter.
2015-09-03 00:07:47 +02:00
Victor Stinner
329ca7118f
Merge 3.4 (test_gdb)
2015-09-02 23:21:03 +02:00
Victor Stinner
5b6b4a8c34
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
...
when the test is interrupted (or fail).
2015-09-02 23:19:55 +02:00
Victor Stinner
2f3ac1ea76
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
...
Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).
2015-09-02 23:12:14 +02:00
Yury Selivanov
2051b84f44
Merge 3.5 heads (issue #24975 )
2015-09-02 15:49:30 -04:00
Yury Selivanov
b3d531348c
Issue #24975 : Fix AST compilation for PEP 448 syntax.
2015-09-01 16:10:49 -04:00
Raymond Hettinger
9157545c11
merge
2015-08-30 09:15:36 -07:00
Raymond Hettinger
7a3602e7cf
Issue #24931 : Resolve __dict__ conflict in namedtuple subclasses.
2015-08-30 09:13:48 -07:00
Donald Stufft
c332e0946a
Update setuptools to 18.2 and pip to 7.1.2
2015-08-29 13:57:46 -04:00
Serhiy Storchaka
f0f55a00b7
Issue #24881 : Fixed setting binary mode in Python implementation of FileIO
...
on Windows and Cygwin. Patch from Akira Li.
2015-08-28 22:17:04 +03:00
Robert Collins
079fc7faff
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:35:14 +12:00
Robert Collins
ed599b7c84
Issue #21112 : Fix regression in unittest.expectedFailure on subclasses.
...
Patch from Berker Peksag.
2015-08-28 10:34:51 +12:00
Terry Jan Reedy
73c2194d07
Merge with 3.4
2015-08-27 13:02:27 -04:00
Terry Jan Reedy
8e9296702a
Issue #24790 : correct typo noticed by Eric Smith
2015-08-27 13:02:11 -04:00
Terry Jan Reedy
eb3849c394
Merge with 3.4
2015-08-26 23:37:31 -04:00
Terry Jan Reedy
2050a1061f
Issue #24790 : Restore unused function.
2015-08-26 23:37:14 -04:00
Terry Jan Reedy
2ceb55fbea
Merge with 3.4
2015-08-26 23:13:43 -04:00
Terry Jan Reedy
41a27e021e
Issue #24782 : In Idle extension config dialog, replace tabs with sorted list.
...
Patch by Mark Roseman.
2015-08-26 23:13:22 -04:00
Raymond Hettinger
87674ec7d5
Issue #24913 : Fix overrun error in deque.index().
2015-08-26 08:08:38 -07:00
Larry Hastings
06a7d611da
Merge from Python 3.5.0 (rc2) to Python 3.5.1.
2015-08-25 14:13:55 -07:00
Larry Hastings
db1ccc69f4
Regenerated pydoc topics for Python 3.5.0rc2.
2015-08-24 20:30:34 -07:00
Larry Hastings
1df0b35e3d
Issue #24769 : Interpreter now starts properly when dynamic loading
...
is disabled. Patch by Petr Viktorin.
2015-08-24 19:53:56 -07:00
Donald Stufft
d8c5f82285
Merge updated to pip and setuptools
2015-08-24 16:14:20 -04:00
Donald Stufft
b372356d0a
Update pip to 7.1.2 and setuptools to 18.2
2015-08-24 16:13:48 -04:00
Robert Collins
be6caca534
Issue #20362 : Honour TestCase.longMessage correctly in assertRegex.
...
Patch from Ilia Kurenkov.
2015-08-20 11:13:09 +12:00
Yury Selivanov
ab7cc7598a
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:30:15 -04:00
Yury Selivanov
77a8cd65be
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:20:00 -04:00
Terry Jan Reedy
f5e0c41d6d
Merge with 3.4
2015-08-18 13:27:18 -04:00
Terry Jan Reedy
a78ebe6323
Issue #24790 : Remove extraneous code (which also create 2 & 3 conflicts).
2015-08-18 13:26:57 -04:00
Victor Stinner
1e26dc7ef6
(Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:16 -07:00
Victor Stinner
6579459d4b
cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:21:10 -07:00
Yury Selivanov
7ca6c55a4e
Issue #24867 : Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-17 14:46:51 -04:00
Terry Jan Reedy
13e09709b4
Entries for idlelib/NEWS.txt
2015-08-16 23:24:11 -04:00
Terry Jan Reedy
5080deb5a4
Entries for idlelib/NEWS.txt
2015-08-16 23:23:16 -04:00
Robert Collins
5409177b62
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:19 +12:00
Robert Collins
9644f2450d
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
Terry Jan Reedy
a0bcfaff9a
Merge with 3.4
2015-08-14 16:59:58 -04:00
Terry Jan Reedy
c6dd5b1c66
Issue #24833 : Add attribute reference needed for 3.x.
2015-08-14 16:59:42 -04:00
Yury Selivanov
bb78adeece
Merge 3.4 (Issue #24867 )
2015-08-14 15:32:37 -04:00
Yury Selivanov
233983380d
Issue #24867 : Fix Task.get_stack() for 'async def' coroutines
2015-08-14 15:30:59 -04:00
Brett Cannon
7c97a05618
Merge from 3.5.0 for issue #24492
2015-08-14 11:06:43 -07:00
Robert Collins
f7a92673ab
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:47:41 +12:00
Robert Collins
ac37ba0742
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:11:35 +12:00
larry
6707906ea5
Merged in brettcannon/cpython350/3.5 (pull request #2 )
...
Issue #24492 : make sure that ``from ... import ...` raises an ImportError if __name__ is not defined on a package.
2015-08-11 18:59:15 -07:00
Brett Cannon
3008bc0f4a
Issue #24492 : make sure that ``from ... import ...` raises an
...
ImportError if __name__ is not defined on a package.
Thanks to Armin Rigo for the bug report and diagnosing the cause.
2015-08-11 18:01:31 -07:00
Steve Dower
cae101f5ec
Issue #24839 : platform._syscmd_ver raises DeprecationWarning
2015-08-10 20:57:37 -07:00
Larry Hastings
73b4a7a794
Merged fixes for two bad bugs. This will be the new Python 3.5.0rc1.
2015-08-09 21:37:20 -07:00
Ned Deily
4a3d96cafb
Issue #24745 : Prevent IDLE initialization crash with Tk 8.4:
...
"TkFixedFont" does not exist in 8.4.
2015-08-09 23:21:29 -04:00
Yury Selivanov
131426ebe3
Merge 3.4 (issues #24835 , #24763 )
2015-08-09 18:21:58 -04:00
Yury Selivanov
9632ea2f26
Issue #24763 : Fix asyncio test on Windows (fix reverted change)
...
See also issue #24835
2015-08-09 18:21:25 -04:00
Larry Hastings
f7ae14f543
Regenerated pydoc topics for Python 3.5.0rc1.
2015-08-09 03:34:21 -07:00
Zachary Ware
83ee5a315f
Merge 3.4
2015-08-08 22:03:43 -05:00
Zachary Ware
9a47ed8839
regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore
2015-08-08 22:03:27 -05:00
Steve Dower
3a7ffa7474
Issue #4214 : Remove ineffectual /pdb:none option from msvc9compiler.py
2015-08-07 19:48:03 -07:00
Robert Collins
d84b29f805
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:22:54 +12:00
Yury Selivanov
159fbdd805
Issue #23812 : Fix getter-cancellation with many pending getters code path
2015-08-06 14:03:38 -04:00
Berker Peksag
86b34da5ef
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:15:51 +03:00
Terry Jan Reedy
5c28e9f887
Issue #23672 : Allow Idle to edit and run files with astral chars in name.
...
Patch by Mohd Sanad Zaki Rizvi.
2015-08-06 00:54:07 -04:00
Yury Selivanov
8c125eb44b
asyncio: Make sure BaseException is re-raised in SSLProtocol
2015-08-05 14:06:23 -04:00
Yury Selivanov
3fc0f2d288
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:52:33 -04:00
Zachary Ware
36948d7875
Issue #24791 : Add tests for things that regressed with PEP 448
2015-08-04 22:49:55 -05:00
Zachary Ware
920a335e97
Issue #24751 : When running regrtest with '-w', don't fail if re-run succeeds.
2015-08-04 21:54:54 -05:00
Yury Selivanov
2a8911c0b7
asyncio: Sync with upstream (compat module)
2015-08-04 15:56:33 -04:00
Yury Selivanov
996083d6e6
asyncio: Sync with mainstream
2015-08-04 15:37:24 -04:00
Robert Collins
2fee5c9367
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:06 +12:00
Terry Jan Reedy
7e220c082b
Merge
2015-08-03 18:41:16 -04:00
Terry Jan Reedy
2f7de53993
Issue #24759 : Revert 13a8782a775e.
2015-08-03 18:34:22 -04:00
Robert Collins
a0e5d981cd
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:06:29 +12:00
Robert Collins
43cbbe21a7
Issue #22397 : Skip failing tests on AIX
...
Patch from David Edelsohn.
2015-08-03 10:36:04 +12:00
Yury Selivanov
4c0a09a0c9
Revert da29a94367b2
2015-08-02 16:49:31 -04:00
Yury Selivanov
6b3f29ca8f
asyncio: Fix code style
2015-08-02 10:24:34 -04:00
Serhiy Storchaka
0dcd80a6c0
Issue #20557 : Use specific asserts in io tests.
2015-08-02 15:17:49 +03:00
Zachary Ware
ce17f76475
Issue #23182 : PEP8-ify the annotation grammar tests. Patch by Ian Lee.
2015-08-01 21:55:36 -05:00
Terry Jan Reedy
d87d16826a
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
...
editor font. This should not affect current customized font selections.
Patch by Mark Roseman.
2015-08-01 18:57:33 -04:00
Terry Jan Reedy
231007fe14
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:37 -04:00
Victor Stinner
9a82bd45cd
Issue #24763 : Fix asyncio test on Windows
2015-07-31 23:36:00 +02:00
Robert Collins
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Victor Stinner
6fb1e740c6
Fix ResourceWarning in asyncio.BaseSubprocessTransport
...
Issue #24763 : Fix resource warnings when asyncio.BaseSubprocessTransport
constructor fails, if subprocess.Popen raises an exception for example.
Patch written by Martin Richard, test written by me.
2015-07-31 17:49:43 +02:00
Terry Jan Reedy
062759f1dc
Issue 24759: Gracefull exit Idle if ttk import fails.
2015-07-30 21:16:16 -04:00
Robert Collins
5ccc18f298
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 08:59:02 +12:00
Terry Jan Reedy
30f1f67248
Issue #13884 : Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
2015-07-30 16:44:22 -04:00
Berker Peksag
41ca828580
Issue #12160 : Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
...
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
2015-07-30 18:26:10 +03:00
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:33:52 +02:00
Robert Collins
1ee9283254
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:52:40 +12:00
Berker Peksag
aaf6114b37
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:06:31 +03:00
Robert Collins
ddc7440b0e
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:01 +12:00
Serhiy Storchaka
83236f7a8b
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:01:22 +03:00
Berker Peksag
5a294d822b
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:53:48 +03:00
Victor Stinner
eaf16abc68
asyncio: sync with github
...
* Fix ResourceWarning warnings in test_streams
* Return True from StreamReader.eof_received() to fix
http://bugs.python.org/issue24539 (but still needs a unittest).
Add StreamReader.__repr__() for easy debugging.
* remove unused imports
* Issue #234 : Drop JoinableQueue on Python 3.5+
2015-07-25 02:40:40 +02:00
Victor Stinner
71080fc351
asyncio: Add asyncio.compat module
...
Move compatibility helpers for the different Python versions to a new
asyncio.compat module.
2015-07-25 02:23:21 +02:00
Serhiy Storchaka
178f0b6ddc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Robert Collins
ca647ef60a
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:48:20 +12:00
Serhiy Storchaka
750eae1bd4
Issue #24678 : Fixed raiseExceptions typo in logging tests.
...
Patch by Jacek Kołodziej.
2015-07-21 22:39:26 +03:00
Terry Jan Reedy
19c1a8725c
Issue #20792 : Expand idle_test.test_pathbowser. Tweak file to not copy twice.
...
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:59 -04:00
Victor Stinner
c0b1e0f868
Issue #24675 : Avoid DeprecationWarning in test_os
...
Patch written by Martin Panter. I replace tearDown() with addCleanup().
2015-07-20 17:12:57 +02:00
Serhiy Storchaka
3018cc49e8
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:19:05 +03:00
Robert Collins
92b3e06517
Typo fix in mock.patch.
...
Patch from https://github.com/testing-cabal/mock/issues/215
2015-07-17 21:58:36 +12:00
Robert Collins
5329aaa74b
Issue #21750 : mock_open.read_data can now be read from each instance, as it
...
could in Python 3.3.
2015-07-17 20:08:45 +12:00
Victor Stinner
579db160b3
Closes #23247 : Fix a crash in the StreamWriter.reset() of CJK codecs
2015-07-16 22:17:31 +02:00
Robert Collins
b37f43f94b
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:42:28 +12:00
Steve Dower
71a36f735b
Issue #24634 : Importing uuid should not try to load libc on Windows
2015-07-14 13:25:03 -07:00
Stefan Krah
0c51595a78
Issue #15944 : memoryview: Allow arbitrary formats when casting to bytes.
...
Original patch by Martin Panter.
2015-08-08 13:38:10 +02:00
Steve Dower
917c2c3654
Issue #4214 : Remove ineffectual /pdb:none option from msvc9compiler.py
2015-08-07 19:48:26 -07:00
Eric Snow
8c7f9558eb
Issue #24667 : Resize odict in all cases that the underlying dict resizes.
2015-08-07 17:45:12 -06:00
Steve Dower
31202eaa5c
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-05 11:39:19 -07:00
Robert Collins
00cf3c394a
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:32:15 +12:00
Yury Selivanov
e03f42717c
Merge 3.4 (issue #23812 )
2015-08-06 14:04:12 -04:00
Berker Peksag
abfaecdfdd
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:16:52 +03:00
Terry Jan Reedy
0901d84e35
Issue #23672:Merge with 3.4
2015-08-06 00:54:45 -04:00
Yury Selivanov
50a2614786
Issue #24791 : More tests in test_parser
2015-08-05 17:59:45 -04:00
Yury Selivanov
14acf5f41d
Issue #24791 : Fix grammar regression for call syntax: 'g(*a or b)'.
2015-08-05 17:54:10 -04:00
Steve Dower
cedef652fa
Rebuild wininst-14.0[-amd64].exe with updated tools.
2015-08-05 11:48:14 -07:00
Yury Selivanov
6d0c4c38d1
asyncio.test_pep492: Add a test for asyncio.iscoroutinefunction
2015-08-05 14:47:33 -04:00
Yury Selivanov
6703d032a5
Merge 3.4 (asyncio)
2015-08-05 14:06:38 -04:00
Yury Selivanov
22506d24ee
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:55:54 -04:00
Guido van Rossum
d70fe639c1
Issue #23973 : Update typing.py from GitHub repo.
2015-08-05 12:11:06 +02:00
Zachary Ware
40648838b2
Issue #24751 : Merge with 3.4
2015-08-04 21:58:00 -05:00
Yury Selivanov
78c89eb0ac
Merge 3.4
2015-08-04 15:56:53 -04:00
Yury Selivanov
3563ccc9a0
Merge 3.4
2015-08-04 15:37:45 -04:00
Robert Collins
1f9a29f31b
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:43 +12:00
Terry Jan Reedy
d6dabe01eb
Merge
2015-08-03 18:41:57 -04:00
Terry Jan Reedy
f71a79cb72
Issue #24759 : Merge with 3.4
2015-08-03 18:34:45 -04:00
Robert Collins
f3d9c315b6
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:07:06 +12:00
Robert Collins
6f8a0586a9
Issue #22397 : Skip failing tests on AIX
...
Patch from David Edelsohn.
2015-08-03 10:38:39 +12:00
Yury Selivanov
c3fcb9696c
Merge 3.4
2015-08-02 16:49:44 -04:00
Yury Selivanov
32ba405ce5
Merge 3.4
2015-08-02 10:24:49 -04:00
Serhiy Storchaka
b064f1e94f
Issue #20557 : Use specific asserts in io tests.
2015-08-02 15:18:28 +03:00
Zachary Ware
13db76a974
Issue #23182 : Merge with 3.4
2015-08-01 21:57:22 -05:00
Terry Jan Reedy
1b3c8f8eec
Issue 24745: Merge with 3.4
2015-08-01 18:58:23 -04:00