[Python-porting] Questions for porting unicode with backward compatibility
martin at v.loewis.de
martin at v.loewis.de
Wed May 22 09:40:24 CEST 2013
Quoting Lennart Regebro <regebro at gmail.com>:
>> File
>> "/home/chitrank/Documents/Google_Summer_of_code/moinmoin_pre/Emeraldtree/EmeraldTree/emeraldtree/html.py",
>> line 34, in <module>
> Can you do this:
>
> import html
> print(html.__file__)
>
> It sounds like the html module somehow has been shadowed by something else.
My guess is that it is the html module from emeraldtree. Of course,
this *ought* to be
emeraldtree.html, not a toplevel html package. So it would also be
helpful to see whether
/home/chitrank/Documents/Google_Summer_of_code/moinmoin_pre/Emeraldtree/EmeraldTree/emeraldtree
happens to be in sys.path (which it ought not to).
Regards,
Martin
More information about the Python-porting
mailing list