>>>>> "JE" == Jeff Epler <jepler@inetnebr.com> writes: >> class X (Y rename foo as _sfoo, bar as _sbar ): | Why not let us spell this as: | class X(Y): | from Y import foo as _sfoo, bar as _sbar | ... >>>>> "NS" == Neil Schemenauer <nas@python.ca> writes: NS> This already has a meaning in Python. Paul's suggested syntax NS> is pretty neat, IMHO. Not if Y is a class though, right? That would currently raise an ImportError, so why not hijack it for this purpose? I think it has a natural and clear enough meaning without requiring additional keywords, or complicating the base class specification syntax. -Barry
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