[Python-ideas] .pyu nicode syntax symbols (was Re: Empty set, Empty dict)
Nick Coghlan
ncoghlan at gmail.com
Tue Jul 1 04:15:20 CEST 2014
On 30 Jun 2014 16:51, "Andrew Barnert" <abarnert at yahoo.com.dmarc.invalid>
wrote:
>
> First, two quick side notes:
>
> It might be nice if the compiler were as easy to hook as the
importer. Alternatively, it might be nice if there were a way to do "inline
bytecode assembly" in CPython, similar to the way you do inline assembly in
many C compilers, so the answer to random's question is just "asm
[('BUILD_SET', 0)]" or something similar. Either of those would make this
problem trivial.
Eugene Toder & Dave Malcolm have some interesting patches on the tracker to
help enhance the compiler (in particular, Dave's allowed compiler plugins
to be written in Python). Neither set of patches made it to being merge
ready, though, and they'll be rather stale at this point.
Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140701/e7d06acd/attachment-0001.html>
More information about the Python-ideas
mailing list