[Python-Dev] bool conversion wart? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 24 00:45:05 CET 2007


Martin v. Löwis wrote:

One idiom that people use a lot is foo[b], where b is a boolean.

Could that be addressed using the new index mechanism?

-- Greg



More information about the Python-Dev mailing list