Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fragments_fromstring #135

Closed

Conversation

doloopwhile
Copy link

lxml.html.fragments_fromstring unexpectedly raise following exception when it called with bytes argument in Python 3.4

TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'

I tried to fix this problem.

fragments_fromstring unexpectedly raise Exception
when it is called with bytes in Python 3.4.
@scoder
Copy link
Member

scoder commented Mar 16, 2014

Thanks. I applied the relevant part of the change manually here: 259a743

@scoder scoder closed this Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants