[issue40589] Missing path-like versionchanged in shutil.rmtree

2020-05-12 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Thank you for your PR Ville, but I think this change cannot be accept.

There was a ton of functions which became supporting path-like objects in 3.6. 
We deliberately did not add versionchanged directives to them because it would 
just add a noise.

shutil.rmtree() is not special. If we decide to add versionchanged for it, we 
would need to add versionchanged to many tens or hundreds of other functions 
and methods.

--
nosy: +serhiy.storchaka
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40589] Missing path-like versionchanged in shutil.rmtree

2020-05-10 Thread Ville Skyttä

Change by Ville Skyttä :


--
keywords: +patch
pull_requests: +19341
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20032

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40589] Missing path-like versionchanged in shutil.rmtree

2020-05-10 Thread Ville Skyttä

New submission from Ville Skyttä :

shutil.rmtree takes a path-like object starting from 3.6 (due to internal use 
of os.lstat which does that too).

--
assignee: docs@python
components: Documentation
messages: 368613
nosy: docs@python, scop
priority: normal
severity: normal
status: open
title: Missing path-like versionchanged in shutil.rmtree

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com