[Tutor] Named-value formatting fails

Tim Johnson tim at johnsons-web.com
Mon Jan 10 00:14:13 CET 2011


* Steven D'Aprano <steve at pearwood.info> [110109 13:23]:
> Tim Johnson wrote:
<...>
>>> Are you aware that this is non-portable and subject to change without 
>>>  notice?
>>   No!   1)Can you explain further?
<.....>
Wow! You've given me a huge amount of technical information. I can't
thank you enough for the time and effort you have given this.

FYI: I am adapting an "old" CGI-based system, much of it on a
intranet to more of an MVC model. Where a complete rewrite is
necessary I would probably  use something like django. In this case,
enormous forms (around 400 elements) are being managed. 

The part for which I was considering using an eval() wrapper is
for relatively simple token replacement.

I may get away with just using replace() or re.sub(). But first
:) I must absorb and process what you have written on this
subject.

Thanks again
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com


More information about the Tutor mailing list