[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-05-02 Thread Éric Araujo
Éric Araujo added the comment: IMO either change would not improve the code at all. Suggest closing this. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21391 ___

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-05-02 Thread Eric V. Smith
Eric V. Smith added the comment: I disagree. It took me longer than I'd like to admit to track down the file history and understand it. I'd like to prevent other people from having to try and understand why it works this way. On the other hand, it looks like people have discovered it:

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-05-01 Thread Yinon Ehrlich
Yinon Ehrlich added the comment: Use the 'abspath' shortcut instead of 'os.path.abspath' See the attached patch (sorry, forgot to attach before) -- keywords: +patch Added file: http://bugs.python.org/file35126/shutil.patch ___ Python tracker

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-05-01 Thread Eric V. Smith
Eric V. Smith added the comment: Wouldn't it be better to switch uses of abspath to be os.path.abspath? os.path is used elsewhere in the file, after all. Brett added from os.path import abspath in http://hg.python.org/cpython/rev/686e5d38be42 but I think that import should be deleted and

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-05-01 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21391 ___

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-04-30 Thread Yinon Ehrlich
Changes by Yinon Ehrlich yino...@users.sourceforge.net: -- components: Library (Lib) nosy: Yinon priority: normal severity: normal status: open title: PATCH: using the abspath shortcut in Lib/shutil versions: Python 3.5 ___ Python tracker

[issue21391] PATCH: using the abspath shortcut in Lib/shutil

2014-04-30 Thread Eric V. Smith
New submission from Eric V. Smith: If you meant to supply a patch, it is missing. And in any event, you need to describe the issue. -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21391