[Python-ideas] site.py uses os.sep to determine platform
random832 at fastmail.com
Sun Feb 12 15:51:42 EST 2017
On Sun, Feb 12, 2017, at 07:26, Alex Walters wrote:
> On august 7th, 1998, Guido committed
> 3e893 to python, adding the quit() and exit() built-ins. He decided to
> determine the platform python was running on by checking os.sep. I don't
> understand the rationale behind this choice in 1998, but I assume that
> was one.
My guess would be that the rationale was to group Windows together with
DOS and OS/2.
More information about the Python-ideas