Skip to content

Fix incorrect exception handling - seek on closed file#510

Closed
JacekPliszka wants to merge 1 commit intoarskom:2_12from
JacekPliszka:2_12
Closed

Fix incorrect exception handling - seek on closed file#510
JacekPliszka wants to merge 1 commit intoarskom:2_12from
JacekPliszka:2_12

Conversation

@JacekPliszka
Copy link
Copy Markdown

When exception appeared in etree.XMLSchema after etree.parse(f) is finished - f is already closed and f.seek(0) generates another exception that hides the original one (Python 2.x)

When exception appears in etree.XMLSchema after etree.parse(f) is finished - f is already closed and f.seek(0) generates another exception that hides the original one (Python 2.x)
@plq
Copy link
Copy Markdown
Member

plq commented Oct 6, 2016

this is same as #511, right? closing this one.

@plq plq closed this Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants