Skip Montanaro wrote: > Martin> Since that needs to be conditional (with catching ImportError > Martin> and all), I think you can achieve internal consistency and > Martin> minimal changes with introducing a name BooleanType into > Martin> xmlrpclib. > > That's fine. It's /F's call how he wants to do it. I assigned that patch > to him. Replacing Boolean in xmlrpclib with the new type should be done with care, though, since esp. on the encoding side things may go wrong due to the fact that boolean values are already being returned by comparisons and other builtin functions. You may end up encoding booleans where you really wanted to encode integers. > Martin> BTW, why is it "BooleanType" and not "BoolType"? It's also > Martin> IntType and not IntegerType. > > I like to read compound words where the elements are themselves words. > StringType doesn't match "str". Either way is fine with me. > > I suppose if I really had my druthers I'd have preferred the function was > called "boole()" and the object in the types module "BooleType". After all, > that's how George's name was spelled... ;-) Good catch :-) -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
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