[Python-ideas] BetterWalk, a better and faster os.walk() for Python

Mike Meyer mwm at mired.org
Fri Nov 23 15:32:52 CET 2012

Steven D'Aprano <steve at pearwood.info> wrote:
>On 23/11/12 13:48, Andrew Barnert wrote:
>>> From: Robert Collins<robertc at robertcollins.net>
>>> Sent: Thu, November 22, 2012 4:26:49 PM
>>> If you want to test cold cache behaviour, see 
>> On a Mac? There's no /proc filesystem on OS X; that's linux-specific.
>I don't think that is correct. /proc is a UNIX feature, not just Linux.
>exists on Unixes such as FreeBSD, OpenBSD, NetBSD, Solaris, AIX, as
>well as
>Unix-like Linux and QNX. Even Plan 9, which is not Unix, has /proc.

I believe /proc came from Plan 9. However, it's not a standard Unix feature. Last time I checked it was optional on FreeBSD and disabled by default. The FreeBSD version is also different from the Linux version, sufficiently so that there's a second /proc for the Linux emulation layer.  And like Andrew, I find no /proc on my Macs. 

>OS X is also a Unix. Since 10.5, OS X has been registered with the SUS
>("Single UNIX Specification") and has received UNIX certification.

Unlike the free unices. Makes it a good platform for developing Unix software on.
Sent from my Android tablet with K-9 Mail. Please excuse my swyping.

More information about the Python-ideas mailing list