[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

Glenn Linderman v+python at g.nevcal.com
Tue Dec 4 01:16:47 CET 2012

On 12/3/2012 3:42 PM, Gregory P. Smith wrote:
>     All the core devs I've asked said "given all that, I'd prefer the
>     hairy preprocessor macros".  But by the end of the conversation
>     they'd changed their minds to prefer the custom DSL.  Maybe I'll
>     make a believer out of you too--read on!
> It always strikes me that C++ could be such a DSL that could likely be 
> used for this purpose rather than defining and maintaining our own 
> "yet another C preprocessor" step.  But I don't have suggestions and 
> we're not allowing C++ so... nevermind. :)

C++ has enough power to delude many (including me) into thinking that it 
could be used this way.... but in my experience, it isn't quite there.  
There isn't quite enough distinction between various integral types to 
achieve the goals I once had, anyway... and that was some 15 years 
ago... but for compatibility reasons, I doubt it has improved in that area.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121203/b11375f8/attachment.html>

More information about the Python-Dev mailing list