aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-08-22 13:09:43 +0200
committerChristian Tismer <tismer@stackless.com>2019-08-22 19:24:54 +0200
commit28958dfae22cc6e52dfb71c4b00c20aba72531a1 (patch)
tree61b8d680ce5935cdd984a8b1b9e36e5d8627b0ab /sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp
parent01b43dc3d93e632c3c42fb8e1105f200b9cee2ae (diff)
Fix a typing bug in Python 2.7 and update
The typing module has problems if it exists twice. This gave trouble with matplotlib, when typing was imported and then called PySide indirectly. The only reliable cure appears to be to use the typing module if it is already in sys.modules . The typing27 modue was updated to the latest version of https://github.com/python/typing (original file with additional license headers). Fixes: PYSIDE-1073 Change-Id: Iebfdfe7fd51080a9334db332719928c001501381 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtQml/pysideqmlregistertype.cpp')
0 files changed, 0 insertions, 0 deletions