Xavier de Gaye <xdeg...@gmail.com> added the comment: Both the change in my previous post or using a definition for 'res' are not needed if 'dup3_works' is removed. That would make the code more clear for both gcc and a human reader. The attached patch removes it.
Using a definition for 'res' LGTM also. ---------- Added file: https://bugs.python.org/file47366/without-dup3_works.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32441> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com