Serhiy Storchaka added the comment:

The simplest way is just change PyTuple_Check to PyTuple_CheckExact in ceval.c. 
Maybe this is suboptimal for tuple subclasses (namedtuple?), but I think this 
is very rare case.

----------
keywords: +patch
stage: needs patch -> patch review
versions: +Python 3.7
Added file: http://bugs.python.org/file44785/issue28086.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28086>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to