OS Neutrality in Python Development Guidelines?
Chris Johns
chrisj at rtems.org
Thu Apr 15 22:33:13 UTC 2021
On 16/4/21 6:58 am, Gedare Bloom wrote:
> Hello all,
>
> To revisit a little bit of a controversial subject :) The Python
> Development Guidelines have been in place now for a little while, but
> one thing that seems to have been missed entirely is guidance on
> writing Python code that is OS-neutral. This mostly matters if someone
> wants to try to run Python on Windows.
>
> I guess we should define something to add here? Is anything written
> somewhere we can adopt?
Yes please.
> Was this considered at all under the pre-qual effort (which stimulated
> these guidelines in the first place)? Do we have a Windows blind spot
> in our Python code bases?
The toolkit and RSB are OK on Windows and Unix. Both handle paths with a path.py
module that wraps path handling.
Chris
More information about the devel
mailing list