Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error in gevent/_socket3.py with python2 #685

Closed
jlec opened this issue Nov 6, 2015 · 2 comments
Closed

syntax error in gevent/_socket3.py with python2 #685

jlec opened this issue Nov 6, 2015 · 2 comments
Labels
Status: not gevent Environment or otherwise not a gevent issue. No further work expected.

Comments

@jlec
Copy link

jlec commented Nov 6, 2015

writing byte-compilation script '/var/tmp/portage/dev-python/gevent-1.1_beta6/temp/tmpOh53QF.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/gevent-1.1_beta6/temp/tmpOh53QF.py
  File "/usr/lib64/python2.7/site-packages/gevent/_socket3.py", line 165
    def makefile(self, mode="r", buffering=None, *,
                                                  ^
SyntaxError: invalid syntax

removing /var/tmp/portage/dev-python/gevent-1.1_beta6/temp/tmpOh53QF.py
@jamadden jamadden added the Status: not gevent Environment or otherwise not a gevent issue. No further work expected. label Nov 6, 2015
@jamadden
Copy link
Member

jamadden commented Nov 6, 2015

This is known and expected and generally not a problem. See e.g., #601 among others.

@thedolphin
Copy link

Insert
%define _python_bytecompile_errors_terminate_build 0
in your rpm spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: not gevent Environment or otherwise not a gevent issue. No further work expected.
Projects
None yet
Development

No branches or pull requests

3 participants