Ned Deily
6aaa03a901
Issue #15678 : Fix menu customization for IDLE started from OS X
...
command lines. It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for #15307 . Since sys.executable no
longer includes 'Python.app' in the path name, test for a
framework build instead. This should give the previous behavior
in nearly all cases. Whether the previous behavior is sensible
is left as an issue for later releases. IDLE.app behavior was
not affected as it does its own manipulation of sys.executable.
2012-08-17 13:22:30 -07:00
Georg Brandl
1b94ab79a9
Bump to 3.3b2.
2012-08-11 08:49:20 +02:00
Andrew Svetlov
fa556bd75c
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:42:48 +03:00
Andrew Svetlov
5ad514d281
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:38:22 +03:00
Andrew Svetlov
233f6845b3
Issue #9803 : Don't close IDLE on saving if breakpoint is open.
...
Patch by Roger Serwy.
2012-07-31 19:49:38 +03:00
Andrew Svetlov
06c5c6d694
Issue #9803 : Don't close IDLE on saving if breakpoint is open.
...
Patch by Roger Serwy.
2012-07-31 19:48:00 +03:00
Ned Deily
eb00d09718
Issue #14018 : merge
2012-07-30 03:38:02 -07:00
Ned Deily
c556c64405
Issue #14018 : Update the OS X IDLE Tcl/Tk warning check to include
...
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
2012-07-30 03:31:21 -07:00
Martin v. Löwis
099414875b
merge 3.2
2012-07-25 11:33:02 +02:00
Martin v. Löwis
30d5e6c13f
Issue #7163 : Propagate return value of sys.stdout.write.
...
Patch by Roger Serwy.
2012-07-25 11:32:26 +02:00
Martin v. Löwis
f4b341b0e6
merge 3.2
2012-07-25 10:49:32 +02:00
Martin v. Löwis
c882b7c51a
Issue #15318 : Prevent writing to sys.stdin.
...
Patch by Roger Serwy and myself.
2012-07-25 10:47:20 +02:00
Martin v. Löwis
67097fd592
Use _RPCFile.write properly.
2012-07-11 09:17:15 +02:00
Martin v. Löwis
c27616580d
Don't use TextIOBase implementations in _RPCFile.
2012-07-11 08:48:34 +02:00
Martin v. Löwis
8a75bed317
Issue #15319 : Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
2012-07-11 08:29:03 +02:00
Ned Deily
c65ef9bf55
Issue #4832 : Modify IDLE to save files with .py extension by
...
default on Windows and OS X as it already does with X11 Tk.
2012-07-09 18:16:11 -07:00
Martin v. Löwis
fa0989fd38
merge 3.2
2012-07-11 09:17:54 +02:00
Martin v. Löwis
ff40aa7b34
merge 3.2
2012-07-11 08:49:24 +02:00
Martin v. Löwis
9ba4545f97
merge 3.2
2012-07-11 08:29:55 +02:00
Martin v. Löwis
7df5e5858b
merge 3.2
2012-07-09 20:53:03 +02:00
Martin v. Löwis
1d0f6dd7db
normalize whitespace
2012-07-09 20:52:40 +02:00
Martin v. Löwis
79007fa05d
merge 3.2
2012-07-09 20:48:56 +02:00
Martin v. Löwis
9ae3f7a189
Issue #13532 : Check that arguments to sys.stdout.write are strings.
2012-07-09 20:46:11 +02:00
Terry Jan Reedy
cc4cffb8fa
Merge with 3.2 Issue 12510
2012-07-09 00:15:14 -04:00
Terry Jan Reedy
44dea9d03f
Issue 12510: Delete actual first param name for all methods; revise tests.
2012-07-09 00:13:21 -04:00
Georg Brandl
d08cec6d62
Bump version to 3.3.0b1.
2012-06-26 09:43:40 +02:00
Martin v. Löwis
474eb23b7f
merge 3.2
2012-06-14 15:37:53 +02:00
Martin v. Löwis
993fe3f035
Issue #14937 : Fix typo. Patch by Roger Serwy.
2012-06-14 15:37:21 +02:00
Terry Jan Reedy
571ee57695
Merge from 3.2, #12510
2012-06-07 20:04:17 -04:00
Terry Jan Reedy
2a2ce4f673
Issue #12510 : Revise and triple # of calltip tests, with an eye to unittest
...
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass. Add and fix NEWS entries.
2012-06-07 19:41:04 -04:00
Martin v. Löwis
f20940792d
merge 3.2
2012-06-03 12:33:23 +02:00
Martin v. Löwis
9f44a66abc
PEP 3131: support non-ASCII characters in auto-completion of identifiers.
2012-06-03 12:32:42 +02:00
Martin v. Löwis
97aa21b46a
Do not try to insert control characters.
2012-06-03 12:26:09 +02:00
Martin v. Löwis
428d161b57
Drop unused constant.
2012-06-03 12:03:29 +02:00
Martin v. Löwis
156989aa79
Merge 3.2: issue #14937 .
2012-06-03 12:00:48 +02:00
Martin v. Löwis
862d13a30f
Issue #14937 : Perform auto-completion of filenames in strings even for non-ASCII filenames.
2012-06-03 11:55:32 +02:00
Terry Jan Reedy
a317eef897
Merge with 3.2 #12510
2012-06-03 01:06:38 -04:00
Terry Jan Reedy
e606e238ab
Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
...
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:27:54 -04:00
Terry Jan Reedy
361baaddcf
Merge with 3.2 #10365
2012-06-02 20:24:21 -04:00
Terry Jan Reedy
a948c79ad4
Issue 10365: Add and replace comments; condense defaulted attribute access.
...
Code patch by Roger Serwy.
2012-06-02 20:22:58 -04:00
Ned Deily
d3487be876
Issue #14962 : merge
2012-05-31 09:58:08 -07:00
Ned Deily
8b2a56b89d
Issue #14962 : Update text coloring in IDLE shell window after changing
...
options. Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Georg Brandl
f0397b9953
Bump version to 3.3.0a4.
2012-05-30 22:04:31 +02:00
Ned Deily
5e92a1ef5a
Issue #14958 : Change IDLE systax highlighting to recognize all string and
...
byte literals supported in Python 3.3.
2012-05-29 22:55:43 -07:00
Ned Deily
01d63a6e06
Issue #10997 : merge from 3.2
2012-05-29 10:51:38 -07:00
Ned Deily
3aee9416a0
Issue #10997 : Prevent a duplicate entry in IDLE's "Recent Files" menu.
2012-05-29 10:43:36 -07:00
Terry Jan Reedy
c6aa93cf22
Merge 3.2 #14929
2012-05-27 23:06:14 -04:00
Terry Jan Reedy
e1c5087802
Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
...
Patch by Roger Serwy.
2012-05-27 22:56:49 -04:00
Terry Jan Reedy
48fd1fee38
Merge 3.2 closes #12510
2012-05-27 21:39:39 -04:00
Terry Jan Reedy
c5301ef2df
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
...
Original patch by Roger Serwy.
2012-05-27 21:29:17 -04:00
Terry Jan Reedy
f1ee7886f3
Merge with 3.2 #10635 whitespace
2012-05-26 20:44:45 -04:00
Terry Jan Reedy
3fde191f39
#10365 Trim trailing whitespace
2012-05-26 20:43:17 -04:00
Terry Jan Reedy
935d5eb43f
Merge with 3.2
...
Issue #10365 : File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:29:25 -04:00
Terry Jan Reedy
cd6b8c67ce
Issue #10365 : File open dialog now works instead of crashing
...
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:23:45 -04:00
Terry Jan Reedy
1a0df94db3
Merge Issue #14876 : Use user-selected font for highlight configuration.
...
Patch by Roger Serwy.
2012-05-26 16:50:30 -04:00
Terry Jan Reedy
809309a482
Issue #14876 : Use user-selected font for highlight configuration.
...
Patch by Roger Serwy.
2012-05-26 16:31:00 -04:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00
Brett Cannon
cb66eb0dec
Issue #13959 : Deprecate imp.get_suffixes() for new attributes on
...
importlib.machinery that provide the suffix details for import.
The attributes were not put on imp so as to compartmentalize
everything importlib needs for setting up imports in
importlib.machinery.
This also led to an indirect deprecation of inspect.getmoduleinfo() as
it directly returned imp.get_suffix's returned tuple which no longer
makes sense.
2012-05-11 12:58:42 -04:00
Martin v. Löwis
7f9d181d56
Include micro version even if it is 0.
2012-05-01 16:31:18 +02:00
Georg Brandl
ab0ef20663
Bump to 3.3.0a3.
2012-05-01 09:35:18 +02:00
Victor Stinner
fe98e2fc83
Issue #14428 : Use the new time.perf_counter() and time.process_time() functions
...
* Replace "time.clock on windows, or time.time" with time.perf_counter()
* profile module: only use time.process_time() instead of trying different
functions providing the process time
* timeit module: use time.perf_counter() by default, time.time() and
time.clock() can still be used using --time and --clock options
* pybench program: use time.perf_counter() by default, add support for
the new time.process_time() and time.perf_counter() functions, but stay
backward compatible. Use also time.get_clock_info() to display information
of the timer.
2012-04-29 03:01:20 +02:00
Brett Cannon
aef82d3d1e
IDLE was relying on implicit relative imports which have gone away in
...
Python 3.3 thanks to importlib finishing the work in PEP 328 that
accidently got carried forward.
2012-04-14 20:44:23 -04:00
Georg Brandl
a51497ab86
Merge 3.2.3 release clone.
2012-04-11 12:46:24 +02:00
Georg Brandl
44036016b9
Bump to 3.2.3 final.
2012-04-10 19:28:09 +02:00
Andrew Svetlov
dfe980bb82
Issue #8515 : Set __file__ when run file in IDLE.
2012-04-05 21:54:39 +03:00
Andrew Svetlov
73d2da4209
Merge from 3.2
2012-04-05 17:04:28 +03:00
Andrew Svetlov
1024541a0d
Issue #14496 : Fix wrong name in idlelib/tabbedpages.py.
...
Patch by Popa Claudiu.
2012-04-05 16:58:05 +03:00
Georg Brandl
50af011ca6
Bump to 3.3.0a2.
2012-04-01 13:49:21 +02:00
Andrew Svetlov
78a0f208cc
Merge from 3.2
2012-03-31 14:20:19 +03:00
Andrew Svetlov
f3c297675d
update NEWS as Terry Reedy proposed
2012-03-31 14:10:10 +03:00
Andrew Svetlov
d3cebd790d
Merge with 3.2
2012-03-29 19:50:46 +03:00
Andrew Svetlov
67ac079203
Issue #14409 : IDLE doesn't not execute commands from shell with default keybinding for <Return>.
...
Patch by Roger Serwy.
2012-03-29 19:01:28 +03:00
Éric Araujo
1641bb7669
Fix typo
2012-03-26 23:35:31 -04:00
Andrew Svetlov
a5cf6c4913
Update missed idlelib/NEWS.txt
2012-03-26 22:14:13 +03:00
Andrew Svetlov
d543f2b8b0
IDLE can be launched as python -m ildelib
2012-03-26 22:11:46 +03:00
Andrew Svetlov
753445a425
Issue #989712 : update the code to process tkinter messages in IDLE
...
without mainloop.
Thanks to Roger Serwy for patch.
2012-03-26 21:56:44 +03:00
Andrew Svetlov
cd49d53238
Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as subprecess.
2012-03-25 11:43:02 +03:00
Andrew Svetlov
206d2a43a3
Merge from 3.2 for issue #3573 , fix Misc/NEWS as Ned Deily guess.
2012-03-21 13:31:12 +02:00
Andrew Svetlov
0f71f44156
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
...
Patch by Guilherme Polo.
2012-03-21 13:23:41 +02:00
Andrew Svetlov
6b6e437626
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
...
Patch by Guilherme Polo.
2012-03-20 23:03:26 +02:00
Georg Brandl
3187749646
Merge 3.2.3rc2 from release clone.
2012-03-18 20:37:43 +01:00
Georg Brandl
226af70a59
Bump to 3.2.3rc2.
2012-03-18 07:34:49 +01:00
Andrew Svetlov
05bab93339
Issue #14200 : Idle shell crash on printing non-BMP unicode character.
...
UnicodeEncodeError is raised for strings contains non-BMP characters.
For eval results unicode escaping is used, print() calls display
exception with traceback as usual.
2012-03-14 13:22:12 -07:00
Andrew Svetlov
a2251aadaa
Issue #989712 : Support using Tk without a mainloop.
2012-03-13 18:36:13 -07:00
Martin v. Löwis
eb945a938d
Issue #5219 : Prevent event handler cascade in IDLE.
...
Patch by Roger Serwy.
2012-03-13 14:32:29 -07:00
Martin v. Löwis
ee381a0c36
Issue #5219 : Prevent event handler cascade in IDLE.
...
Patch by Roger Serwy.
2012-03-13 14:18:36 -07:00
Georg Brandl
6c8850d94d
Bump to 3.3.0a1.
2012-03-04 16:23:53 +01:00
Georg Brandl
afe05bd494
Bump version to 3.2.3rc1.
2012-02-23 21:14:12 +01:00
Terry Jan Reedy
ea4afbb6bc
Merge with 3.2 #964437
2012-02-05 15:24:39 -05:00
Terry Jan Reedy
e91e7637bb
Issue 964437 Make IDLE help window non-modal.
...
Patch by Guilherme Polo and Roger Serwy.
2012-02-05 15:14:20 -05:00
Terry Jan Reedy
d8d2c984d3
Merge with 3.2
...
#13933 refine patch using 'new' builtin
2012-02-05 14:32:37 -05:00
Terry Jan Reedy
a77aa69870
#13933 refine patch using 'new' builtin
2012-02-05 14:31:16 -05:00
Ned Deily
08d052ac5a
Issue #13933 : merge
2012-02-04 18:38:10 +01:00
Ned Deily
ed3b867f33
Issue #13933 : IDLE auto-complete did not work with some imported
...
module, like hashlib. (Patch by Roger Serwy)
2012-02-04 18:36:43 +01:00
Terry Jan Reedy
5d605c2861
Merge with 3.2 whitespace
2012-01-31 02:58:39 -05:00
Terry Jan Reedy
4d82ade424
whitespace
2012-01-31 02:57:29 -05:00
Terry Jan Reedy
f8672bec68
Merge 3.2
...
- Issue #13506 : Add '' to path for IDLE Shell when started and restarted with Restart Shell.
Original patches by Marco Scataglini and Roger Serwy.
Merge 3.2 #13506 Add '' to path for interactive interpreter by adding with_cwd
parameter to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:42:19 -05:00
Terry Jan Reedy
da4c467210
#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
...
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:26:32 -05:00
Terry Jan Reedy
b5a6deb26c
Merge with 3.2 #6528 None, True, False are keywords in 3.x. Patch by R. Serwy.
2012-01-16 03:22:33 -05:00
Terry Jan Reedy
dc224f82c0
#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.
2012-01-16 03:20:27 -05:00