Davin Potts added the comment: Attaching patch for default (3.6) branch which implements what was previously described and discussed, updates the documentation to explain this updated behavior, and includes new tests.
@yselivanov: Can you think of any edge cases that should be handled but we're missing? ---------- nosy: +yselivanov stage: needs patch -> patch review Added file: http://bugs.python.org/file44402/issue_6766_py36.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com