Message1174

Author leouserz
Recipients
Date 2006-12-21.23:43:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Im going to take a wild guess here that the problem is because
repr(foo)

will go to __builtin__ repr that calls:


public PyString __repr__() {

    return new PyString(encode_UnicodeEscape(string, true));

}

while
foo.__repr__

calls
    final String str_toString() {

        return string;

    }

Incidentally, python returns:
"'foo\\x08\\n'"
for both repr and __repr__

leouser
History
Date User Action Args
2008-02-20 17:17:31adminlinkissue1510227 messages
2008-02-20 17:17:31admincreate