Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r84636:ece422823370 Date: 2016-05-23 12:25 -0700 http://bitbucket.org/pypy/pypy/changeset/ece422823370/
Log: fix _DirFD_Unavailable handling of None/not specified diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/module/posix/interp_posix.py +++ b/pypy/module/posix/interp_posix.py @@ -196,7 +196,7 @@ class _DirFD_Unavailable(Unwrapper): def unwrap(self, space, w_value): - dir_fd = unwrap_fd(space, w_value) + dir_fd = _unwrap_dirfd(space, w_value) if dir_fd == DEFAULT_DIR_FD: return dir_fd raise oefmt(space.w_NotImplementedError, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit