Apache Mod-Python - Created: (MODPYTHON-229) Revise what is returned by

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > June 2007 > Created: (MODPYTHON-229) Revise what is returned by





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-229) Revise what is returned by
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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com