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

Shutdown IO queue when file can't be opened #471

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Feb 3, 2016

If any errors happen while processing IO (including
errors opening the destination file), we should shutdown
the IO queue.

As part of this change I added an integration test. This also
demonstrated an issue with python3 retrying socket.errors because
they're now aliased to OSErrors. I updated the compat module
to give us the appropriate "something went wrong on the socket"
exception based on python version.

Fixes #367.

cc @kyleknap @mtdowling @rayluo @JordonPhillips

If any errors happen while processing IO (including
errors opening the destination file), we should shutdown
the IO queue.

As part of this change I added an integration test.  This also
demonstrated an issue with python3 retrying socket.errors because
they're now aliased to OSErrors.  I updated the compat module
to give us the appropriate "something went wrong on the socket"
exception based on python version.

Fixes boto#367.
@JordonPhillips
Copy link
Contributor

Nice! I wonder if 2to3 does this conversion? Either way: ⛵

@jamesls jamesls added the pr/needs-review This PR needs a review from a member of the team. label Feb 4, 2016
@kyleknap
Copy link
Contributor

kyleknap commented Feb 5, 2016

Looks good. 🚢

@jamesls jamesls merged commit ac346ec into boto:develop Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/needs-review This PR needs a review from a member of the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants