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

anatoly techtonik report at bugs.python.org
Thu Jun 20 08:24:57 CEST 2013


New submission from anatoly techtonik:

(<type 'int'>, '0755')
(<type 'int'>, '0644')
Traceback (most recent call last):
  File "./tools/bootstrap.py", line 185, in extract_zip
    os.fchmod(outfile, unixperm)
TypeError: an integer is required


Here the integer that is required is not `unixperm`, but `outfile`.

----------
assignee: docs at python
components: Documentation
messages: 191502
nosy: docs at python, techtonik
priority: normal
severity: normal
status: open
title: Clarify which integer is required in os.chmod() exception
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

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


More information about the docs mailing list