Don't check f.loc in _get_extraction_protocol_with_magic_number
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-05-11T16:38:59Z
https://github.com/huggingface/datasets/pull/4318#issuecomment-1124003022
https://api.github.com/repos/huggingface/datasets/issues/4318
IC_kwDODunzps5C_uzO
https://api.github.com/repos/huggingface/datasets/issues/comments/1124003022/reactions
2022-05-11T16:57:02Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1124003022
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
`f.loc` doesn't always exist for file-like objects in python. I removed it since it was not necessary anyway (we always seek the file to 0 after reading the magic number)

Fix https://github.com/huggingface/datasets/issues/4310