Nick wrote:
Jim Gallacher wrote:
Nick wrote:
Just one comment. It seems like it would be better just to make
add_method inline, since everything else in __init__ is, and it never
gets called from anywhere else.
add_method?
Haha, thanks, I haven't had coffee yet. The add_item method, that is. :)
By which I assume you mean add_field? Other than that you are perfectly
all right. :)
I also like properties, but doesn't that cause a problem if someone
chooses to subclass FieldStorage?
It could if you didn't realize it was a property. But you can always
override a property with another property.
I've only started using properites and I hadn't thought of that. If we
were to use such a feature is that the sort detail that would be
included in the user documentation, or would the coder just be expected
to read the source?
Jim