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

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


Bruce Leban wrote:
> Do you really want:
> 
>     def a = 3
> 
> to be allowed?

But it's not just any old 3, it's the one defined in
the fuzzbizz module! And it should print out as
"fuzzbizz.3" to make that clear!

-- 
Greg


More information about the Python-ideas mailing list