[Python-Dev] adding _Py prefix to names in 2.5.1?

"Martin v. Löwis" martin at v.loewis.de
Fri Jan 19 03:59:10 CET 2007


Neal Norwitz schrieb:
> http://python.org/sf/1637022 points out a problem caused by the lack
> of a _Py prefix on Ellipsis.  Most (all?) of the new AST names are not
> prefixed.  These are all meant to be internal names.  Are there any
> issues with changing this?  If we do so, it means that any module
> built with 2.5 that is using these names will fail to work in 2.5.1.
> No code outside the core *should* be using these names.

I'll look into this. I will create macros in the header file for them,
so that existing source code will continue to compile.

Regards,
Martin


More information about the Python-Dev mailing list