Eli Bendersky added the comment: On Wed, Aug 14, 2013 at 6:24 AM, Serhiy Storchaka <rep...@bugs.python.org>wrote:
> > Serhiy Storchaka added the comment: > > I'm surprised that test_repr is not failed. '%i' % > socket.AddressFamily.AF_INET returns 'AddressFamily.AF_INET' instead of '2' > as I expected. Is not this a bug in IntEnum implementation? > I did notice it when playing with the implementation. Perhaps %i doesn't call enum? Need to look into it more carefully... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18720> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com