Serhiy Storchaka
24411f8a8d
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:44:42 +02:00
Martin Panter
88281ceed0
Issue #28485 : Check for negative workers even without ProcessPoolExecutor
...
This matches the documentation, and passes the test suite when multithreading
is disabled.
2016-11-05 01:11:36 +00:00
Yury Selivanov
600a349781
Issue #28613 : Fix get_event_loop() to return the current loop
...
when called from coroutines or callbacks.
2016-11-04 14:29:28 -04:00
Yury Selivanov
c5420492cf
asyncio: Sync with upstream
2016-11-03 15:35:23 -07:00
Yury Selivanov
491a912659
Issue #28600 : Optimize loop.call_soon().
...
Run expensive type checks only in debug mode. In addition, stop
supporting passing handles to loop.run_in_executor.
2016-11-03 15:09:24 -07:00
Donald Stufft
2af4144b7f
Merge new pip/setuptools from 3.4
2016-11-02 15:53:58 -04:00
Donald Stufft
20a587bd67
Upgrade pip to 9.0 and setuptools to 28.7.1
2016-11-02 15:42:49 -04:00
Serhiy Storchaka
04f17f103a
Issue #27517 : LZMA compressor and decompressor no longer raise exceptions if
...
given empty data twice. Patch by Benjamin Fogle.
2016-10-31 08:30:09 +02:00
Serhiy Storchaka
a89d22aff3
Issue #28449 : tarfile.open() with mode "r" or "r:" now tries to open a tar
...
file with compression before trying to open it without compression. Otherwise
it had 50% chance failed with ignore_zeros=True.
2016-10-30 20:52:29 +02:00
Serhiy Storchaka
d1af5effc2
Issue #28385 : An error message when non-empty format spec is passed to
...
object.__format__ now contains the name of actual type.
2016-10-30 19:33:54 +02:00
Serhiy Storchaka
c9b750d249
Issue #23262 : The webbrowser module now supports Firefox 36+ and derived
...
browsers. Based on patch by Oleg Broytman.
2016-10-30 19:16:33 +02:00
Serhiy Storchaka
32c0d3ada5
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:49:52 +02:00
Serhiy Storchaka
0438683939
Backed out changeset 9f7505019767 (issue #27275 ).
2016-10-30 17:17:24 +02:00
Guido van Rossum
62fe1bb983
Issue #28556 : updates to typing.py (add Coroutine, prohibit Generic[T]())
2016-10-29 16:05:26 -07:00
Guido van Rossum
b7dedc89f1
Issue #28556 : updates to typing.py (fix copy, deepcopy, pickle)
2016-10-29 12:44:29 -07:00
Guido van Rossum
5fc25a873c
Issue #28556 : updates to typing.py
2016-10-29 08:54:56 -07:00
Serhiy Storchaka
7865dfff2e
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:17:38 +03:00
Martin Panter
4afdca056b
Issue #26240 : Clean up the subprocess module doc string
...
Patch by Tim Mitchell.
2016-10-25 22:20:48 +00:00
Serhiy Storchaka
36888dd970
Issue #28353 : Fixed tests of os.fwalk() with broken links.
2016-10-25 20:18:31 +03:00
Serhiy Storchaka
4832580596
Issue #27275 : Fixed implementation of pop() and popitem() methods in
...
subclasses of accelerated OrderedDict.
2016-10-25 15:33:23 +03:00
Serhiy Storchaka
7ff51bd2b8
Issue #28255 : calendar.TextCalendar().prmonth() no longer prints a space
...
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
2016-10-25 15:00:52 +03:00
Serhiy Storchaka
f3ebc9fe3f
Issue #20491 : The textwrap.TextWrapper class now honors non-breaking spaces.
...
Based on patch by Kaarle Ritvanen.
2016-10-25 14:44:54 +03:00
Serhiy Storchaka
42bababba6
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:28:38 +03:00
Serhiy Storchaka
036fb15435
Issue #28314 : Added tests for xml.etree.ElementTree.Element.getiterator().
2016-10-25 10:37:01 +03:00
Serhiy Storchaka
071dec2027
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:47:28 +03:00
Serhiy Storchaka
0211bb78fd
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:56:14 +03:00
Serhiy Storchaka
b4293efd93
Issue #28115 : ZIP creation test requires zlib.
2016-10-23 22:32:30 +03:00
Serhiy Storchaka
666de77727
Issue #28488 : shutil.make_archive() no longer adds entry "./" to ZIP archive.
2016-10-23 15:55:09 +03:00
Serhiy Storchaka
61c4c44b2a
Issue #28115 : Added tests for CLI of the zipfile module.
2016-10-23 13:07:59 +03:00
Guido van Rossum
52e5004b59
Issue #27989 : Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L.
2016-10-22 07:55:18 -07:00
Martin Panter
1002a621c1
Issue #28435 : Avoid no_proxy environment variable interfering with tests
...
Patch by Piotr Szczepaniak.
2016-10-22 01:42:06 +00:00
Martin Panter
d60ea5ff00
Issue #26620 : Fix ResourceWarning in test_urllib2_localnet
...
* Use context manager on urllib objects to ensure that they are closed on error
* Use self.addCleanup() to cleanup resources even if a test is interrupted
with CTRL+c
This backports a patch by Victor Stinner.
2016-10-22 01:28:21 +00:00
Guido van Rossum
3b557991d4
Two minor typing.py fixes (upstream #305 )
2016-10-21 17:30:29 -07:00
Guido van Rossum
ac353dfa14
Issue #28482 : Skip a few test_typing tests if asyncio unavailable
2016-10-21 16:12:17 -07:00
Yury Selivanov
e8a6045fea
Issue #26796 : Don't configure the number of workers for default threadpool executor.
...
Initial patch by Hans Lawrenz.
2016-10-21 17:40:42 -04:00
Guido van Rossum
9f91e858ce
Fix indent
2016-10-21 14:30:50 -07:00
Guido van Rossum
7ef22d6b96
Sync typing.py from upstream
2016-10-21 14:27:58 -07:00
Yury Selivanov
3d67615a48
Issue #26923 : Fix asyncio.Gather to refuse being cancelled once all children are done.
...
Patch by Johannes Ebke.
2016-10-21 17:22:17 -04:00
Victor Stinner
1f6b69b749
Issue #28409 : regrtest: fix the parser of command line arguments.
2016-10-17 18:11:03 +02:00
Guido van Rossum
b1a751b5c2
Issue #24452 : Make webbrowser support Chrome on Mac OS X.
2016-10-13 11:17:27 -07:00
Xavier de Gaye
10e54aeaa2
Issue #20766 : Fix references leaked by pdb in the handling of SIGINT handlers.
2016-10-12 20:13:24 +02:00
Martin Panter
d2a584b47b
Issue #28394 : Spelling and typo fixes in code comments and changelog
...
Includes patch by Ville Skyttä.
2016-10-10 00:24:34 +00:00
Guido van Rossum
5e2a0ef2ee
Issue #28339 : Remove ByteString.register(memoryview(...)) from typing.py.
2016-10-09 10:02:49 -07:00
Yury Selivanov
4145c83806
Issue #27972 : Prohibit Tasks to await on themselves.
2016-10-09 12:19:12 -04:00
Yury Selivanov
908d55dd7e
Issue #28399 : Remove UNIX socket from FS before binding.
...
Patch by Коренберг Марк.
2016-10-09 12:15:08 -04:00
Guido van Rossum
e259267e52
Merge further typing.py changes from upstream.
2016-10-08 20:27:22 -07:00
Serhiy Storchaka
9c0e1f83af
Issue #28379 : Added sanity checks and tests for PyUnicode_CopyCharacters().
...
Patch by Xiang Zhang.
2016-10-08 22:45:38 +03:00
Serhiy Storchaka
48b1c3fcfc
Issue #28376 : The type of long range iterator is now registered as Iterator.
...
Patch by Oren Milman.
2016-10-08 22:04:12 +03:00
Serhiy Storchaka
44759bcf13
Issue #28376 : The constructor of range_iterator now checks that step is not 0.
...
Patch by Oren Milman.
2016-10-08 21:43:11 +03:00
Serhiy Storchaka
3bd9fde4df
Issue #28376 : Fixed typos.
...
Based on patch by Oren Milman.
2016-10-08 21:33:59 +03:00