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
Request: getpos() for sgmllib #39602
Comments
During the process of making my masters thesis I To fix this one needs to change the goahead function. def goahead(self, end):
in "HTML as
i = j
# end while
if end and i < n:
self.handle_data(rawdata[i:n])
tmp = self.updatepos(i, n)
i = n
self.rawdata = rawdata[i:]
# XXX if end: check for empty stack
The major diffrence is the updatepos functions. It |
Logged In: YES Can you please post a context diff against the version in |
Logged In: YES Added an attachment with the diffrence to the current file |
Closed bpo-868908 as a duplicate of this one. |
Anyone interested in this? I found the patch unreadable but YMMV. |
sgmllib has been deprecated since 2.6 and has been removed from py3k. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: