[Python-Dev] Recent experience with the _ast module (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Feb 14 09:44:07 CET 2007
- Previous message: [Python-Dev] Recent experience with the _ast module
- Next message: [Python-Dev] Recent experience with the _ast module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing schrieb:
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?
Because it's generated code. It has to follow rules, and it would be good if there were few exceptions.
Regards, Martin
- Previous message: [Python-Dev] Recent experience with the _ast module
- Next message: [Python-Dev] Recent experience with the _ast module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]