[M.-A. Lemburg] > I have already reported this to Jeremy. There are other instances > of 'from x import *' in function and class scope too, e.g. > some test() functions in the standard dist do this. But there are no instances of "from x import *" in the case I reported, despite that the error msg (erroneously!) claimed there was. It's complaining about from Percolator import Percolator in a class definition. That smells like a bug, not a debatable design choice. > I am repeating myself here, but I think that this single change > will cause so many people to find their scripts are failing > that it is really not worth it. Provided the case above is fixed, IDLE will indeed fail to compile anyway, because Guido does from Tkinter import * inside several functions. But that's a different problem. > Better issue a warning than raise an exception here ! If Jeremy can't generate correct code, a warning is too weak.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4