> > > > Summary: Allow all assignment expressions after 'import > > > > something as' [GvR] > > -1. Hypergeneralization. [TW] > I don't think it's hypergeneralization. In fact, people might expect it[*], > if we claim that the 'import-as' syntax is a shortcut for the current > practice of > > import somemod > sspam = somemod.somesubmod.spam > > (or similar constructs.) However, I realize you're under a lot of pressure > to Pronounce a number of things now that you're back, and we can always > change this later (if you change your mind.) I dare to predict, though, that > we'll see questions about why this isn't generalized, on c.l.py. I kind of doubt it, because it doesn't look useful. I do want "import foo.bar as spam" back, assigning foo.bar to spam. --Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)
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