Re: [Python-Dev] os.walk() with followlinks=False

2012-01-12 Thread Nick Coghlan
On Thu, Jan 12, 2012 at 12:54 AM, Antoine Pitrou wrote: > On Wed, 11 Jan 2012 12:25:46 +1000 > Nick Coghlan wrote: >> If it's the latter... could we change it for 3.3, or is that too >> significant a breach of backwards compatibility? > > I think we could change it. For the benefit of those not

Re: [Python-Dev] os.walk() with followlinks=False

2012-01-11 Thread Antoine Pitrou
On Wed, 11 Jan 2012 12:25:46 +1000 Nick Coghlan wrote: > When discussing http://bugs.python.org/issue13734, Charles-François > noted that when os.walk() is called with "followlinks=False", symlinks > to directories are still included in the "subdirs" list rather than > the "files" list. > > This

[Python-Dev] os.walk() with followlinks=False

2012-01-10 Thread Nick Coghlan
When discussing http://bugs.python.org/issue13734, Charles-François noted that when os.walk() is called with "followlinks=False", symlinks to directories are still included in the "subdirs" list rather than the "files" list. This seems rather odd to me, so I'm asking here to see if there's a speci