[issue22665] shutil.__all__ incomplete

2014-11-01 Thread Berker Peksag
Berker Peksag added the comment: I agree with Martin. Plus, this method already used by other tests (see Lib/test/test_nntplib.py and Lib/test/test_warnings.py for example). -- ___ Python tracker rep...@bugs.python.org

[issue22665] shutil.__all__ incomplete

2014-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 232520144c6c by Berker Peksag in branch '3.4': Issue #22665: Add missing get_terminal_size and SameFileError to shutil.__all__. https://hg.python.org/cpython/rev/232520144c6c New changeset 193ac288bc7f by Berker Peksag in branch 'default': Issue

[issue22665] shutil.__all__ incomplete

2014-11-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Martin. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22665

[issue22665] shutil.__all__ incomplete

2014-10-24 Thread Éric Araujo
Éric Araujo added the comment: IIRC test___all__ can be used for this. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22665 ___

[issue22665] shutil.__all__ incomplete

2014-10-24 Thread Martin Panter
Martin Panter added the comment: Looking at Lib/test/test___all__.py, that module just makes sure that the names imported with “from ... import *” are the same as listed in the __all__ attribute. It does no know what the __all__ attribute is meant to contain. --

[issue22665] shutil.__all__ incomplete

2014-10-19 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch. I also added SameFileError. -- assignee: - berker.peksag keywords: +patch nosy: +berker.peksag stage: - patch review versions: +Python 3.5 Added file: http://bugs.python.org/file36969/issue22665.diff

[issue22665] shutil.__all__ incomplete

2014-10-17 Thread Martin Panter
New submission from Martin Panter: Continuing on from Issue 22247 (other out-of-date __all__ attributes), shutil.__all__ is missing (at least) get_terminal_size(), which was implemented for Issue 13609. -- components: Library (Lib) messages: 229630 nosy: vadmium priority: normal