Python 2.0 parser module bug(?) and a Q

murple at my-deja.com murple at my-deja.com
Tue Jan 23 06:38:48 EST 2001


Sorry for posting 3times, had Problems with deja.com

> 1. If you have double DEDENT, there is a
> '\r' left in the resulting string. This
> seems to be easely solved by an replace()
>
> 2. Anything like "modul.class.function" comes out
> as "modul  . class . function". Using replace
> to solve this is not good, since you would replace
> also in wrong places. I think, here you would have
> to look into the structure of the syntax-tree.

Ok, noticed that 2. is not a problem, it would still be valid.
But another one is: you also replace occurance of a Tabulator
in Strings. (I don't mean "\t" or "\11" but the "real" tab-character)


Andreas


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list