[stdlib-sig] proposed removal: the types module
Steven Bethard
steven.bethard at gmail.com
Thu Apr 3 16:41:45 CEST 2008
On Thu, Apr 3, 2008 at 8:38 AM, Christian Heimes <christian at cheimes.de> wrote:
> Jesse Noller schrieb:
>
>
> > On Thu, Apr 3, 2008 at 10:25 AM, Steven Bethard
> > <steven.bethard at gmail.com> wrote:
> >> Barry Warsaw schrieb:
> >> > Plus, there are a few types in there that are difficult or impossible
> >> > to get from Python.
> >>
> >>
> >> On Thu, Apr 3, 2008 at 6:12 AM, Barry Warsaw <barry at python.org> wrote:
> >> > Actually, inspect.types might be a good place to put them all.
> >>
> >> +1 on inspect.types. If you really need to check for things like
> >> MethodType, instead of simply hasattr(obj, '__call__'), then you're
> >> really doing inspect-style code whether you've admitted it to yourself
> >> yet or not. ;-)
> >>
> >> Steve
> >
> > +1 on inspect.types as well. It makes sense to put it there.
>
> For your information:
>
> Guido doesn't like grab bag modules, see http://bugs.python.org/issue1605
This wouldn't be adding a grab bag module. It would be refusing to
remove an existing grab bag module.
Steve
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
More information about the stdlib-sig
mailing list