[issue34498] Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

Michał Radwański report at bugs.python.org
Sat Aug 25 12:52:30 EDT 2018


Michał Radwański <lisklusownik at gmail.com> added the comment:

The change is not only in the added `isinstance` check:

~ $ python3.6 -q
>>> import typing
>>> isinstance(typing.Sequence, type)
True
>>>
~ $ python3.7 -q
>>> import typing
>>> isinstance(typing.Sequence, type)
False
>>>

----------
nosy: +enedil

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34498>
_______________________________________


More information about the Python-bugs-list mailing list