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

ResourceWarning: unclosed - No explicit way to close Cursor() object #1093

Closed
seanharr11 opened this issue Aug 22, 2018 · 0 comments
Closed
Labels
Bug This is regarding a bug with the library
Milestone

Comments

@seanharr11
Copy link

The underlying socket used by the Cursor object is never closed, nor is there a clear way to close the cursor in the API docs.

/env/lib/python3.6/site-packages/tweepy/binder.py:222: ResourceWarning: unclosed <ssl.SSLSocket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.109.111.33', 63234), raddr=('104.244.42.66', 443)>
    self.api.last_response = resp
@Harmon758 Harmon758 added the Bug This is regarding a bug with the library label Jul 9, 2019
@Harmon758 Harmon758 added this to the 3.8 milestone Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is regarding a bug with the library
Projects
None yet
Development

No branches or pull requests

2 participants