stark256-spec commented on PR #3454: URL: https://github.com/apache/iceberg-python/pull/3454#issuecomment-4747262608
The read-only side should be fully covered — `len()`, `in`, slicing, indexing, iteration, `count()`, `index()`, `reversed()`, `copy()`, `+` (including reflected), and now `*` (including reflected) all call `_fetch_all()` before delegating to `list`. Pushed `__mul__`/`__rmul__` in 1c3abd96 — same fix as `__add__`: `list.__mul__` reads the underlying array at the C level and would silently only repeat already-fetched pages. The mutating side (`append`, `extend`, `sort`, `+=`, etc.) is intentionally out of scope — mutation while pages are still pending is a different semantic question, and no existing callers mutate the result of `list_tables()`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
