Serhiy Storchaka added the comment:

And here is a patch which uses __index__ for uid and gid conversion. 
decimal.Decimal should be added to the list of wrong types in the test.

I'm not sure about the last patch, whether to consider it as a bugfix or as a 
new feature?

----------
nosy: +skrah
versions: +Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29073/posix_uid_gid_conv_index.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15301>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to