-
Notifications
You must be signed in to change notification settings - Fork 95
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
Python 3 support #113
Python 3 support #113
Conversation
We do not need to convert the ast to source code before passing it to the RestrictedPython machinery. It takes the result of the 2.7 ast.parse() as well.
If pip installs AccessControl before RestrictedPyton, it will pick up the latest release instead of the other develop dependency.
This should not happen as we're dealing with parsed documents here and even if it happened, the solution is to not raise old-style class exceptions.
This actually uses the C extension under Py3.
…ble for ensuring the c implementation works the same way the python implementation does.
…emove the `unicode = str` workaround that is just wrong). This means some other tests might fail now that worked before, but those need better fixes anyway.
Turn them into failures.
We had a discussion at the current Zope sprint about what to do with the id attribute of persistent objects, which ends up both in the physical path as well as the URL. Our current thought is to make those native string, much like WSGI (PEP 3333) treats the HTTP headers. So the id will be of the |
Once those pass, we can run the tests for additional Products.
…ytes Pass bytes for file content.
…_encoding Juggle bytes / text for compressing copy-paste cookie.
I've merged in cleaned up version of this into master, further fixes can be done as PR's directly against master. |
Fixes #39.