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
SpooledTemporaryFile and seekable() method #79293
Comments
Although seekable() method is implemented in the IOBase (which means it is callable in BytesIO and StringIO), SpooledTemporaryFile class from lib/tempfile.py still does not implement it. |
Thanks for the report. Search gives me a related issue with PR to implement IOBase for SpooledTemporaryFile : bpo-26175 |
Should I have been added my request there? Anyway I do suffer from lack of 'seekable()' implementation there. I'll go there and make a request |
The related issue already implements seekable and other methods for IOBase. As I can see from the open PR there are PR comments with respect to tests and docs that need to be acted upon as per reviewer's comments. With respect to this issue I propose closing this as a duplicate with bpo-26175 as superseder to continue your discussion there where it might be useful. Thanks! |
According to Karthikeyan request I'am moving this discussion to the right place, i.e. https://bugs.python.org/issue26175 |
@nubirstein You're welcome :) As noted in https://bugs.python.org/issue26175#msg328911 the PR has the implementation of seekable at https://github.com/python/cpython/pull/3249/files#diff-34b2145d7fe189e893ec7934afe9829cR761 . You can help with the PR reviews if any and hopefully it gets merged. Adding 26175 as superseder. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: