A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-February/060447.html below:

[Python-Dev] Octal literals

[Python-Dev] Octal literalsBengt Richter bokr at oz.net
Mon Feb 6 06:55:05 CET 2006
On Sun, 05 Feb 2006 18:47:13 -0800, Josiah Carlson <jcarlson at uci.edu> wrote:

>
>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 <some prefix>/Lib that have
>> isinstance(<something>, 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(<something>, int) are bugs, possibly replacing previous
>uses of type(<something>) is int, shortly after int subclassing was
>allowed.  But that's just a guess.
>
Thank you. I didn't look either, but I did notice that most (but not all) of them were
under <some prefix>/Lib/test/. Maybe it's excusable for test code ;-)

Regards,
Bengt Richter

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4