Kami commented on issue #1424: Documentation: Objectstore example is broken / 
libcloud does seek() on stream
URL: https://github.com/apache/libcloud/issues/1424#issuecomment-586755983
 
 
   Thanks for reporting this.
   
   Is this issue Python 3 specific?
   
   Having said that, one thing we could do is simply ignore "illegal seek" 
errors in that place, but I'm not sure that's the correct approach. It may mask 
real issues.
   
   ---
   
   EDIT: It looks like we indeed don't have a better option 
(https://bugs.python.org/issue12877) since Python sadly doesn't throw a more 
specific / better exception in that case (so we can't distinguish if underlying 
iterator doesn't support seek or it does support it and incorrect seek position 
is provided).
   
   We could have some specific case for pipes, but that's probably not the most 
robust approach...

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to