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

Fails on Python 3 #14

Open
mauritsvanrees opened this issue Oct 8, 2020 · 0 comments
Open

Fails on Python 3 #14

mauritsvanrees opened this issue Oct 8, 2020 · 0 comments

Comments

@mauritsvanrees
Copy link
Member

I tried running this with Python 3.8 but it failed:

$ bin/zopeedit --help
Traceback (most recent call last):
  File "bin/zopeedit", line 14, in <module>
    import collective.zopeedit.zopeedit
  File "/Users/maurits/tmp/external/src/collective.zopeedit/collective/zopeedit/zopeedit.py", line 346
    os.chmod(self.input_file, 0777)
                                 ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

Fixing this just leads to the next error:

$ bin/zopeedit --help
Traceback (most recent call last):
  File "bin/zopeedit", line 14, in <module>
    import collective.zopeedit.zopeedit
  File "/Users/maurits/tmp/external/src/collective.zopeedit/collective/zopeedit/zopeedit.py", line 375
    raise exc, exc_data
             ^
SyntaxError: invalid syntax

I don't use zopeedit, I just wanted to try it out for plone/Products.CMFPlone#3190.
So I am not going to work on this. This is just a marker so people can see it does not yet work on Python 3.

Are there plans for Python 3?

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

1 participant