[Python-Dev] Octal literals (original) (raw)

Josiah Carlson jcarlson at uci.edu
Mon Feb 6 03:47:13 CET 2006


bokr at oz.net (Bengt Richter) wrote:

Are you just lecturing me personally (in which case off list would be more appropriate), or do you include the authors of the 17 files I count under /Lib that have isinstance(, int) in them? Or would you like to rephrase that with suitable qualifications? ;-)

I did not mean to sound like I was lecturing you personally.

Without taking a peek at the source, I would guess that the various uses of isinstance(, int) are bugs, possibly replacing previous uses of type() is int, shortly after int subclassing was allowed. But that's just a guess.



More information about the Python-Dev mailing list