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 chafporte
Recipients benjamin.peterson, chafporte, georg.brandl, rhettinger
Date 2008-11-17.19:36:49
SpamBayes Score 0.0004226378
Marked as misclassified No
Message-id <1226950610.03.0.214511365122.issue4326@psf.upfronthosting.co.za>
In-reply-to
Content
but in python 2.5 you may do this:

if type(lInstance) == types.InstanceType:
    ...
else:
    ...

and I don't see an easy way to do this with python 2.6
(feel free to propose a solution if you have one)
History
Date User Action Args
2008-11-17 19:36:50chafportesetrecipients: + chafporte, georg.brandl, rhettinger, benjamin.peterson
2008-11-17 19:36:50chafportesetmessageid: <1226950610.03.0.214511365122.issue4326@psf.upfronthosting.co.za>
2008-11-17 19:36:49chafportelinkissue4326 messages
2008-11-17 19:36:49chafportecreate