[issue15301] os.chown: OverflowError: Python int too large to convert to C long

Serhiy Storchaka report at bugs.python.org
Thu Feb 14 12:33:08 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue15301>
_______________________________________


More information about the Python-bugs-list mailing list