Skip to content

More explanation for Brace yourself! #114

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

Closed
zhe-li opened this issue Jan 18, 2019 · 1 comment
Closed

More explanation for Brace yourself! #114

zhe-li opened this issue Jan 18, 2019 · 1 comment
Milestone

Comments

@zhe-li
Copy link

zhe-li commented Jan 18, 2019

Hi,

Regarding 'Brace yourself!', I think it worth adding more explanation for where 'SyntaxError: not a chance' comes from and how it works.

I checked __future__ code, but could not find any 'braces'. I was wondering where the response 'SyntaxError: not a chance' comes from. Then I found answer from stackoverflow in the link below.

https://stackoverflow.com/questions/21125228/where-is-the-from-future-import-braces-code/21125305#21125305

Both the answer and the first comment of the answer are helpful to understand what happens under the hood. So I would suggest to them to 'Brace yourself!'

@satwikkansal satwikkansal added this to the 3.0 milestone May 1, 2019
satwikkansal added a commit that referenced this issue Jun 9, 2019
@satwikkansal
Copy link
Owner

@zhe-li Added, thanks for the suggestion :) You can check the above commit and let me know if something's incorrect or missing.

satwikkansal added a commit that referenced this issue Oct 28, 2019
muscliary pushed a commit to muscliary/wtfpython that referenced this issue Sep 12, 2023
muscliary pushed a commit to muscliary/wtfpython that referenced this issue Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants