Menu

#2 pygold is not compatible with Python 2.5

open
nobody
None
5
2008-05-19
2008-05-19
Anonymous
No

I found the following:

in GrammerReader::readString (line 67) the following:
result.append(char) raises a TypeError since char is a byte array and result is expected unicode strings.
I believe that result.fromstring(char) should be used

in Parser::__fixCaseTrue (line 317)
string.lower(chars) should be replaced with chars.lower()

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.