We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2015-05-06.07:14:05.159> created_at = <Date 2015-05-04.20:36:12.407> labels = ['type-bug', 'library', 'release-blocker'] title = 'Fix for python/cpython#68053 breaks docutils' updated_at = <Date 2015-05-06.07:14:05.158> user = 'https://github.com/mitya57'
bugs.python.org fields:
activity = <Date 2015-05-06.07:14:05.158> actor = 'serhiy.storchaka' assignee = 'none' closed = True closed_date = <Date 2015-05-06.07:14:05.159> closer = 'serhiy.storchaka' components = ['Library (Lib)'] creation = <Date 2015-05-04.20:36:12.407> creator = 'mitya57' dependencies = [] files = ['39290'] hgrepos = [] issue_num = 24125 keywords = ['patch'] message_count = 4.0 messages = ['242579', '242584', '242611', '242644'] nosy_count = 7.0 nosy_names = ['goodger', 'doko', 'larry', 'benjamin.peterson', 'python-dev', 'serhiy.storchaka', 'mitya57'] pr_nums = [] priority = 'release blocker' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue24125' versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']
The text was updated successfully, but these errors were encountered:
Fix for issue bpo-23865 (i.e. https://hg.python.org/cpython/rev/f7ddec2e9e93 in 2.7 branch) introduced a change for xml.sax.expatreader.ExpatParser class that makes its close() method delete _parser object.
This breaks docutils, which handles exceptions in parse() and tries to use getColumnNumber() after it fails. The log is available here: <http://mitya57.me/builds/python-docutils_0.12+dfsg-1_amd64.build\>.
I believe that particular chunk should be reverted.
Sorry, something went wrong.
Here is a patch that keeps error column and line after closing ExpatParser if error was occurred.
The patch fixes the issue, thanks Serhiy!
New changeset fe340c2a220e by Serhiy Storchaka in branch '2.7': Issue bpo-24125: Saved error's line and column numbers when an error is occured https://hg.python.org/cpython/rev/fe340c2a220e
New changeset 7f8cd879687b by Serhiy Storchaka in branch '3.4': Issue bpo-24125: Saved error's line and column numbers when an error is occured https://hg.python.org/cpython/rev/7f8cd879687b
New changeset 1fb83fa2cdef by Serhiy Storchaka in branch 'default': Issue bpo-24125: Saved error's line and column numbers when an error is occured https://hg.python.org/cpython/rev/1fb83fa2cdef
No branches or pull requests
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: