Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
c75af179
Commit
c75af179
authored
6 years ago
by
Alexander Koshevoy
Browse files
Options
Download
Email Patches
Plain Diff
PY-33984 Restore the workaround for "ImportError: cannot import name 'TCyBinaryProtocol'" problem
parent
de21ea3a
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/helpers/third_party/thriftpy/_shaded_thriftpy/_compat.py
+1
-1
.../helpers/third_party/thriftpy/_shaded_thriftpy/_compat.py
with
1 addition
and
1 deletion
+1
-1
python/helpers/third_party/thriftpy/_shaded_thriftpy/_compat.py
+
1
-
1
View file @
c75af179
...
...
@@ -17,7 +17,7 @@ PY35 = sys.version_info >= (3, 5)
PYPY
=
"__pypy__"
in
sys
.
modules
UNIX
=
platform
.
system
()
in
(
"Linux"
,
"Darwin"
)
CYTHON
=
UNIX
and
not
PYPY
# Cython always disabled in pypy and windows
CYTHON
=
False
# only Python 2.7.9 and Python 3.4 or above have true ssl context
MODERN_SSL
=
sys
.
version_info
>=
(
2
,
7
,
9
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help