Message170366
| Author |
bethard |
| Recipients |
Arfrever, barry, benjamin.peterson, bethard, chris.jerdonek, georg.brandl, python-dev, r.david.murray |
| Date |
2012年09月12日.10:56:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347447420.69.0.762158386812.issue15906@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It looks like the correct fix was already applied, but just to chime in here:
(1) Yes, the error is that the isinstance(action.default, str) check was lost
(2) Yes, it is intended that you can use a string value as your default and the type= converter will be called on that. This feature allows DRY for people that have a complex object that can be specified by a simple string.
(3) Yes, the type= converter function should be applied to the default for all action types, not just for the store action. |
|