[Python-Dev] PEP 362 Third Revision (original) (raw)

Larry Hastings larry at hastings.org
Fri Jun 15 05:17:26 CEST 2012


On 06/14/2012 07:49 PM, Benjamin Peterson wrote:

In that case wouldn't be nicer to have os level attribute ala os.path.supportsunicodefilenames?

os.supportsatfunctions is gobs nicer than os.chown.signature.parameters['fd'].isimplemented Not "implementing" all parameters (whatever exactly that means) is not a very common case for a function, so I don't see what it needs to pollute a signature object for every Python function.

We can safely agree to disagree here.

Also, it's more granular than that. For example, Python now understands symbolic links on Windows--but only haphazardly at best. The "follow_symlinks" argument works on Windows for os.stat() but not for os.chmod().

//arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120614/0619e194/attachment.html>



More information about the Python-Dev mailing list