Message54181
| 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:11 | admin | link | issue974019 messages |
| 2007年08月23日 16:08:11 | admin | create |
|