pre-PEP: The create statement
Steven Bethard
steven.bethard at gmail.com
Tue Apr 11 16:28:29 EDT 2006
John J. Lee wrote:
> "Michele Simionato" <michele.simionato at gmail.com> writes:
> [...]
>> This agrees with my scan (except I also found an occurrence of 'create'
>> in Tkinter).
>> BTW, I would be curious to see the script you are using for the
>> scanning. Are you
>> using tokenize too? In am quite fond of the tokenize module ;)
>
> Having seen Sion's (non-existent) script, how about posting yours? I
> regularly grep for things in Python code, and it hadn't occurred to me
> that I could instead use module tokenize.
>
> Module tokenize looks pretty simple, but would be nice to see some
> code that has already been used.
Michele's code:
http://groups.google.com/group/comp.lang.python/msg/e84e36ad10d78303
My derivative:
http://groups.google.com/group/comp.lang.python/msg/ed6dd53c267c7c77
STeVe
More information about the Python-list
mailing list