Re: [Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Nick Coghlan
On 12 February 2017 at 16:05, Steve Dower wrote: > It depends on what the code beneath the if is doing. "Windows" may be a > shorthand for "uses backslash", in which case the check is correct. In this case, it's to decide whether the default way of entering EOF at the terminal is by pressing Ctrl

Re: [Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Random832
On Sun, Feb 12, 2017, at 07:26, Alex Walters wrote: > On august 7th, 1998, Guido committed > https://github.com/python/cpython/commit/d89fa0c5761254c970af72e5abcea420fd2 > 3e893 to python, adding the quit() and exit() built-ins. He decided to > determine the platform python was running on by check

Re: [Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Stephan Houben
> > Cheers, > Steve > > Top-posted from my Windows Phone > -- > From: Alex Walters > Sent: ‎2/‎12/‎2017 4:35 > To: python-ideas@python.org > Subject: [Python-ideas] site.py uses os.sep to determine platform > > On august 7th, 1998, Gui

Re: [Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Steve Dower
rom my Windows Phone -Original Message- From: "Alex Walters" Sent: ‎2/‎12/‎2017 4:35 To: "python-ideas@python.org" Subject: [Python-ideas] site.py uses os.sep to determine platform On august 7th, 1998, Guido committed https://github.com/python/cpython/commit/d89fa0c5761254c970a

Re: [Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Oleg Broytman
On Sun, Feb 12, 2017 at 07:26:29AM -0500, Alex Walters wrote: > Is there any reason not to change... Do not change things that work for the sake of a change. Isn't it a good reason? Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers d

[Python-ideas] site.py uses os.sep to determine platform

2017-02-12 Thread Alex Walters
On august 7th, 1998, Guido committed https://github.com/python/cpython/commit/d89fa0c5761254c970af72e5abcea420fd2 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 ch