Another Proposal re- Integer Division
Skip Montanaro
skip at pobox.com
Tue Jul 24 10:43:33 EDT 2001
Chris> This shouldn't require any upgrading of modules, but would add //
Chris> as an operator so that pure-Python modules written using // but
Chris> otherwise not using 2.2+ features would work fine.
There's the rub. How do you convince people to write division code with
"//" but not use list comprehensions, nested scopes, yadda yadda yadda?
Not to mention which the fact of having to do any upgrade, even one as
simple as you propose, will probably present an insurmountable barrier for
many folks.
--
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/
More information about the Python-list
mailing list