[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-11 Thread Hynek Schlawack
Change by Hynek Schlawack : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread miss-islington
miss-islington added the comment: New changeset 14a343a9af27725faeab8b330a6d66ff573704d3 by Miss Islington (bot) in branch '3.9': bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585) https://github.com/python/cpython/commit/14a343a9af27725faeab8b330a6d66ff573704d3

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread miss-islington
miss-islington added the comment: New changeset c745b36ee3786fabc9231a43c085218df27dcd47 by Miss Islington (bot) in branch '3.8': bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585) https://github.com/python/cpython/commit/c745b36ee3786fabc9231a43c085218df27dcd47

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +22124 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23228 ___ Python tracker ___

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +22125 pull_request: https://github.com/python/cpython/pull/23229 ___ Python tracker ___

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-11-10 Thread miss-islington
miss-islington added the comment: New changeset e59b2deffde61e5641cabd65034fa11b4db898ba by Michal Čihař in branch 'master': bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585) https://github.com/python/cpython/commit/e59b2deffde61e5641cabd65034fa11b4db898ba --

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added Hynek, the original committer of this code. -- nosy: +giampaolo.rodola, hynek, serhiy.storchaka, tarek versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue42014] shutil.rmtree calls onerror with different function than failed

2020-10-12 Thread Michal Čihař
New submission from Michal Čihař : The onerror callback is called with os.lstat when the actual failing function is os.open. To reproduce create directory that can not be listed: import os import shutil def onerror(func, path, exc_info): print(func) os.mkdir("test") os.chmod("test", 0)