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

Provide whence feature in file handling #1737

Closed
meysam81 opened this issue Jul 6, 2022 · 1 comment
Closed

Provide whence feature in file handling #1737

meysam81 opened this issue Jul 6, 2022 · 1 comment

Comments

@meysam81
Copy link

meysam81 commented Jul 6, 2022

https://github.com/encode/starlette/blob/0673aebb14f33ac9c19f2aa71ea28f7a65b43017/starlette/datastructures.py#L467:L471

In some applications, there might be a need to use the whence feature. This might be a special use case but in some of our data applications, the pandas is leveraging the whence API and it would be really good if we don't have to manually handle that with self._file.seek(offset, whence) ourselves.

@euri10
Copy link
Member

euri10 commented Jul 6, 2022

this has been dismissed, see #1084

@euri10 euri10 closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants