Author rhettinger
Recipients
Date 2004-06-17.12:37:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

The method is functioning exactly as documented.

Changing this to a feature request.

FWIW, it seems reasonable to allow a boolean to be passed in
a default; however, calling it unpythonic is a bit extreme
since the whole API is designed to work with text arguments.

My solution would be to just add two lines after the self.get:

    if isinstance(v, bool):
        return v
History
Date User Action Args
2007-08-23 16:08:11adminlinkissue974019 messages
2007-08-23 16:08:11admincreate