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/2002-May/024296.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib types.py,1.26,1.27

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib types.py,1.26,1.27Martin v. Loewis martin@v.loewis.de
23 May 2002 08:31:49 +0200
Skip Montanaro <skip@pobox.com> writes:

> I actually don't really care.  The only reason I even noticed its absence
> was that I went to patch xmlrpclib to use Python booleans instead of /F's
> Boolean class (when available).  I think consistency counts for something
> here.  I know xmlrpclib is one of that small number of modules that is
> actively maintained for older versions of Python.  It makes sense to me to
> make as few changes to xmlrpclib to make that happen.  If adding BooleanType
> to the types module helps, I think it's a good thing.

Since that needs to be conditional (with catching ImportError and
all), I think you can achieve internal consistency and minimal changes
with introducing a name BooleanType into xmlrpclib.

BTW, why is it "BooleanType" and not "BoolType"? It's also IntType and
not IntegerType.

Regards,
Martin




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