[Python-ideas] Syntax for easy binding __name__, __module__, __qualname__ to arbitrary objects

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 14 08:37:03 CEST 2013


Nick Coghlan wrote:
> We've had this discussion before, and any use of "as"
> should be to bind to a name on the RHS

I don't remember any consensus being reached on this.
My opinion is that imposing any such restriction on
the use of "as" would be a foolish consistency that
rules out a lot of natural-sounding constructs.

-- 
Greg


More information about the Python-ideas mailing list