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@python
components: Documentation
messages: 191502
nosy: docs@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 <[email protected]>
<http://bugs.python.org/issue18269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com