Commit Graph

40079 Commits

Author SHA1 Message Date
Vinay Sajip c1f974c944 Closes #1521950: Made shlex parsing more shell-like. 2016-07-29 22:35:03 +01:00
Terry Jan Reedy 2553b1b057 Issue #27620: Make htest box respond to <Return> and <Escape>. 2016-07-27 22:17:05 -04:00
Terry Jan Reedy 6b37dfce5b Issue #27620: Mark the default action button as the default. 2016-07-27 21:42:54 -04:00
Martin Panter 263893c261 Issue #27626: Further spelling fixes for 3.6 2016-07-28 01:25:31 +00:00
Martin Panter 8bde911115 Issue #27626: Merge spelling fixes from 3.5 2016-07-28 01:30:58 +00:00
Martin Panter eb9957065a Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Alexander Belopolsky 611adf2466 Issue #24773: Fixed tests failures on systems with 32-bit time_t.
Several 32-bit systems have issues with transitions in the year
2037. This is a bug in the system C library since time_t does not
overflow until 2038, but let's skip tests starting from 2037 to work
around those bugs.
2016-07-26 12:23:16 -04:00
Terry Jan Reedy 17937832ba Issue #27620: Escape key closes Query box as cancelled. 2016-07-25 20:58:43 -04:00
Terry Jan Reedy 43b17134e9 Issue #24137, issue #27611: Restore tkinter after test_idle. 2016-07-25 00:31:54 -04:00
Martin Panter b93d8637a6 Issue #1621: Avoid signed overflow in list and tuple operations
Patch by Xiang Zhang.
2016-07-25 02:39:20 +00:00
Terry Jan Reedy c665dfd73e Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Alexander Belopolsky 95f7b9fcac Issue 24773: Make zoneinfo tests more robust. (reapply) 2016-07-24 20:36:55 -04:00
Terry Jan Reedy c74fb9c6c5 Issue #27609: Explicitly return None when there are other returns.
In a few cases, reverse a condition and eliminate a return.
2016-07-24 20:35:43 -04:00
Alexander Belopolsky cd28013d00 Reindented Lib/test/datetimetester.py. 2016-07-24 14:41:08 -04:00
Alexander Belopolsky 4719ae7567 Issue #24773: Made ZoneInfoCompleteTest a TestSuit.
This should improve the diagnostic and progress reports.
2016-07-24 14:39:28 -04:00
Alexander Belopolsky 8dadb2155b Issue 24773: Make zoneinfo tests more robust. 2016-07-23 11:16:56 -04:00
Berker Peksag f96c84f6e5 Issue #13849: Merge from 3.5 2016-07-23 08:43:04 +03:00
Berker Peksag 5f804e387e Issue #13849: Fix test_null_bytes under Windows 2016-07-23 08:42:41 +03:00
Berker Peksag 804a39f04f Issue #13849: Merge from 3.5 2016-07-23 07:32:14 +03:00
Berker Peksag 9adc1a38bd Issue #13849: Add tests for null byte checking in test_genericpath 2016-07-23 07:31:47 +03:00
Berker Peksag b3bb436b86 Issue #27493: Fix test_path_objects under Windows 2016-07-23 07:15:12 +03:00
Martin Panter 525a949251 Issue #27130: Merge zlib 64-bit fixes from 3.5 2016-07-23 03:39:49 +00:00
Martin Panter 84544c1020 Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Alexander Belopolsky 5d0c598382 Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). 2016-07-22 18:47:04 -04:00
Vinay Sajip 638e622055 Closes #27493: accepted Path objects in file handlers for logging. 2016-07-22 18:23:04 +01:00
Vinay Sajip cccf6068fa Closes #26559: Allow configuring flush-on-close behaviour of MemoryHandler. 2016-07-22 16:27:31 +01:00
Xavier de Gaye d141531eb5 Issue #27472: Add test.support.unix_shell as the path to the default shell. 2016-07-22 12:15:29 +02:00
Martin Panter e3d747496e Issue #27528: Merge warning doc and test from 3.5 2016-07-19 02:50:51 +00:00
Martin Panter 221945056d Issue #27528: Document and test warning messages must match at beginning 2016-07-19 02:26:38 +00:00
Stefan Krah 243d8a7866 Merge 3.5. 2016-07-17 14:12:59 +02:00
Stefan Krah 8c126f17f0 Issue #26974: Fix segfault in the presence of absurd subclassing. Proactively
eliminate all internal uses of overridden methods.
2016-07-17 14:01:42 +02:00
Serhiy Storchaka 740527abb6 Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList. 2016-07-17 13:26:10 +03:00
Serhiy Storchaka 6c2f1fd710 Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList. 2016-07-17 13:25:15 +03:00
Serhiy Storchaka 3410c01d83 Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.
2016-07-17 11:35:35 +03:00
Serhiy Storchaka dec25afab1 Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.
2016-07-17 11:24:17 +03:00
Terry Jan Reedy 41bc067873 Issue #25507: Merge from 3.5 with ttk replacing colorchooser.
IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
2016-07-16 18:27:11 -04:00
Terry Jan Reedy ff1d5ab16e Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
2016-07-16 18:26:32 -04:00
Brett Cannon 4106f61c4c Merge for #27083 2016-07-16 10:45:16 -07:00
Brett Cannon 7ca63cb7cc Fix regressions introduced by fixes for issue #27083. 2016-07-16 10:44:13 -07:00
R David Murray 7266964968 Merge: #27522: break unintended cycle in feedparser. 2016-07-15 21:30:13 -04:00
R David Murray 702b0460d2 #27522: break unintended cycle in feedparser.
Patch by Costas.
2016-07-15 21:29:13 -04:00
Brett Cannon b3e73b30ff Merge for #27083 2016-07-15 11:55:21 -07:00
Brett Cannon a47a7a5bf8 Issue #27083: Respect the PYTHONCASEOK environment variable under
Windows.

Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).

Thanks to Eryk Sun for the bug report.
2016-07-15 11:54:38 -07:00
Brett Cannon 33ed881f79 Fix a failing test introduced as part of issue #27512 2016-07-15 11:26:53 -07:00
Brett Cannon 896e87a99c Merge for #26844 2016-07-15 10:59:11 -07:00
Brett Cannon f76457e122 Issue #26844: Fix imp.find_module() to have the exception related to
type issues be about 'path' instead of 'name'.

Thanks to Lev Maximov for the patch.
2016-07-15 10:58:54 -07:00
Brett Cannon 044283a426 Issue #27512: Don't segfault when os.fspath() calls an object whose
__fspath__() raises an exception.

Thanks to Xiang Zhang for the patch.
2016-07-15 10:41:49 -07:00
Terry Jan Reedy 6cf0e13b65 Issue #25507: Move 4 objects from pyshell to run and switch inports.
This removes one problem inport and reduces len(sys.modules) by 37.
2016-07-15 02:43:03 -04:00
Benjamin Peterson ce7b27d169 merge 3.5 (#27514) 2016-07-14 22:02:09 -07:00
Benjamin Peterson e09ed5419b make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Patch by Ammar Askar.
2016-07-14 22:00:03 -07:00
Benjamin Peterson ab078e9ed1 Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
Martin Panter fb4f8257bf Issue #27369: Merge test_pyexpat from 3.5 2016-07-14 03:36:53 +00:00
Martin Panter c29df658a7 Issue #27369: Merge test_pyexpat from 3.4 into 3.5 2016-07-14 03:35:15 +00:00
Martin Panter b7b5d35545 Issue #27369: Merge test_pyexpat from 3.3 into 3.4 2016-07-14 02:09:17 +00:00
Martin Panter d27a7c1f22 Issue #27369: Merge test_pyexpat from 3.2 into 3.3 2016-07-14 01:42:53 +00:00
Martin Panter 076ca6c3c8 Issue #27369: Don’t test error message detail that changed in Expat 2.2.0 2016-07-14 01:31:46 +00:00
Yury Selivanov e824315e2b Merge 3.5 (issue #27392) 2016-07-12 18:24:25 -04:00
Yury Selivanov 252e9ed974 Issue #27392: Add loop.connect_accepted_socket().
Patch by Jim Fulton.
2016-07-12 18:23:10 -04:00
Ned Deily aa843d2219 Update pydoc topics for 3.6.0a3 2016-07-11 15:32:48 -04:00
Martin Panter 702f4f5d6f Issue #23804: Merge spelling and NEWS fixes from 3.5 2016-07-11 12:54:44 +00:00
Martin Panter 204bf0b9ae English spelling and grammar fixes 2016-07-11 07:51:37 +00:00
Martin Panter 7386268ffd Issue #23804: Merge SSL recv() fix from 3.5 2016-07-11 01:32:09 +00:00
Terry Jan Reedy 4bf9c51f9b IDLE NEWS items. 2016-07-10 20:30:43 -04:00
Terry Jan Reedy 6f7b0f577e Issue #27477: Convert IDLE search dialogs to using ttk widgets. 2016-07-10 20:21:31 -04:00
Martin Panter bed7f1a512 Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF 2016-07-11 00:17:13 +00:00
Terry Jan Reedy a748032653 Refine geometry of idlelib htests (and a few other fix-ups). 2016-07-10 17:28:10 -04:00
Terry Jan Reedy cd5e388c39 Issue #27173: Fix error in test_config that caused test_idle to fail. 2016-07-10 17:26:24 -04:00
Terry Jan Reedy 9bdb1edf35 Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
Make the default key set depend on the platform.
Add tests for changes to the config module.
2016-07-10 13:46:34 -04:00
R David Murray 5f21f43af7 #22758: fix regression in handling of secure cookies.
This backports the fix from #16611, per discussion with the release
manager.
2016-07-10 13:32:43 -04:00
Xavier de Gaye 20bd3b070a Issue #27027: Added test.support.is_android that is True when this is an
Android build.
2016-07-10 18:20:15 +02:00
Senthil Kumaran 290b42de73 [merge from 3.5] - Issue #27466: Change time format returned by
http.cookie.time2netscape, confirming the netscape cookie format.
2016-07-10 06:49:49 -07:00
Senthil Kumaran d5b47fb8ce Issue #27466: Change time format returned by http.cookie.time2netscape,
confirming the netscape cookie format.
2016-07-10 06:45:38 -07:00
Serhiy Storchaka f9efb8b18b Issue #27474: Unified error messages in the __contains__ method of bytes and
bytearray for integers in and out of the Py_ssize_t range.
Patch by Xiang Zhang.
2016-07-10 12:37:30 +03:00
Brett Cannon 3fef2eef2e Issue #26972: Fix some mistakes in importlib-related docstrings.
Thanks to Oren Milman for the patch.
2016-07-08 11:09:35 -07:00
Brett Cannon fdcdd9ed80 Issue #26896: Disambiguate uses of "importer" with "finder".
Thanks to Oren Milman for the patch.
2016-07-08 11:00:00 -07:00
Terry Jan Reedy d3b96e1cd4 Whitespace 2016-07-08 00:26:20 -04:00
Terry Jan Reedy 8b22c0aada Issue #27380: IDLE: add query.HelpSource class and tests.
Remove modules that are combined in new module.
2016-07-08 00:22:50 -04:00
Steven D'Aprano 8c115a46e7 Issue27139 patch by Julio C Cardoza. 2016-07-08 02:38:45 +10:00
Donald Stufft 77e8408346 merge 3.5 2016-07-06 17:50:21 -04:00
Donald Stufft a1fc45ae73 Fix a test with the new upload URL 2016-07-06 17:46:37 -04:00
Benjamin Peterson 961900ad85 merge 3.5 2016-07-06 14:00:46 -07:00
Benjamin Peterson 9409b4aa8f merge 3.4 2016-07-06 14:00:38 -07:00
Donald Stufft ad04a85aff Switch to the new upload url for PyPI 2016-07-06 16:18:39 -04:00
Donald Stufft 188c118ba5 Switch to the new upload url for PyPI 2016-07-06 15:27:35 -04:00
Serhiy Storchaka 0122ae9ac8 Issue #21708: Deprecated dbm.dumb behavior that differs from common dbm
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.
2016-07-06 12:21:58 +03:00
Terry Jan Reedy 9862b5194d Issue #27452: make command line idle-test> python test_help.py work.
__file__ is relative in this case.
2016-07-05 21:51:56 -04:00
Terry Jan Reedy 5ce1b86b0e Issue #27452: add line counter and crc to IDLE config test dump. 2016-07-05 20:11:37 -04:00
Terry Jan Reedy 2279aeb282 Issue #27452: add line counter and crc to IDLE configHandler test dump. 2016-07-05 20:09:53 -04:00
Terry Jan Reedy 0cd6b97701 Issue 27437: Add query.ModuleName and use it for file => Load Module.
Users can now edit bad entries instead of starting over.
2016-07-03 19:11:13 -04:00
Serhiy Storchaka bae75cf3fe Issue #19527: Fixed tests with defined COUNT_ALLOCS. 2016-07-03 22:30:49 +03:00
Serhiy Storchaka a793037d80 Issue #19527: Fixed tests with defined COUNT_ALLOCS. 2016-07-03 22:27:26 +03:00
Serhiy Storchaka 6c94d10a19 Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
2016-07-03 14:42:17 +03:00
Serhiy Storchaka af65872da2 Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
2016-07-03 14:41:36 +03:00
Serhiy Storchaka 0855e706aa Issue #27007: The fromhex() class methods of bytes and bytearray subclasses
now return an instance of corresponding subclass.
2016-07-01 17:22:31 +03:00
Berker Peksag cf8b42e904 Issue #27431: Merge from 3.5 2016-07-01 12:33:25 +03:00
Berker Peksag 8faca61fec Issue #27431: Update default protocol version in shelve.Shelf() documentation
shelve.open() documentation was updated in f351fb7ea179.
2016-07-01 12:33:00 +03:00
Berker Peksag a9e1ebb780 Issue #27430: Merge from 3.5 2016-07-01 12:17:45 +03:00
Berker Peksag e39682b076 Issue #27430: Fix typos, patch by scop. 2016-07-01 12:17:05 +03:00
Brett Cannon 16cd909daa Merge from 3.5 for issue #26664 2016-06-30 11:43:19 -07:00
Brett Cannon 660c8fc997 Issue #26665: Remove mis-use of ``$`` in activate.fish.
This is a revertion of cfc66e37eb8e.

Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
2016-06-30 11:41:55 -07:00
Serhiy Storchaka ee047e589d Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.
2016-06-30 14:03:21 +03:00
Serhiy Storchaka 15287f8bcc Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.
2016-06-30 13:59:12 +03:00
Martin Panter 34eeed4290 Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase 2016-06-29 10:12:22 +00:00
Yury Selivanov 5eef78b113 Merge 3.5 (asyncio) 2016-06-28 11:00:39 -04:00
Yury Selivanov 63bf487688 asyncio: Use socket specs for getaddrinfo() in sock_connect()
Patch by Martin Richard.  GH PR #365.
2016-06-28 11:00:22 -04:00
Yury Selivanov 7c6b3ea48c Merge 3.5 (asyncio) 2016-06-28 10:55:49 -04:00
Yury Selivanov 77bc04a3bc asyncio: Fix NameError in sslproto _fatal_error()
Patch by Richard Walker.
2016-06-28 10:55:36 -04:00
Serhiy Storchaka 7de2840508 Issue #27352: Fixed an error message in a test. 2016-06-27 23:40:43 +03:00
Larry Hastings c2f2ef8faa Merge from 3.5. 2016-06-26 20:00:51 -07:00
Larry Hastings 1b329e791a Merge. 2016-06-26 19:53:18 -07:00
Terry Jan Reedy 68a53c5d39 Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
SectionName.  These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.
2016-06-26 22:05:10 -04:00
Terry Jan Reedy 754a5c1a1d Merge Update NEWS and idlelib NEWS.text. 2016-06-26 18:22:32 -04:00
Terry Jan Reedy 1e957d145f Update NEWS and idlelib NEWS.text. 2016-06-26 18:20:20 -04:00
Terry Jan Reedy 7c1534141d Issue 27372: Stop test_idle from changing locale, so test passes.
In 3.6, the warning is now called an error, making it harder to ignore.
2016-06-26 17:48:02 -04:00
Serhiy Storchaka b554faddf5 Issue #22115: Updated Misc/NEWS. 2016-06-26 17:47:46 +03:00
Serhiy Storchaka 745a407df8 Issue #22115: Fixed tracing Tkinter variables:
* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:42:23 +03:00
Serhiy Storchaka 8122174af1 Issue #22115: Added methods trace_add, trace_remove and trace_info in the
tkinter.Variable class.  They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
2016-06-26 09:46:57 +03:00
Larry Hastings 27d3529d87 Regenerate pydoc topics for 3.4.5 final. 2016-06-25 14:42:04 -07:00
Larry Hastings 66b84c00c5 Update pydoc topics for 3.5.2 final. 2016-06-25 14:09:37 -07:00
Serhiy Storchaka 6bc87b4b4d Issue #20350. tkapp.splitlist() is now always used instead of unreliable
tkapp.split() in the tkinter package.
2016-06-26 00:09:19 +03:00
Serhiy Storchaka d3af156ded Issue #24137: Fixed IDLE on Linux with tkinter default root disabled. 2016-06-25 23:52:51 +03:00
Serhiy Storchaka 95657cdd40 Issue #26243: Only the level argument to zlib.compress() is keyword argument
now.  The first argument is positional-only.
2016-06-25 22:43:05 +03:00
Brett Cannon 696c35e86b Issue #26186: Remove the restriction that built-in and extension
modules  can't be lazily loaded.

Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.
2016-06-25 10:58:17 -07:00
Brett Cannon da037616b1 Merge from 3.5 2016-06-25 10:50:24 -07:00
Brett Cannon e92dc9c23d Fix a scoping issue where an UnboundLocalError was triggered if a
lazy-loaded module was already in sys.modules.
2016-06-25 10:47:53 -07:00
Raymond Hettinger 650c1c9ddd Minor beautification 2016-06-25 05:36:42 +03:00
Brett Cannon a32c4d0531 Issue #27038: Expose DirEntry as os.DirEntry.
Thanks to Jelle Zijlstra for the code portion of the patch.
2016-06-24 14:14:44 -07:00
Brett Cannon c78ca1e044 Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return
type of __fspath__().

As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
2016-06-24 12:03:43 -07:00
Berker Peksag a67d78e50c Issue #18300: Merge from 3.5 2016-06-24 09:29:21 +03:00
Berker Peksag e495646a97 Issue #18300: Set TERM='' by default in assert_python_* 2016-06-24 09:28:50 +03:00
Berker Peksag 606e5a6efe Merge from 3.5 2016-06-24 08:48:46 +03:00
Berker Peksag 91d53e7b20 Make PyPIRCCommandTestCase derive from a base class
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:

* test_server_registration
* test_server_empty_registration
* test_config_interpolation

This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
2016-06-24 08:48:27 +03:00
Terry Jan Reedy 47e00e5c46 Issue #27365: Finish merge so tests pass. 2016-06-22 05:49:15 -04:00
Terry Jan Reedy ca183efdf4 Issue #27365: revert temporary rename 2016-06-22 04:57:23 -04:00
Terry Jan Reedy 82c4615be0 Issue #27365: add chunk 2016-06-22 04:54:18 -04:00
Terry Jan Reedy df1d34c1b4 Issue #27365: add chunk 2016-06-22 04:50:16 -04:00
Terry Jan Reedy 5deed33e8f Issue #27365: revert temporary rename 2016-06-22 04:32:06 -04:00
Terry Jan Reedy 096c6aae87 Issue #27365: partial merge 2016-06-22 04:24:27 -04:00
Terry Jan Reedy 317c56de6f Issue #27365: temporary rename 2016-06-22 04:21:22 -04:00
Terry Jan Reedy 06a1fcbb00 Issue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names.
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy b8a79ae812 Issue #27365: Merge minimal part. 2016-06-22 03:57:32 -04:00
Terry Jan Reedy 05029d56f4 Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2. 2016-06-22 03:55:20 -04:00
Terry Jan Reedy 6ff7a14b91 Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2. 2016-06-22 03:55:20 -04:00
Terry Jan Reedy b60adc54d4 Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Serhiy Storchaka aacd53f6cb Issue #18726: All optional parameters of the dump(), dumps(),
load() and loads() functions and JSONEncoder and JSONDecoder class
constructors in the json module are now keyword-only.
2016-06-22 00:03:20 +03:00
Berker Peksag 4335437506 Issue #20120: Merge from 3.5 2016-06-20 21:42:05 +03:00
Berker Peksag c529af3fcb Issue #20120: Add a test case to verify the % char can be used in .pypirc
I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
2016-06-20 21:41:34 +03:00
Stefan Krah 8113f490c5 Merge 3.5. 2016-06-20 12:10:42 +02:00
Stefan Krah 6817c59cf0 Issue #27006: from_float(): call the subclass' __new__() and __init__(). 2016-06-20 12:10:13 +02:00
Serhiy Storchaka 9a573a0c23 Added more tests for issue #27122. 2016-06-20 05:30:31 +03:00
Serhiy Storchaka ce1a9f309f Added more tests for issue #27122. 2016-06-20 05:29:54 +03:00
Serhiy Storchaka b84f029baa Issue #27319: Methods selection_set(), selection_add(), selection_remove()
and selection_toggle() of ttk.TreeView now allow to pass multiple items as
multiple arguments instead of passing them as a tuple.  Deprecated
undocumented ability of calling the selection() method with arguments.
2016-06-20 00:05:40 +03:00
Serhiy Storchaka 6c85091b5b Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. 2016-06-19 18:32:07 +03:00
Serhiy Storchaka 5943ea76d5 Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. 2016-06-19 18:30:43 +03:00
Serhiy Storchaka f81a266df9 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 22:09:30 +03:00
Serhiy Storchaka 514f9736a7 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 22:08:11 +03:00
Serhiy Storchaka 9c6c3fb435 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 21:55:26 +03:00
Berker Peksag 45ff4a5487 Issue #27349: Merge from 3.5 2016-06-18 21:43:16 +03:00
Berker Peksag 56fe4749fb Issue #27349: Fix typo in distutils upload command 2016-06-18 21:42:37 +03:00
Serhiy Storchaka 977b3ac1c1 Issue #27177: Match objects in the re module now support index-like objects
as group indices.  Based on patches by Jeroen Demeyer and Xiang Zhang.
2016-06-18 16:48:07 +03:00
Berker Peksag ce4271a3e5 Issue #26536: Skip test_sio_loopback_fast_path under Windows 7 2016-06-18 16:10:07 +03:00
Serhiy Storchaka f95de0e8cc Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:56:16 +03:00
Serhiy Storchaka 9305d83425 Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:53:36 +03:00
Serhiy Storchaka d91e676fd5 Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure. 2016-06-18 09:58:55 +03:00
Serhiy Storchaka 886a5f352f Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure. 2016-06-18 09:58:24 +03:00
Berker Peksag 75a25867ab Issue #27312: Fix TypeError in test_setupapp 2016-06-18 04:18:24 +03:00
Terry Jan Reedy fdb6ef774a Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Steve Dower ea93ac013d Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes. 2016-06-17 12:52:18 -07:00
Steve Dower 99d66f917a Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:33:11 -07:00
Steve Dower 08bb8a41cc Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:32:38 -07:00
Serhiy Storchaka e80b658dbf Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
2016-06-14 22:53:43 +03:00
Serhiy Storchaka cefa9172a2 Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Gregory P. Smith 881aa38972 Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:24:31 -07:00
Gregory P. Smith ba2ecd6841 Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Victor Stinner c206f1eb1c subprocess: enhance ResourceWarning message
* Add the process identifier to the warning message
* Add also a comment to explain the issue
2016-06-14 16:42:59 +02:00
Berker Peksag e0b70cd8a9 Issue #16864: Cursor.lastrowid now supports REPLACE statement
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Martin Panter 34f12d7315 Issue #16182: Merge test_readline from 3.5 2016-06-14 11:31:39 +00:00
Martin Panter a8cadb2243 Issue #16182: One more check for set_pre_input_hook() 2016-06-14 11:29:31 +00:00
Berker Peksag 357be7ccdb Merge from 3.5 2016-06-14 14:19:33 +03:00
Berker Peksag f85bce74db Mark tests as skipped when a SQLite version is not supported 2016-06-14 14:19:02 +03:00
Berker Peksag 7fb468bf3e Merge from 3.5 2016-06-14 13:25:35 +03:00
Berker Peksag 2b50899a28 Remove empty setUp and tearDown methods from sqlite3 tests
They are not used as base classes by another tests so they
can safely be removed.
2016-06-14 13:25:11 +03:00
Serhiy Storchaka 255bbf2d25 Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
2016-06-14 12:39:18 +03:00
Serhiy Storchaka 8e6d09c1cc Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
2016-06-14 12:33:31 +03:00
Martin Panter 6d1d2f229e Issue #16182: Merge readline update from 3.5 2016-06-14 08:49:51 +00:00
Martin Panter 6afbc653a7 Issue #16182: set_pre_input_hook() may not exist; document, and update test 2016-06-14 08:45:43 +00:00
doko@ubuntu.com eea86b0bc0 - Issue #23968: Update distutils/sysconfig.py to look for the renamed
_sysconfigdata module too.
2016-06-14 09:22:16 +02:00
doko@ubuntu.com c8fd1928d0 - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to
one set by the env var PAGER).
2016-06-14 09:03:52 +02:00
doko@ubuntu.com 5553231b91 - Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET).
  Rename the config directory (LIBPL) from config-$(LDVERSION) to
  config-$(LDVERSION)-$(PLATFORM_TRIPLET).
  Install the platform specifc _sysconfigdata module into the platform
  directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
doko@ubuntu.com 965754521e - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to
one set by the env var PAGER).
2016-06-14 08:39:31 +02:00
Martin Panter 8e4b7ac7fe Issue #16182: Merge test_readline from 3.5 2016-06-14 05:46:17 +00:00
Martin Panter 056f76d978 Issue #16182: Attempted workarounds for Apple Editline 2016-06-14 05:45:31 +00:00
Terry Jan Reedy 5cd6ea44bf Issue #27245: revert temporary rename 2016-06-14 00:55:09 -04:00
Terry Jan Reedy d34bafa970 Merge with 3.5 2016-06-14 00:53:41 -04:00
Terry Jan Reedy cdd3a99106 Issue #27245: temporary rename for merge. 2016-06-14 00:53:30 -04:00
Terry Jan Reedy ec84417ce8 Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted.  Patch by Serhiy Storchaka.
2016-06-14 00:53:25 -04:00
Martin Panter bd305e497f Issue #22636: Merge ctypes.util from 3.5 2016-06-14 04:31:14 +00:00
Martin Panter e1b3431cef Issue #22636: Handle OSError from subprocess, e.g. if command not found 2016-06-14 04:08:30 +00:00
Ned Deily ed80db5784 Merge 3.6.0a2 releasing branch into default 2016-06-13 23:55:33 -04:00
Martin Panter 1db314bd5c Issue #22636: Merge ctypes.util shell injection fixes from 3.5 2016-06-14 02:59:21 +00:00