[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: msvc-inval: more options

From: Paolo Bonzini
Subject: Re: msvc-inval: more options
Date: Mon, 26 Sep 2011 09:01:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

On 09/25/2011 11:46 PM, Bastien ROUCARIES wrote:
Did you seehttp://bugs.python.org/issue4804  ?


A little bit hackhish but seems to work

That would provide a lot more flexibility, including:

* the ability to implement O_INHERIT (i.e. O_CLOEXEC) correctly

* the ability to reimplement open and friends using the underlying NTDLL functions (Unicode-friendly, >260 characters per path, etc.)

* the ability to use _free_osfhnd in the close module

However, it is bad that these data structures can change for every version of MSVC. At some point, you have to balance flexibility and maintainability.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]