s.startswith(unicode) bug???

Martin v. Loewis martin at v.loewis.de
Thu Oct 3 03:58:38 EDT 2002


ewestra at wave.co.nz (Erik Westra) writes:

> I'm running Python 2.2 (not 2.2.1) under Windows 2K, and have come
> across the following bug.  I was wondering if someone with 2.2.1 could
> please check if it still happens -- if so, I'll post a bug report to
> the Python SourceForce site.

You'll get the same in 2.2.1. In 2.3a0, you get

>>> "a".startswith(u"a")
True

Regards,
Martin



More information about the Python-list mailing list