[Rest2web-develop] Stringify
Brought to you by:
mjfoord
From: Michael F. <mi...@pc...> - 2005-07-08 11:39:53
|
By the way... I've just implemented the ``stringify`` option in ConfigObj 4 and committed. It's on by default - values are converted to strings when written. If you switch it off, type checking is done when you set values. (Only strings or lists of strings). At the moment the ``str`` function is used to convert values to strings. For somethings (e.g. datetime instances) this *might* not be suitable - we might need to special case. Best Regards, Fuzzy http://www.voidspace.org.uk/python |