[Python-Dev] correction of a bug

skip at pobox.com skip at pobox.com
Sun May 14 22:06:03 CEST 2006


    draconux> I found a bug in python I'm using python 2.4 with debian etch

    draconux> string.lstrip("source/old_prog","source/") return "ld_prog"
    draconux> instead of "old_prog"

The above is the same as

    "source/old_prog".lstrip("source/")

String methods are defined in the Objects/stringobject.c file of the source
distribution.

Skip


More information about the Python-Dev mailing list