Join GitHub today
open() function does not support setting file permissions #824
The open() function does not support setting file permissions. The
1 similar comment
Bizarre, as far as I can tell that should never have been correct, e.g. I spot checked Python 2.2 (Paramiko dates back that far) and it's the same signature as now, unsurprisingly.
Seems this has been in since the beginning (01bf547) and nobody ever noticed because it doesn't cause exceptions (that, and this method isn't called terrifically often by most users).
Thanks for the catch!