[IronPython] os.access

J. Merrill jvm_cop at spamcop.net
Mon Jan 29 01:37:43 CET 2007


The CRT (C-language runtime) is not available to .Net code (except through unmanaged code), so it's not as simple to do this as just P/Invoking that routine.

Unfortunately the pointer in the page you mention below to the .Net equivalent doesn't point to the description of code that does the equivalent thing; it points to the definition of an enumeration that needs to be used in the implementation of a method equivalent to access().

At 09:20 AM 1/27/2007, Sanghyeon Seo wrote (in part)
>It would be nice to have a basic implementation of os.access in IronPython.
>[snip]
>CPython simply calls access() function of CRT to implement it on Windows:
>http://msdn2.microsoft.com/en-us/library/1w06ktdy(VS.80).aspx
>
>-- 
>Seo Sanghyeon


J. Merrill / Analytical Software Corp





More information about the Ironpython-users mailing list