Object Persistence Using a File System
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Tue Jul 18 19:29:17 EDT 2006
Nick Vatamaniuc a écrit :
(please don't top-post - corrected)
>
> Bruno Desthuilliers wrote:
>
(snip)
>>A few observations and questions :
>>- you should avoid tests on concrete types as much as possible - at
>>least use isinstance
>
> Good point about isinstance. Here is a good explanation why:
> http://www.canonical.org/~kragen/isinstance/
Err... I'm sorry but justifying the use of explicit tests on concrete
type not even taking inheritance into consideration with a paper
explaining why type tests taking inheritance into consideration may be
bad seems rather strange to me... Or did I missed your point here ?
More information about the Python-list
mailing list