Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Comments

Close side panel

closed file in upload_from_path#56

Merged
jacob-pascual merged 1 commit intomasterImgur/imgurpython:masterfrom
unknown repositoryCopy head branch name to clipboard
Jan 22, 2016
Merged

closed file in upload_from_path#56
jacob-pascual merged 1 commit intomasterImgur/imgurpython:masterfrom
unknown repositoryCopy head branch name to clipboard

Conversation

@ghost
Copy link

@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

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
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
Contributor

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

@thrasr
Copy link

thrasr commented Jan 22, 2016

👍

Thanks guys =D

@ghost
Copy link
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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.