This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: A possible thinko in the description of os.chmod
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, zhenya1007
Priority: normal Keywords:

Created on 2005-11-22 12:32 by zhenya1007, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26913 - (view) Author: Evgeny Roubinchtein (zhenya1007) Date: 2005-11-22 12:32
As of November 21, 2005, the description of os.chmod()
function at the following URL:
http://docs.python.org/lib/os-file-dir.html read: 

"chmod(  	path, mode)
    Change the mode of path to the numeric mode. mode
may take *one of the following values* (as defined in
the stat module):"[asterisks mine]

Shouldn't "one of the following values" be "a bitwise
OR of one or more of the following values", or similar
verbage? 
msg26914 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-11-22 19:16
Logged In: YES 
user_id=1188172

Corrected in revision 41509 and 41510 (2.4).
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42618
2005-11-22 12:32:17zhenya1007create