[Python-Dev] Compiling 2.7.2 on OS/2

Steven D'Aprano steve at pearwood.info
Mon Jan 9 11:02:57 CET 2012


Victor Stinner wrote:
>> -        if os.name in ('nt', 'os2'):
>> +        if os.name in ('nt'):
> 
> This change is wrong: it should be os.name == 'nt'.

Or possibly os.name in ('nt', ) (note the comma).


-- 
Steven



More information about the Python-Dev mailing list