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.
Created on 2011年05月03日 21:17 by datamuc, last changed 2022年04月11日 14:57 by admin.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| shutil.py.diff | datamuc, 2011年05月03日 21:17 | deprecate shutil.copy2 | review | |
| Messages (4) | |||
|---|---|---|---|
| msg135073 - (view) | Author: Danijel (datamuc) | Date: 2011年05月03日 21:17 | |
The function name is really ugly. The attached patch introduces an optional parameter to shutil.copy. |
|||
| msg135326 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2011年05月06日 16:56 | |
Thanks for the report. Could you elaborate a bit on the rational for the change? Aesthetics are usually not sufficient to change things; on the other hand, use of simplicity is a goal. Is is easier to remember two functions for two uses or to have one function with a parameter? Are users confused by the two functions with unhelpful names? These are the kinds of questions to answer before considering breaking everyone’s code with a deprecation and removal. Would you be willing to raise the issue on the python-ideas mailing list to get feedback? Thanks in advance. |
|||
| msg290580 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年03月27日 10:49 | |
I like proposed changed. |
|||
| msg319375 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) | Date: 2018年06月12日 10:23 | |
If such a thing goes in then copytree() should also be taken into account and expose the same parameter. That would probably be inconsistent with copytree()'s copy_function parameter though. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:16 | admin | set | github: 56198 |
| 2018年06月12日 10:23:36 | giampaolo.rodola | set | nosy:
+ giampaolo.rodola messages: + msg319375 |
| 2017年03月27日 10:49:19 | vstinner | set | status: pending -> open nosy: + vstinner messages: + msg290580 |
| 2017年03月26日 10:37:20 | serhiy.storchaka | set | status: open -> pending |
| 2011年05月06日 16:56:56 | eric.araujo | set | nosy:
+ rhettinger, eric.araujo messages: + msg135326 versions: + Python 3.3, - Python 3.4 |
| 2011年05月03日 21:17:59 | datamuc | create | |