[Python-Dev] Python Language Summit at PyCon: Agenda

Michael Foord fuzzyman at voidspace.org.uk
Tue Mar 5 01:39:40 CET 2013


On 1 Mar 2013, at 18:38, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Fri, 1 Mar 2013 09:32:23 -0500
> Barry Warsaw <barry at python.org> wrote:
>> 
>>> On the other hand in some ways Jython is sort of like Python on a
>>> weird virtual OS that lets the real OS bleed through some. This may
>>> still need to be checked in that way (there's are still checks of <if
>>> os.name == 'nt'> right?)
>> 
>> Yeah, but that all ooooold code ;)
> 
> Hmm, what do you mean? `os.name == 'nt'` is still the proper way to
> test that we're running on a Windows system (more accurately, over the
> Windows API).
> 

It has been used incorrectly in a few places in the Python standard library - Windows support code that would work correctly on IronPython is skipped because os.name is *not* 'nt' on IronPython.  That was the case in the past anyway. It's quite some time since I've used IronPython now.

Michael

> Regards
> 
> Antoine.
> 
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk


--
http://www.voidspace.org.uk/


May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing 
http://www.sqlite.org/different.html







More information about the Python-Dev mailing list