Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

closed file in upload_from_path#56

Merged
jacob-pascual merged 1 commit into
masterfrom
unknown repository
Jan 22, 2016
Merged

closed file in upload_from_path#56
jacob-pascual merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 27, 2015

The file no longer remains open after calling upload_from_path(). This would previously throw warnings.
This fixes issues #45 and #52.

The file no longer remains open after calling upload_from_path(). This would previously throw warnings.
@thrasr
Copy link
Copy Markdown

thrasr commented Jan 21, 2016

Came here to report (and possibly fix) the same problem. Glad to see there is a PR open.

@jasdev - Can we get a response for this PR? Would be very nice to have this warning removed.

@jasdev
Copy link
Copy Markdown
Contributor

jasdev commented Jan 22, 2016

@thrasr Hey! I don't actually work at Imgur anymore, so I can't merge this :/ Maybe @jacobgreenleaf can help?

jacob-pascual pushed a commit that referenced this pull request Jan 22, 2016
@jacob-pascual jacob-pascual merged commit 1a67a0d into Imgur:master Jan 22, 2016
@jacob-pascual
Copy link
Copy Markdown
Contributor

I will upload this to PIP later. Thanks @r-hughes

@thrasr
Copy link
Copy Markdown

thrasr commented Jan 22, 2016

👍

Thanks guys =D

@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 22, 2016

No problem. I'll send you the bill.

@ghost ghost deleted the r-hughes-upload_from_path_close_file branch January 25, 2016 11:16
@OrganicIrradiation
Copy link
Copy Markdown

I'm still getting the ResourceWarning with the PyPI version (1.1.6, uploaded 2015-04-23). @jacobgreenleaf could you upload the fixed version?

@OrganicIrradiation OrganicIrradiation mentioned this pull request Feb 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants