CoffeaTeam / fsspec-xrootd

An XRootD implementation for fsspec
https://coffeateam.github.io/fsspec-xrootd/
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Fix read_bytes #52

Closed chrisburr closed 6 months ago

chrisburr commented 6 months ago

Yes. After running into this bug, I wrote test_read_bytes_fsspec against a local file to make sure I understood the expected behavior and then fixed fsspec-xrootd.

chrisburr commented 6 months ago

See https://github.com/fsspec/filesystem_spec/blob/8a542c8c555614ab91fe07ce27a2d3dd3fd6700f/fsspec/spec.py#L1484-L1486