[
https://issues.apache.org/jira/browse/LIBCLOUD-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495802#comment-13495802
]
Tomaz Muraus commented on LIBCLOUD-257:
---------------------------------------
Ah, thanks for the explanation. I'll have a look at Python source code and see
how HEAD requests are handled in 2.6 and 2.7.
As far as only running the code in some versions, we use sys.version_info.
> S3 get_object hangs when object doesn't exist but only on python 2.6
> --------------------------------------------------------------------
>
> Key: LIBCLOUD-257
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-257
> Project: Libcloud
> Issue Type: Bug
> Components: Storage
> Environment: Python2.6
> Reporter: John Carr
> Attachments: fix_s3_hanging_python26.diff
>
>
> A colleague wrote a proof-of-concept script against S3 with libcloud and
> python 2.7. When I tried to run it on a 2.6 machine it failed. It hung whilst
> calling get_object. I traced this back to a change between python 2.6 and 2.7
> and how it handles 'HEAD' requests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira