For instance, on Win 7, './ lists options in the current directory. The latter pair work within path strings when the preceding chars begin a path that exist on your system. Names that follow, before '=', become pseudoevents handles by methods in theĪlessandro, you said works, does not. cfgBindings can be (sensibly) reconfigured, the others not. Notes: f is initially opened and generically processed in various methods of configHandler.IdleConf, and on request, the config-extentions section of EditorWindow.py. Here is the complete config for completions. Tal, can you reproduce this issue when using ActiveTcl 8.5.18? Perhaps someone could try to reduce it to smaller test case I will likely not have time to work on it myself for the immediate future. Lib/idlelib/AutoComplete.py Lib/idlelib/AutoCompleteWindow.py Kevin, I think that Autocomplete is implemented as an IDLE extension in: I am a Community User, so I can't access prior builds of ActiveTcl, and I am no where near competent enough to build up a framework.
#NEWEST VERSION OF ACTIVETCL FOR MAC CODE#
Where in the IDLE source code tree is this code housed? Is it possible to provide a Python script that reproduces the issue? Unfortunately, I'm not going to have much time for the immediate future to shepherd that activity. And it would be even better to have a pure Tcl/Tk test case using wish so that Python is not a factor. It might help to file an issue with ActiveState ( ) and/or on the Tk issue tracker ( ).
So it should first be established whether this problem still exists with current trunk of 8.5.x (for that's what the OS X installers link with) and, if so, try to get a new version of ActiveTcl 8.5.x released. You *could* also remove 8.5.18 and fall back to the Apple-supplied system Tcl/Tk 8.5.9 but I would strongly recommend not doing that as that version has critical problems, most notably the bug that causes Tk to crash (and, thus, crash IDLE with no opportunity for saving work) by typing multi-character compose codes in text boxes (like option-u on US keyboard layouts). Or, if you feel up to building your own framework version of 8.5.17, you could try that.
#NEWEST VERSION OF ACTIVETCL FOR MAC INSTALL#
I'm cc-ing Kevin here perhaps this will look familiar.Īs workarounds, if you have access to ActiveTcl 8.5.17, you could install that. I know that Kevin Walzer added a lot of fixes to the native OS X version of Tk that were first released with 8.6.4 and 8.5.18 and I think there have been additional fixes since then but are not yet in an official Tcl/Tk release. The autocomplete popups seem to work fine with the previous OS X release of ActiveTcl 8.5 (8.5.17) and with a MacPorts +quartz build of Tcl/Tk 8.6.3. Taking a quick look at it, it appears that the problem was introduced with the most recently releases of ActiveTcl on OS X, 8.5.18 and 8.6.4. I really like IDLE but it is hard for me to use without this functionality. I am somewhat new to Python, and I often rely on the autocomplete tips to remind me of what I need to do or what methods are available for an object. Is there any known issues or is there a workaround? Do I possibly need to add or change the new Tk path somewhere so that IDLE can find what it needs to popup autocomplete? Is there a way that I can initiate IDLE Autocomplete and Call Tips during the coding session to manually get them to work? I reinstalled them, reloaded all packages, and Autocomplete and call tips still are not popping up. I tried to redo everything by deleting all instances of Python from my drive. This is both in the IDLE Shell and Editor windows. Pressing -Spacebar and then using the down arrow key lets me cycle through the the available functions, but putting a dot after an object has no effect, and if I open parentheses, I get no tips. The delay was set to 2000, so I changed that to 2, but nothing happened. I checked the preferences and it seemed to be turned on. At the time I upgraded Tcl/Tk with ActiveTcl 8.5.18 as was suggested on the Python for MacOSX installation page.Īt this point, Autocomplete and Call Tips stopped popping up.
I also added a Python 3.4.3 installation. I recently upgraded to Python 2.7.10 on my MacOSX Yosemite computer. FilesĪuthor: Alessandro Rosa (Alessandro Rosa) Python 3.6, Python 3.4, Python 3.5, Python 2.7Īlessandro Rosa, jmas, markroseman, ned.deily, python-dev, ronaldoussoren, taleinat, terry.reedy, wordtechĬreated on 20:48 by Alessandro Rosa, last changed 14:58 by admin. IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18