It's only a macro system when you generate code in unexpected/unobvious places with it. This is more like inspect.getsource(), but going straight to the AST. Cheers, Steve Top-posted from my Windows Phone ________________________________ From: Greg Ewing<mailto:greg.ewing at canterbury.ac.nz> Sent: 5/20/2015 22:33 To: Python-Dev<mailto:python-dev at python.org> Subject: Re: [Python-Dev] Enable access to the AST for Python code Guido van Rossum wrote: > Hey Ben, this is probably a better topic for python-ideas. I'll warn you > that a hurdle for ideas like this is that ideally you don't want to > support this just for CPython. It's definitely cool though! This would effectively be a macro system. I thought your position on macros was that they're uncool? If you've changed your mind about this, that's cool too -- just checking. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/steve.dower%40microsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150521/5c3f8580/attachment.html>
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