New submission from Vajrasky Kok: In class Path, line 942, you have this comment:
# Public API but down there, in line 1048, you have this private method: def _raw_open(self, flags, mode=0o777): """ Open the file pointed by this path and return a file descriptor, as os.open() does. """ if self._closed: self._raise_closed() return self._accessor.open(self, flags, mode) Here is the patch to move this private method to where it belongs. ---------- components: Library (Lib) files: move_private_method_to_its_place.patch keywords: patch messages: 204926 nosy: pitrou, vajrasky priority: normal severity: normal status: open title: Misplaced private API method in pathlib.py versions: Python 3.4 Added file: http://bugs.python.org/file32928/move_private_method_to_its_place.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com