what should we use instead of the 'new' module?

Benjamin musiccomposition at gmail.com
Thu Nov 13 04:58:37 CET 2008


On Nov 12, 9:54 pm, flr... at gmail.com wrote:
> Robert,
>
> Appreciate your response.
>
> However Guido says here that types was never intended to be used like
> that:
>
> http://bugs.python.org/msg58023
>
> quote: "The types module was only ever intended for type
> checking, not for creating new instances.
>
> The correct solution will be to use whatever we end up deciding about
> pyvm. Certainly the types module will go."
>
> So that does not seem like a very long term solution to me?

Despite what Guido says, the types module will probably still be with
us for years to come, so I wouldn't worry about it.




More information about the Python-list mailing list