[Python-Dev] Re: Unicode in doctests

2004-12-03 Thread Bjorn Tillenius
Fredrik Lundh pythonware.com> writes: > Bjorn Tillenius wrote: > > There are some issues regarding the use of unicode in doctests. Consider > > the following three tests. > > > >>>> foo = u'fÃÃ' > >>>> foo > >u'f\xf6\xf6' > > > >>>> foo > >u'f\u00f6\u00f6' > > > >>>> foo >

[Python-Dev] Re: Unicode in doctests

2004-12-03 Thread Fredrik Lundh
Bjorn Tillenius wrote: > There are some issues regarding the use of unicode in doctests. Consider > the following three tests. > >>>> foo = u'föö' >>>> foo >u'f\xf6\xf6' > >>>> foo >u'f\u00f6\u00f6' > >>>> foo >u'föö' > > To me, those are identical. really? if a functi