How to write Inline Functions in Python?

Chad Netzer cnetzer at mail.arc.nasa.gov
Fri Nov 15 18:26:33 EST 2002


On Friday 15 November 2002 06:18, Anton Vredegoor wrote:

> def test():
>     A,B,C = Good(),Good(),Good()
>     print A
>     print B
>     print C

   Ah, but (apparently), they don't want to use assignment to create the 
A,B,C names in the module (or local) namespace.  They want to allow extending 
the namespace as a side-effect of a callable object.  This is different from 
what you have (although, totally wierd).

  It sounds like their application is bolting onto another kind of language 
that allows this, and I assume they want to preserve that style of 
programming (for whatever reason).

  Sounds funky...

-- 
Bay Area Python Interest Group - http://www.baypiggies.net/

Chad Netzer
cnetzer at mail.arc.nasa.gov




More information about the Python-list mailing list