Message258309
It is no doubt that is easy to work around. Once I found the problem it took about five minutes to fix it and roll a new release. And of course for Python 3.5+ code it is better to use the enum http.HTTPStatus directly (I actually like that enum a lot). But this breaks existing code that should not break. It might be too late to change now, though.
As a side note, I would also have preferred str(HTTPStatus.OK) to return "OK" or "200" - the latter would mirror default format behaviour - instead of "HTTPStatus.OK", but this may be too late as well. |
|
Date |
User |
Action |
Args |
2016-01-15 16:59:20 | srittau | set | recipients:
+ srittau, ethan.furman, serhiy.storchaka |
2016-01-15 16:59:20 | srittau | set | messageid: <1452877160.38.0.715490142301.issue26123@psf.upfronthosting.co.za> |
2016-01-15 16:59:20 | srittau | link | issue26123 messages |
2016-01-15 16:59:19 | srittau | create | |
|