Skip to content

add experimental way to compile using Nuitka#64

Merged
kristiker merged 1 commit intokristiker:masterfrom
sr229:nuitka
Feb 28, 2025
Merged

add experimental way to compile using Nuitka#64
kristiker merged 1 commit intokristiker:masterfrom
sr229:nuitka

Conversation

@sr229
Copy link
Contributor

@sr229 sr229 commented Feb 28, 2025

There's not much benefit other than it gets flagged less by AV scanners as a trojan

There's not much benefit other than it gets flagged less by AV scanners as a trojan
@kristiker kristiker merged commit 73c1aa2 into kristiker:master Feb 28, 2025
1 check failed
@kristiker
Copy link
Owner

Didn't quite work with Python 3.11

  File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\nuitka\tree\TreeHelpers.py", line 78, in parseSourceCodeToAst
    body = ast.parse(source_code, filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: source code string cannot contain null bytes
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'. Please include it in your bug
Nuitka-Reports: report.

@sr229
Copy link
Contributor Author

sr229 commented Mar 4, 2025

Didn't quite work with Python 3.11

  File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\nuitka\tree\TreeHelpers.py", line 78, in parseSourceCodeToAst
    body = ast.parse(source_code, filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: source code string cannot contain null bytes
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'. Please include it in your bug
Nuitka-Reports: report.

I'll check it out, I tested this with CPython 3.13

@sr229 sr229 deleted the nuitka branch March 4, 2025 03:13
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