pre-PEP: The create statement

Michele Simionato michele.simionato at gmail.com
Thu Apr 6 10:57:20 EDT 2006


Sion Arrowsmith wrote:
> Kay Schluehr <kay.schluehr at gmx.net> wrote:
> >Steven Bethard wrote:
> >> Python-Version: 2.6
> >Have you a rough estimation how many modules will be broken when
> >"create" is introduced as a keyword?
>
> A quick scan of the standard library suggests that it will have
> a grand total of 3 modules requiring a fix (it's a method name
> in imaplib and a named argument in a couple of places in bsddb
> and distutils). Your own code my fare worse (mine does, but not
> by much).

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 ;)

    Michele Simionato




More information about the Python-list mailing list