You are welcome...  :)

[]s
Roger

On 3/26/06, Michele Cella <[EMAIL PROTECTED]> wrote:
>
> Hi Roger,
>
> jpaulofarias fixed the same problem in #684 by changing %r to %s, the
> strange thing is that's the first thing I tried and trashed since (as
> in your example) str==repr in this case.... strange.
>
> Thanks again for the feedback.
>
> Ciao
> Michele
>
> Roger Demetrescu wrote:
> > Windows 2000
> >
> >
> > >>> test = [2, '\n\thello']
> > >>> "kid %r" % test
> > "kid [2, '\\n\\thello']"
> > >>>
> >
> > The some output as yours...
> >
> > >>> "kid %s" % test
> > "kid [2, '\\n\\thello']"
> >
> > >>> repr(test) == str(test)
> > True
> >
> >
> > []s
> > Roger
> >
> >
> >
> >
> > On 3/25/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> > >
> > > What happens on your platform if you do something like this?
> > >
> > > >>> test = [2, '\n\thello']
> > > >>> "kid %r" % test
> > > "kid [2, '\\n\\thello']"
> > > >>>
> > >
> > > the problem is just this basically, \n and \t are being escaped here.
> > >
> > > Ciao
> > > Michele
> > >
> > > Michele Cella wrote:
> > > > Thanks for the feedback Roger. ;-)
> > > >
> > > > Anyway the problem is indeed inside interpolate I'm halfaway to solve
> > > > it (hopefully)...
> > > >
> > > > Ciao
> > > > Michele
> > > >
> > > > Roger Demetrescu wrote:
> > > > > Hi Michelle..
> > > > >
> > > > > In my Win2k box, your script run fine....
> > > > >
> > > > > []s
> > > > > Roger
> > > > >
> > > > > On 3/25/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > >
> > > > > > Kevin Dangoor wrote:
> > > > > > > On 3/25/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> > > > > > > > Yep, I was aware it runs fine for you and almost everyone I 
> > > > > > > > think :D
> > > > > > > > (or you wouldn't be able to use the widget browser ;-)).
> > > > > > > >
> > > > > > > > Anyway I'm running Linux here (ubuntu dapper) and this bug has 
> > > > > > > > popped
> > > > > > > > up after upgrading from breezy do dapper... :-(
> > > > > > >
> > > > > > > THAT is weird. I wonder if Python was changed in that upgrade.
> > > > > > >
> > > > > >
> > > > > > Breezy:
> > > > > >
> > > > > > python-2.4.2-0ubuntu2
> > > > > >
> > > > > > Dapper:
> > > > > >
> > > > > > python-2.4.2-0ubuntu3
> > > > > >
> > > > > > Go figure! :D
> > > > > >
> > > > > > But something was changed definitely... :-(
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > > > > Ciao
> > > > > > Michele
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > >
> > >
> > >
> > >
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to