Author vstinner
Recipients neologix, pitrou, vstinner
Date 2013-10-05.19:42:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Using .keys() to test if the selector is empty is surprising. To test if a
str, list, tuple, dict, set, ..., is empty: if container: <not empty> is

Or sometimes I write if len(container): ...

Selector has no length?
Date User Action Args
2013-10-05 19:42:05vstinnersetrecipients: + vstinner, pitrou, neologix
2013-10-05 19:42:05vstinnerlinkissue19172 messages
2013-10-05 19:42:05vstinnercreate