Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

boto.config.getint doesn't work as expected in python3. #3337

Open
zhouxiaojian1985 opened this issue Sep 11, 2015 · 0 comments
Open

boto.config.getint doesn't work as expected in python3. #3337

zhouxiaojian1985 opened this issue Sep 11, 2015 · 0 comments

Comments

@zhouxiaojian1985
Copy link

my boto version is boto-2.38.0.

python2.7.10

>>> import boto
>>> boto.config.add_section('Boto')
>>> boto.config.set('Boto', 'http_socket_timeout', '10')
>>> boto.config.get('Boto', 'http_socket_timeout')
'10'
>>> boto.config.getint('Boto', 'http_socket_timeout')
10

python3.4.3:

>>> import boto
>>> boto.config.add_section('Boto')
>>> boto.config.set('Boto', 'http_socket_timeout', '10')
>>> boto.config.get('Boto', 'http_socket_timeout')
'10'
>>> boto.config.getint('Boto', 'http_socket_timeout')
0

We should expect 10 in python3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants