Re: Overriding builtin getattr method

2006-10-03 Thread Raja Raman Sundararajan
Hello Gabriel Genellina and Diez B. Roggisch, Thanks for sharing your opinions. I agree with Gabriel when he talks about the separation between the presentation and the DB level access and the drawbacks of introducing character manipulation. The problem that I am facing right now is that the p

Re: Overriding builtin getattr method

2006-10-03 Thread Diez B. Roggisch
>> I have data stored in the database which has special characters >> like <, > etc. >> Case 1: Whenever I wanted to present the output to a browser >> I need to escape these special characters into the browser >> equivalent like < > etc.( for example by using the cgi module) >> Case 2:

Re: Overriding builtin getattr method

2006-10-03 Thread Gabriel Genellina
At Tuesday 3/10/2006 05:24, Raja Raman Sundararajan wrote: Hello guys, I have data stored in the database which has special characters like <, > etc. Case 1: Whenever I wanted to present the output to a browser I need to escape these special characters into the browser equivalent like

Re: Overriding builtin getattr method

2006-10-03 Thread Raja Raman Sundararajan
Correction: I meant __builtin__.getattr method and not the other one I mentioned. :-) Thanks Raja Raja Raman Sundararajan skrev: > Hello guys, > I have data stored in the database which has special characters > like <, > etc. > Case 1: Whenever I wanted to present the output to a browser >