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

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 24 08:11:41 CET 2007


Greg Ewing schrieb:

One idiom that people use a lot is foo[b], where b is a boolean. Could that be addressed using the new index mechanism?

That would be possible, yes.

Martin



More information about the Python-Dev mailing list