[stdlib-sig] proposed removal: the types module
barry at python.org
Thu Apr 3 14:03:27 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
On Apr 3, 2008, at 7:39 AM, M.-A. Lemburg wrote:
> On 2008-04-03 13:24, Brett Cannon wrote:
>> You can just call 'type' on something to get the type needed.
> Well, yes, but that's just what the types module does, isn't it ?
> It's really just a more practical way of getting at the type
> object than having to create a temporary object just to get
> at the type object.
> For basic types you don't need it (e.g. int, float, str, etc.),
> but there are quite a few types in Python that don't have a
> builtin constructor, e.g. methods, modules, instances, etc.
Plus, there are a few types in there that are difficult or impossible
to get from Python.
- -1 unless you can find another place to stash such types.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
-----END PGP SIGNATURE-----
More information about the stdlib-sig