Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-229

Revise what is returned by util.Field.__str__.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      As pointed out in:

      http://www.modpython.org/pipermail/mod_python/2007-May/023683.html
      http://www.modpython.org/pipermail/mod_python/2007-May/023684.html
      http://www.modpython.org/pipermail/mod_python/2007-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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grahamd Graham Phillip Dumpleton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: