This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aeros
Recipients aeros, docs@python, jftuga, python-dev, rhettinger, serhiy.storchaka
Date 2020-05-24.02:26:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590287197.3.0.240155364836.issue40160@roundup.psfhosted.org>
In-reply-to
Content
> I made the suggested change to just print the os.remove() statements (instead of executing them) and also removed the 'skip news'.

I think you may have misunderstood the suggestion. 

Specifically, the key part was "I would suggest adding succinct comments or a note that very briefly explains how one could see a visual demonstration...". This would mean the actual code in the example would be *unchanged*, but with a new code comment or separate note after the example that explains how one could replace ``os.remove(os.path.join(root, name))`` with ``print(f"os.remove({os.path.join(root, name)})")`` for a purely visual demonstration that doesn't affect any local files.
History
Date User Action Args
2020-05-24 02:26:37aerossetrecipients: + aeros, rhettinger, docs@python, python-dev, serhiy.storchaka, jftuga
2020-05-24 02:26:37aerossetmessageid: <1590287197.3.0.240155364836.issue40160@roundup.psfhosted.org>
2020-05-24 02:26:37aeroslinkissue40160 messages
2020-05-24 02:26:37aeroscreate