Serhiy Storchaka
465e60e654
Issue #22033 : Reprs of most Python implemened classes now contain actual
...
class name instead of hardcoded one.
2014-07-25 23:36:00 +03:00
Tal Einat
2e4394ee0d
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:41:14 +03:00
Tal Einat
9b7f9e6c5a
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:33:36 +03:00
Terry Jan Reedy
24fb2d4012
Merge with 3.4
2014-07-14 23:07:47 -04:00
Terry Jan Reedy
cfa8950aab
Issue #21982 : Add minimal unittest for configDialog with 46% coverage.
...
Fix regression that this test would have caught.
2014-07-14 23:07:32 -04:00
Terry Jan Reedy
e0a9a0156e
Merge with 3.4
2014-07-13 17:27:41 -04:00
Terry Jan Reedy
5283c4e108
Issue #18592 : Method return signature changes made to SearchDialogBase for
...
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
2014-07-13 17:27:26 -04:00
Terry Jan Reedy
8934961da8
Merge with 3.4
2014-07-11 00:37:31 -04:00
Terry Jan Reedy
3740d589f7
Issue #18592 : Make unittest for SearchDialogBase work on all tk versions.
2014-07-11 00:37:14 -04:00
Terry Jan Reedy
55740d73b3
Merge with 3.4
2014-07-11 00:16:16 -04:00
Terry Jan Reedy
223dd8d7d2
#21940 : Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
2014-07-11 00:16:00 -04:00
Terry Jan Reedy
f6e9f36e54
Merge with 3.4
2014-07-10 01:17:11 -04:00
Terry Jan Reedy
7cca28ffa2
Issue #21940 : add docstrings to idlelib.WidgetRedirector.
2014-07-10 01:16:49 -04:00
Terry Jan Reedy
5e456973a5
Merge with 3.4
2014-07-01 21:33:46 -04:00
Terry Jan Reedy
092b3cf671
More idlelib cleanup inspired by pyflakes.
2014-07-01 21:33:31 -04:00
Terry Jan Reedy
062bc1de19
Merge with 3.4
2014-07-01 18:52:53 -04:00
Terry Jan Reedy
44f09ebd0f
Delete a few unused names suggested by pyflakes.
2014-07-01 18:52:37 -04:00
Terry Jan Reedy
3c8ae8447e
Merge with 3.4
2014-06-30 23:52:32 -04:00
Terry Jan Reedy
8cefd08943
Issue #18592 : Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
...
to remove duplication and return info for tests. Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons. Use Python subscripting to get widget options.
2014-06-30 23:52:20 -04:00
Terry Jan Reedy
2e9e6c7644
Merge with 3.4
2014-06-30 20:00:16 -04:00
Terry Jan Reedy
525168bd74
Issue #18592 : Add unittests for SearchDialogBase. Patch by Phil Webster.
2014-06-30 20:00:03 -04:00
Terry Jan Reedy
d6dd534924
Merge with 3.4
2014-06-26 01:41:06 -04:00
Terry Jan Reedy
ede05736cf
Issue #18592 : For idlelib.SearchDialogBase, edit and add docstrings,
...
move two functions next to the functions that use them.
2014-06-26 01:40:51 -04:00
Terry Jan Reedy
1b1fe97e95
Merge with 3.4
2014-06-17 16:35:33 -04:00
Terry Jan Reedy
14fbe72777
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:20 -04:00
Terry Jan Reedy
35a1fb1fba
Merge with 3.4
2014-06-16 19:01:14 -04:00
Terry Jan Reedy
10b1c7cc8f
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
2014-06-16 19:01:01 -04:00
Terry Jan Reedy
9bec397df9
Merge with 3.4
2014-06-16 02:40:39 -04:00
Terry Jan Reedy
d0c1ea42f7
whitespace
2014-06-16 02:40:24 -04:00
Terry Jan Reedy
9b1df38d56
Merge with 3.4
2014-06-16 02:33:56 -04:00
Terry Jan Reedy
3e583307ab
Issue #21686 : idlelib/HyperParser.py - Update docstrings and comments and
...
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
2014-06-16 02:33:35 -04:00
Terry Jan Reedy
2d8d9d57b5
Merge with 3.4
2014-06-12 01:03:35 -04:00
Terry Jan Reedy
f54432e2a1
Issue #12387 : Add missing upper(lower)case versions of default Windows key
...
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
2014-06-12 01:03:08 -04:00
Terry Jan Reedy
eb5ba067c9
Merge with 3.4
2014-06-10 02:49:54 -04:00
Terry Jan Reedy
4762382d63
Issue #21695 : Catch AttributeError created when user closes grep output window
...
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.
2014-06-10 02:49:35 -04:00
Terry Jan Reedy
564562faab
Merge with 3.4 whitespace
2014-06-08 14:57:42 -04:00
Terry Jan Reedy
c6a66ccb06
whitespace
2014-06-08 14:57:24 -04:00
Terry Jan Reedy
7244d775db
Merge with 3.4
2014-06-07 04:28:16 -04:00
Terry Jan Reedy
38ebdf528e
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:50 -04:00
Terry Jan Reedy
f2d9526391
Merge with 3.4
2014-06-06 17:43:37 -04:00
Terry Jan Reedy
4a3f135c8d
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:19 -04:00
Terry Jan Reedy
cbd619bd6a
Merge with 3.4
2014-06-05 03:54:21 -04:00
Terry Jan Reedy
7be121f2bc
whitespace
2014-06-05 03:54:02 -04:00
Terry Jan Reedy
7497ec0fd0
Merge heads from 3.4.
2014-06-05 03:45:08 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
13f4aba10b
merge from 3.4
2014-06-04 20:54:43 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Terry Jan Reedy
24330ffb4d
Merge with 3.4
2014-06-03 20:57:15 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Zachary Ware
e7e1375e57
Issue #18492 : Merge with 3.4
2014-06-02 16:04:25 -05:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Terry Jan Reedy
d3e50be6d0
Merge with 3.4
2014-06-01 00:30:55 -04:00
Terry Jan Reedy
078b8a81b1
Issue #21477 : Update htest docstring and remove extraneous differences between
...
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:34 -04:00
Terry Jan Reedy
679a2feb80
Merge with 3.4
2014-05-29 01:46:48 -04:00
Terry Jan Reedy
2e8234a597
Issue #21477 : Add htests for GrepDialog, UndoDelegator, and configDialog.
...
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:26 -04:00
Terry Jan Reedy
1086fb0947
Merge with 3.4
2014-05-27 03:31:32 -04:00
Terry Jan Reedy
0a4d13e87e
Issue #21477 : Add htests for Search and Replace dialogs.
...
Patch by Saimadhav Heblikar.
2014-05-27 03:30:54 -04:00
Terry Jan Reedy
c738874024
Merge with 3.4
2014-05-25 18:44:28 -04:00
Terry Jan Reedy
a2fc99ecea
Issue #21477 : Idle htest: modify run; add more tests.
...
Patch by Saimadhav Heblikar. 2.7 version will follow.
2014-05-25 18:44:05 -04:00
Terry Jan Reedy
e84d26c61b
Merge with 3.4
2014-05-24 18:48:45 -04:00
Terry Jan Reedy
1b392ffe67
Issue #21477 : Idle htest: merge and modify run and runall; add many tests.
...
Patch by Saimadhav Heblikar
2014-05-24 18:48:18 -04:00
Terry Jan Reedy
92ab9a183c
Merge with 3.4
2014-05-19 22:55:59 -04:00
Terry Jan Reedy
b7b56e9110
merge heads
2014-05-19 22:54:58 -04:00
Terry Jan Reedy
ab4fd4448a
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:10 -04:00
Larry Hastings
5c26a8afbb
Version bump for 3.4.1.
2014-05-17 21:46:35 -07:00
Larry Hastings
3a260d228b
Merge.
2014-05-17 21:05:10 -07:00
Terry Jan Reedy
b96ebd4f9d
Merge with 3.4
2014-05-15 20:50:30 -04:00
Terry Jan Reedy
6936159dcd
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:50:10 -04:00
Terry Jan Reedy
d9ee1f50e5
Merge with 3.4
2014-05-11 23:35:35 -04:00
Terry Jan Reedy
8386fda154
whitespace
2014-05-11 23:35:09 -04:00
Terry Jan Reedy
f80c0f6eac
Merge with 3.4
2014-05-11 23:32:58 -04:00
Terry Jan Reedy
06313b79d5
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Larry Hastings
95e0b0d1d0
Version bump for 3.4.1rc1.
2014-05-04 05:06:24 -07:00
Terry Jan Reedy
29c47776dd
Merge with 3.4
2014-04-22 01:27:06 -04:00
Terry Jan Reedy
9573638c2d
Issue #21138 : Change default reformat paragraph width to PEP 8's 72.
2014-04-22 01:26:41 -04:00
Terry Jan Reedy
f16fa11d29
Merge with 3.4
2014-04-22 01:11:49 -04:00
Terry Jan Reedy
d5d4c4eabe
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:11:03 -04:00
Ned Deily
c318288f69
Issue #17654 : merge from 3.4
2014-03-27 20:51:15 -07:00
Ned Deily
b7601676b0
Issue #17654 : Ensure IDLE menus are customized properly on OS X for
...
non-framework builds and for all variants of Tk.
2014-03-27 20:49:14 -07:00
Larry Hastings
f5002bd6ac
Version bump to 3.5, step 2.
2014-03-16 23:05:59 -07:00
Larry Hastings
3c5c56f3c0
Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1.
2014-03-16 22:54:05 -07:00
Larry Hastings
cf1a3cd2c7
Release bump for 3.4.0 final.
2014-03-15 22:34:24 -07:00
Larry Hastings
d5c59763ad
Version bump for 3.4.0rc3.
2014-03-09 04:13:05 -07:00
Terry Jan Reedy
78c330d714
Merge with 3.3
2014-02-27 18:48:13 -05:00
Terry Jan Reedy
9db1ab8250
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:49 -05:00
Terry Jan Reedy
a9daee3eb0
Merge with 3.3
2014-02-23 00:37:46 -05:00
Terry Jan Reedy
c3111fcbc7
Issue #20730 : Fix typo reported by Claudiu Popa.
2014-02-23 00:37:16 -05:00
Ezio Melotti
48eabbeffd
#20634 : merge with 3.3.
2014-02-15 13:01:41 +02:00
Ezio Melotti
f4e998364e
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Larry Hastings
3f99504c08
Merge Python 3.4.0rc1 release branch.
2014-02-11 00:15:46 -08:00
Larry Hastings
e9f73ac1fd
Python 3.4.0rc1: Version bump.
2014-02-10 14:45:05 -08:00
Terry Jan Reedy
b825a3937c
Issue #20167 : Add missing else: break in 3 places as noticed by Serhiy.
2014-02-10 16:46:28 -05:00
Georg Brandl
d8413bab22
merge with 3.3
2014-02-10 22:11:21 +01:00
Georg Brandl
f0560d9592
Fix trailing whitespace.
2014-02-10 22:05:16 +01:00
Georg Brandl
8f9c20b8ff
merge with 3.3.4 releasing repo
2014-02-10 22:04:20 +01:00
Larry Hastings
f34177a6f9
Version bump for Python 3.4.0rc2.
2014-02-23 02:18:24 -06:00
Georg Brandl
b38b5c43c7
merge with 3.3
2014-02-10 22:11:21 +01:00
Terry Jan Reedy
c03027054d
Issue #20406 : Use Python application icons for Idle window title bars.
...
Patch mostly by Serhiy Storchaka.
2014-02-08 09:05:20 -05:00
Terry Jan Reedy
a7c07d320b
Issue #20406 : Use Python application icons for Idle window title bars.
...
Patch mostly by Serhiy Storchaka.
2014-02-08 09:02:26 -05:00
Terry Jan Reedy
57e4127781
Issue #20167 : Suppress 3.4 specific 'Exception ignored' messages.
...
Original patch by Tal Einat.
2014-02-08 04:47:29 -05:00
Georg Brandl
c81402527a
Bump to 3.3.4 final
2014-02-09 08:43:05 +01:00
Terry Jan Reedy
2315779c5e
Update the python.gif icon for the Idle classbrowser and pathbowser
...
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:14:59 -05:00
Terry Jan Reedy
c8d9e0e932
Update the python.gif icon for the Idle classbrowser and pathbowser
...
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:08:33 -05:00
Terry Jan Reedy
d67650e241
Merge with 3.3
2014-01-28 23:14:12 -05:00
Terry Jan Reedy
1e40295af6
Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and
...
which are at least as efficient. On Py3, unpacking exceptions never works.
2014-01-28 23:13:45 -05:00
Larry Hastings
581ee3618c
Issue #20326 : Argument Clinic now uses a simple, unique signature to
...
annotate text signatures in docstrings, resulting in fewer false
positives. "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.
Issue #20326 : Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
2014-01-28 05:00:08 -08:00
Larry Hastings
23105d8014
Merge.
2014-01-26 22:28:06 -08:00
Terry Jan Reedy
908669bdb3
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:27:38 -05:00
Terry Jan Reedy
91d4278fba
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:26 -05:00
Terry Jan Reedy
0c5b5d4571
Merge with 3.3
2014-01-26 21:35:22 -05:00
Terry Jan Reedy
1b759bc49e
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:33 -05:00
Terry Jan Reedy
76964877e3
White space and merge cleanup.
2014-01-26 20:24:35 -05:00
Terry Jan Reedy
0902ce437d
Merge with 3.3
2014-01-26 20:17:48 -05:00
Terry Jan Reedy
ddc5758885
Merge heads.
2014-01-26 20:16:53 -05:00
Terry Jan Reedy
e2d9b39dd4
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 20:08:26 -05:00
Terry Jan Reedy
a0f1e22068
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:34 -05:00
Larry Hastings
2d8e1e4f07
Version bump for 3.4.0b3.
2014-01-26 00:48:23 -08:00
Eric Snow
6029e08691
Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
...
The function is also moved to importlib.util.
2014-01-25 15:32:46 -07:00
Georg Brandl
18f2ce9e7d
Bump to 3.3.4rc1.
2014-01-25 09:19:50 +01:00
Georg Brandl
12e18c3d01
Update IDLE news from Misc/NEWS.
2014-01-25 09:19:36 +01:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Terry Jan Reedy
8860443749
Merge with 3.3
2014-01-23 00:39:11 -05:00
Terry Jan Reedy
94338de49b
Issue #17390 : Add Python version to Idle editor window title bar.
...
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:46 -05:00
Terry Jan Reedy
45726d3011
Merge with 3.3
2014-01-21 21:13:25 -05:00
Terry Jan Reedy
0e3b0e397e
Issue #20818 : Remove code from idlelib.CallTipWindow.showtip that is now
...
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
2014-01-21 21:12:24 -05:00
Terry Jan Reedy
3f440de7d3
Merge with 3.3
2014-01-21 20:45:38 -05:00
Terry Jan Reedy
d5710f8b36
Issue #16638 : Include up to 5 docstring header lines (before first blank) in
...
Idle calltips. This is needed for builtins, such bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:17 -05:00
Terry Jan Reedy
502d80f8b4
Merge with 3.3
2014-01-21 15:37:16 -05:00
Terry Jan Reedy
715476d8e3
Issue #16630 : Make Idle calltips work even when __getattr__ raises.
...
Initial patch by Roger Serwy.
2014-01-21 15:36:51 -05:00
Terry Jan Reedy
781a5441ae
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
...
Pending Clinic/inspect changes will probably require change to this file.
2014-01-21 03:10:01 -05:00
Terry Jan Reedy
eed1661b47
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
2014-01-21 03:07:51 -05:00
Terry Jan Reedy
83b8105c64
Merge with 3.3
2014-01-21 00:26:49 -05:00
Terry Jan Reedy
681ede8b0a
Issue #20122 : Idlelib: Move tests in CallTips.py to test_calltips.py.
2014-01-21 00:26:21 -05:00
Serhiy Storchaka
7282ff6d5b
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:41:59 +02:00
Serhiy Storchaka
768c16ce02
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:36:09 +02:00
Eric Snow
02b9f9d6bb
Remove more usage of APIs deprecated by PEP 451.
2014-01-06 20:42:59 -07:00
Larry Hastings
a6c55232ab
Bump version number for 3.4.0b2.
2014-01-05 04:40:25 -08:00
Serhiy Storchaka
a7a4b4916f
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:27:16 +02:00
Serhiy Storchaka
0fd557647d
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:24:35 +02:00
Ned Deily
e72b90eb7a
Issue #18270 : merge from 3.3
2013-12-10 16:32:57 -08:00
Ned Deily
f3c6589ea3
Issue #18270 : Prevent possible IDLE AttributeError on OS X when no initial
...
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:24:01 -08:00
Serhiy Storchaka
0ed6c4ae62
Issue #19481 : print() of string subclass instance in IDLE no more hangs.
2013-12-10 10:06:35 +02:00
Serhiy Storchaka
9df8a1c112
Issue #19481 : print() of string subclass instance in IDLE no more hangs.
2013-12-10 10:05:19 +02:00
Larry Hastings
7e611dab4a
Bump version number to 3.4.0b1.
2013-11-24 06:59:35 -08:00
Georg Brandl
9e2043a561
Bump to 3.3.3 final.
2013-11-17 07:58:22 +01:00
Georg Brandl
4cf9b2047d
Bump to 3.3.3rc2.
2013-11-11 06:13:54 +01:00
Georg Brandl
2d34f41bee
Bump to 3.3.3rc1.
2013-10-27 09:22:59 +01:00
Larry Hastings
bd61c3ae1f
Version bump for 3.4.0a4.
2013-10-20 02:01:29 -07:00
Larry Hastings
44719a7717
Version bump to 3.4.0a3.
2013-09-28 23:51:00 +01:00
Serhiy Storchaka
935349406a
Issue #18873 : The tokenize module, IDLE, 2to3, and the findnocoding.py script
...
now detect Python source code encoding only in comment lines.
2013-09-16 23:57:00 +03:00