On 07/09/2014 02:38 PM, Victor Stinner wrote:
2014-07-09 22:44 GMT+02:00 Ethan Furman:
On 07/09/2014 01:24 PM, Victor Stinner wrote:
[...] Python must remain
portable and you should not write code specific to one specific
platform.
Okay, so using that logic we should head over to the os module and remove: (...)
My comment was specific to the PEP 471, design of the DirEntry class.
And my comment was to the point of there being methods/attributes/return values that /do/ vary by platform, and /are/
documented as such. Even stat itself is not the same on Windows as posix.
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com