[issue18269] Clarify which integer is required in os.chmod() exception

anatoly techtonik report at bugs.python.org
Thu Jun 20 19:35:45 CEST 2013


anatoly techtonik added the comment:

>>> v = open("VERSION")
>>> import os
>>> os.fchmod(v, 0664)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: an integer is required

----------
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18269>
_______________________________________


More information about the Python-bugs-list mailing list