[Python-Dev] repr vs. str and locales again

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Mon, 22 May 2000 01:24:02 +0200


M.-A. Lemburg <mal@lemburg.com> wrote:
> > But then how can this have any effect on squishdot's indexing?
> 
> The only possible reason I can see is that this squishdot
> application uses 'print' to write the data -- perhaps
> it pipes it through some other tool ?

but doesn't the patch only affects code that manages to call tp_print
without the PRINT_RAW flag?  (that is, in "repr" mode rather than "str"
mode)

or to put it another way, if they manage to call tp_print without the
PRINT_RAW flag, isn't that a bug in their code, rather than in Python?

or am I just totally confused?

</F>