Skip to content

Conversation

cclauss
Copy link

@cclauss cclauss commented Feb 10, 2025

Just in case Jython ever gets to Python 3...

Turn off 800+ lint rules to only look for Python SyntaxErrors.

capitulos/code/11-pythonic-obj/private/expose.py:9:7:
    SyntaxError: Simple statements must be separated by newlines or semicolons
capitulos/code/11-pythonic-obj/private/leakprivate.py:13:15:
    SyntaxError: Simple statements must be separated by newlines or semicolons
capitulos/code/11-pythonic-obj/private/leakprivate.py:14:15:
    SyntaxError: Simple statements must be separated by newlines or semicolons
capitulos/code/11-pythonic-obj/private/no_respect.py:19:15:
    SyntaxError: Simple statements must be separated by newlines or semicolons

% uv tool run --python=3.12 --from=future futurize --stage1 --write capitulos/code/11-pythonic-obj/private

@ramalho
Copy link
Contributor

ramalho commented Aug 25, 2025

Thanks for your contribution, @cclauss. However, I am rejecting your PR because the Jython code should remain as it is, using Python 2.7 syntax, until Jython catches up to Python 3.

@ramalho ramalho closed this Aug 25, 2025
@cclauss cclauss deleted the patch-1 branch August 25, 2025 20:40
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

Successfully merging this pull request may close these issues.

2 participants