python35 values for http status codes not ints
Bug #1629460 reported by
Eric Brown
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Wishlist
|
Eric Brown |
Bug Description
The values of Python 3.5 http status codes via http_client.OK, for example, are enums not ints like in py27 and py34. This can cause potential trouble and the unit tests are catching the difference.
Python 2.7/3.4
>>> from six.moves import http_client
>>> http_client.
400
Python 3.5
>>> from six.moves import http_client
>>> http_client.
<HTTPStatus.
https:/
https:/
Changed in keystone: | |
assignee: | nobody → Eric Brown (ericwb) |
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Are we looking to add a py35 environment to our tox.ini file?