GNOME Bugzilla – Bug 386792
libxslt.py: SyntaxError in "if" method declaration
Last modified: 2021-07-05 10:59:59 UTC
Hello, I wanted to try libxml2-python-2.6.26.win32-py2.4.exe including libxslt 1.1.17 from http://users.skynet.be/sbi/libxml-python/ But as soon as I try to import libxslt, Python 2.4.4 gives me a syntax error on WinXP Pro SP2, because it recognizes the "if" method as a keyword. Traceback (most recent call last):
+ Trace 94853
import libxslt
def if(self, node, inst, comp):
Best regards, René
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxslt/-/issues/ Thank you for your understanding and your help.