[Python-Dev] Recent experience with the _ast module

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 14 00:56:30 CET 2007


Brett Cannon wrote:
> On 2/12/07, Collin Winter <collinw at gmail.com> wrote:
> > 2) {BinOp,AugAssign,BoolOp,etc}.op
>
> I can't think of a reason, off the top of my head, why they can't be
> singletons.

Why not just use interned strings?

--
Greg



More information about the Python-Dev mailing list