Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1245)

#15202: followlinks/follow_symlinks/symlinks flags unification.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 months, 3 weeks ago by storchaka
Modified:
10 months, 2 weeks ago
Reviewers:
larry
CC:
Georg, AntoinePitrou, larry, eric.araujo, Arfrever.FTA_GMail.Com, r.david.murray, devnull_psf.upfronthosting.co.za, hynek, storchaka
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 6

Patch Set 4 #

Patch Set 5 #

Patch Set 6 #

Patch Set 7 #

Total comments: 3

Patch Set 8 #

Total comments: 10

Patch Set 9 #

Patch Set 10 #

Patch Set 11 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/library/shutil.rst View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -15 lines 0 comments Download
Lib/shutil.py View 1 2 3 4 5 6 7 8 9 10 8 chunks +24 lines, -24 lines 0 comments Download
Lib/test/test_shutil.py View 1 2 3 4 5 6 7 8 9 10 8 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 8
larry
Just reviewed the code for now--not a full review. (Maybe later--right now I'm in a ...
10 months, 3 weeks ago #1
storchaka
http://bugs.python.org/review/15202/diff/5262/Lib/os.py File Lib/os.py (right): http://bugs.python.org/review/15202/diff/5262/Lib/os.py#newcode336 Lib/os.py:336: def walk(top, topdown=True, onerror=None, follow_symlinks=_sentry, *, followlinks=_sentry): On 2012/06/27 ...
10 months, 3 weeks ago #2
larry
I did a lot of editing on the documentation. I'd feel better if someone else ...
10 months, 3 weeks ago #3
storchaka
Larry, as now the patch will mainly consist of your edits may be you take ...
10 months, 3 weeks ago #4
larry
Okay, I'll produce the next patch. Thanks, Serhiy!
10 months, 3 weeks ago #5
larry
Yup, just one change, adding "*,". http://bugs.python.org/review/15202/diff/5291/Lib/os.py File Lib/os.py (right): http://bugs.python.org/review/15202/diff/5291/Lib/os.py#newcode427 Lib/os.py:427: def fwalk(top=".", topdown=True, ...
10 months, 3 weeks ago #6
storchaka
http://bugs.python.org/review/15202/diff/5291/Lib/os.py File Lib/os.py (right): http://bugs.python.org/review/15202/diff/5291/Lib/os.py#newcode427 Lib/os.py:427: def fwalk(top=".", topdown=True, onerror=None, follow_symlinks=False, *, dir_fd=None): On 2012/07/02 ...
10 months, 3 weeks ago #7
larry
10 months, 2 weeks ago #8
http://bugs.python.org/review/15202/diff/5291/Lib/os.py
File Lib/os.py (right):

http://bugs.python.org/review/15202/diff/5291/Lib/os.py#newcode427
Lib/os.py:427: def fwalk(top=".", topdown=True, onerror=None,
follow_symlinks=False, *, dir_fd=None):
On 2012/07/02 17:02:19, storchaka wrote:
> On 2012/07/02 16:12:12, larry wrote:
> > As with the other patch set: please add "*," in front of follow_symlinks.
> Why not in front of any other?

fwalk is *almost* the same as walk, and walk has a long history of taking
unlabeled boolean arguments.  I see your point but I'm not comfortable making
that big a change at this point.  I'd want to see a lot of support for that
change before making it.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7