[Python-3000] [Python-Dev] Wither PEP 335 (Overloadable Boolean Operators)? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 26 03:46:13 CEST 2007


Phillip J. Eby wrote:

Actually, I think that most of the use cases for this PEP would be better served by being able to "quote" code, i.e. to create AST objects directly from Python syntax.

That's been suggested before, but hasn't received a favourable response.

One problem is that it would force all alternative implementations to be able to produce an AST with the same structure as CPython's.

Also it could be considered dangerously close to "programmable syntax".

-- Greg



More information about the Python-3000 mailing list