Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
libcloud 2.0.0
Description
With libcloud 2.0.0, it's no longer possible to send an iterator of unknown length to upload_object_via_stream. (Using it with GoogleStorageDriver myself.)
My use case is using iter(data) instead of io.BytesIO(data) + having to import io. In other words, I can work around the issue, but there are probably valid use cases for this.
Is the new behavior intended, or is it a bug that should be fixed?