Skip to content

Conversation

@elprans
Copy link
Member

@elprans elprans commented Mar 14, 2017

Fixes: #85

@elprans elprans requested a review from 1st1 March 14, 2017 20:48
buf = <WriteBuffer>next(self._execute_iter)
except StopIteration:
self._push_result()
except BaseException as e:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@1st1 Safe to catch BaseException here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change to Exception.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@elprans elprans self-assigned this Mar 15, 2017
@elprans elprans force-pushed the fix-executemany-with-bad-generator branch from 1f6ae4d to 88ca460 Compare March 16, 2017 15:50
@elprans elprans merged commit 8d17ecc into master Mar 16, 2017
@elprans elprans deleted the fix-executemany-with-bad-generator branch March 16, 2017 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants