homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients benjamin.peterson, georg.brandl, thread13
Date 2012年04月27日.04:13:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAPZV6o-ssQ7YgMNvgthqtpJ=1RK=ZSnWfjrL5a9hVxreTxHa1w@mail.gmail.com>
In-reply-to <1335495526.15.0.298160882509.issue14671@psf.upfronthosting.co.za>
Content
2012年4月26日 Q <report@bugs.python.org>:
> issubclass(obj.__class__, object)
>
> to be the official way to distinguish between the new-style and the old-style classes?
Just do type(cls) is types.ClassType.
History
Date User Action Args
2012年04月27日 04:13:08benjamin.petersonsetrecipients: + benjamin.peterson, georg.brandl, thread13
2012年04月27日 04:13:08benjamin.petersonlinkissue14671 messages
2012年04月27日 04:13:08benjamin.petersoncreate

AltStyle によって変換されたページ (->オリジナル) /