Python Macros: Use Cases?

Posted by Rick Copeland on Stack Overflow See other posts from Stack Overflow or by Rick Copeland
Published on 2009-04-18T22:56:16Z Indexed on 2010/03/14 22:35 UTC
Read the original article Hit count: 304

Filed under:
|
|
|
|

If Python had a macro facility similar to Lisp/Scheme (something like MetaPython), how would you use it?

If you are a Lisp/Scheme programmer, what sorts of things do you use macros for (other than things that have a clear syntactic parallel in Python such as a while loop)?

© Stack Overflow or respective owner

Related posts about python

Related posts about macros