Ethan Furman added the comment: Enhancement portion split off into issue20092.
Attached patch includes doc change, tests, and code changes. If I'm overstepping my bounds, I'm sure somebody will slap me with a fish. ;) ---------- keywords: +patch stage: test needed -> patch review title: hex() and %x, oct() and %o do not behave the same -> %c, %o, %x, %X accept non-integer values instead of raising an exception type: enhancement -> behavior versions: +Python 3.4 -Python 3.5 Added file: http://bugs.python.org/file33284/issue19995.stoneleaf.01.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com