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
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