Bill Janssen <janssen at parc.com> writes: > I really wish I'd been paying more attention to 328, which I've just > read. This proposal seems to break lots and lots and lots of existing > code. Lots of *your* code, maybe... I think you might be one of the few people who embraced packages as soon as they were available. > Maybe I'm reading it wrong. > > I've written many, many packages that use the form > > import foo > > where "foo" is a sibling module in the package. Or > > from foo import bar > > where, again, foo is a sibling to the current module. Nevertheless, do you agree or not that it was a mistake that relative and absolute imports are spelt the same? I you do, then surely the longer we leave it, the worse the problem gets... [...] > I was thinking (some months ago) that y'all would come up with an > absolute form instead, something like Then you really haven't been paying attention! Pretty much *everyone* who has contributed to the discussion, and presumably plenty who haven't (like me), has assumed that absolute imports are more common and should the default (certainly, all the imports in my own code are absolute...). Cheers, mwh -- > With Python you can start a thread, but you can't stop it. Sorry. > You'll have to wait until reaches the end of execution. So, just the same as c.l.py, then? -- Cliff Wells & Steve Holden, comp.lang.python
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