Skip to content

Commit 3569e69

Browse files
authored
Merge pull request kivy#5025 from KeyWeeUsr/example_twisted
Add NYI error for py3 twisted
2 parents b8b1a37 + b1b5ec9 commit 3569e69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kivy/support.py

+6
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ def install_twisted_reactor(**kwargs):
166166
put the twisted distribution (and zope.interface dependency) in your
167167
application directory.
168168
'''
169+
import sys
170+
if sys.version_info[0] > 2:
171+
raise NotImplementedError(
172+
"_threadselect interface of twisted is not available on Python 3."
173+
)
174+
169175
import twisted
170176

171177
# prevent installing more than once

0 commit comments

Comments
 (0)