Type-checking unpickled objects

Gordon Airporte JHoover at fbi.gov
Sun Nov 20 22:15:59 EST 2005


isinstance! Now why didn't I know about that? Thanks you. I guess I'll 
need a throwaway instance of the class to run type() on to get a usable 
type object for comparison, but I'll work something out.
As to the security considerations...this is a small enough program with 
a limited enough release that I'm not going to sweat it, although I will 
keep this in mind.



More information about the Python-list mailing list