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

py2exe / python2.7 / syntax error in "yield from" lines #202

Closed
erazor83 opened this issue Dec 15, 2016 · 2 comments
Closed

py2exe / python2.7 / syntax error in "yield from" lines #202

erazor83 opened this issue Dec 15, 2016 · 2 comments

Comments

@erazor83
Copy link

Hi.

I'm a bit confused about my py2exe output right now.
Using ws4py on my webapp works nicely with python2 under windows and linux.

Now I tried to use py2exe which complains about "yield from" statements in ws4py code.

I'm wondering why python2 doesn't complain but py2exe does? Is there some kind of compatibility stuff I'm missing? Because "yield from" is not supported in python2.7 afaik.

Thanks for your response.

@erazor83
Copy link
Author

I've noticed that I don't use this file and it's most likely for python3 only.

@tito
Copy link
Contributor

tito commented Mar 24, 2017

The async_websocket module is used mostly with tulip server, which is for asyncio/tulip on Python 3. py2exe may import it while it should not, if you can put it in a black list, just do it :)

@tito tito closed this as completed Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants