| Graham Dumpleton (JIRA) 2007-06-29, 1:13 am |
| Revise what is returned by util.Field.__str__.
----------------------------------------------
Key: MODPYTHON-229
URL: https://issues.apache.org/jira/browse/MODPYTHON-229
Project: mod_python
Issue Type: Task
Components: core
Affects Versions: 3.3.1
Reporter: Graham Dumpleton
Priority: Minor
As pointed out in:
http://www.modpython.org/pipermail/...May/023683.html
http://www.modpython.org/pipermail/...May/023684.html
http://www.modpython.org/pipermail/...May/023685.html
the __str__() method of util.Field() in mod_python 3.3.1 does not return a value which could be eval'd in order to get back some meaningful object. In mod_python 3.2.10 it work.
The change which stops it working was that to make util.Field() accept more than two arguments.
This code should perhaps be revised at some point as to whether it could be changed to something more useful.
That file callbacks are now supported may make it problematic.
|