Xavier de Gaye added the comment: Since this seems to be fixed in a version of android that is more recent that API 21, maybe use the value of 'sdk.release' when platform.android_ver() is available after issue #26855 is fixed, with for example, if this is fixed at API 23:
sdk_release = platform.android_ver()[1] if new_fd != fd or not sdk_release or sdk_release >= 23: ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26935> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com