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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to