Message84129
amaury> The patch is fine.
Cool :-) Anyone to commit the fix? Maybe, tarek?
amaury> If it were me, I'd change os.walk to accept
amaury> keyword-only arguments:
amaury> def walk(top, *, topdown=True, onerror=None,
amaury> followlinks=False):
amaury> ...
I like the idea but it should be proposed in a new issue :-) I
proposed an API change for open() (issue #4121) but it was rejected by
Guido:
"(...) Beyond 3.0, I'm still rather reluctant -- I expect most users
will be wise and use keyword args anyway; I'm not sure what we buy by
forcing this. (...)"
But walk() is a different case than open(). |
|
Date |
User |
Action |
Args |
2009-03-24 23:51:45 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, tarek, legerf |
2009-03-24 23:51:44 | vstinner | set | messageid: <[email protected]> |
2009-03-24 23:51:43 | vstinner | link | issue4601 messages |
2009-03-24 23:51:42 | vstinner | create | |
|