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

Support Python 3.9 #196

Closed
icemac opened this issue Jun 30, 2020 · 8 comments · Fixed by #200
Closed

Support Python 3.9 #196

icemac opened this issue Jun 30, 2020 · 8 comments · Fixed by #200
Assignees

Comments

@icemac
Copy link
Member

icemac commented Jun 30, 2020

Look through the change log of Python 3.9 for potential issues which need to be handled by RestrictedPython to prevent access to otherwise forbidden data.

@dataflake
Copy link
Member

I have scanned the Python 3.9-related parts of https://docs.python.org/3.9/whatsnew/changelog.html and couldn't see anything obvious. I paid special attention to the modules that are exposed as "safe", simple types and ast.

@icemac
Copy link
Member Author

icemac commented Jul 17, 2020

Thank you. We should wait for the final release until we officially declare that we support it.

Note to self: Python 3.9b4 was the released version at this time.

@dataflake
Copy link
Member

dataflake commented Aug 31, 2020

https://www.python.org/dev/peps/pep-0596/ mentions Monday October 5th as 3.9.0 release day

@icemac icemac self-assigned this Sep 28, 2020
@icemac
Copy link
Member Author

icemac commented Sep 28, 2020

Reviewed change log up to 3.9.0rc2 which is planned as the last non-final release before 3.9-final.

So only reviewing the changes in the final release has to be done.

@icemac
Copy link
Member Author

icemac commented Oct 6, 2020

Additionally the now operations | and |= on dictionaries have to be checked to work along the security restrictions.

@d-maurer
Copy link
Contributor

d-maurer commented Oct 6, 2020 via email

@icemac
Copy link
Member Author

icemac commented Oct 7, 2020

There is nothing problematic between Python 3.9.0rc2 and 3.9.0 final in the change log.

@icemac
Copy link
Member Author

icemac commented Oct 7, 2020

Conclusion: The new bit-or operators in Python 3.9 do not require changes in RestrictedPython.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants