[Python-3000] basestring removal, file and co_filename (original) (raw)
Christian Heimes lists at cheimes.de
Fri Oct 12 05:32:44 CEST 2007
- Previous message: [Python-3000] Bug with pdb.set_trace() and with block
- Next message: [Python-3000] Array typecode 'w' vs. 'u' and UCS4 builds
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeffrey Yasskin wrote:
On 10/11/07, Christian Heimes <lists at cheimes.de> wrote:
if (mangled == "utf8") FYI, this is always going to be false. It compares the pointer values, rather than the strings.
Doh! I've done too much Python programming in the past. I forgot that I've to use strcmp(s1, s2) == 0 in order to compare two strings in C.
Thanks pal!
Christian
- Previous message: [Python-3000] Bug with pdb.set_trace() and with block
- Next message: [Python-3000] Array typecode 'w' vs. 'u' and UCS4 builds
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]