Comments (3)
So do you have a "main.py" to show?
from nuitka.
Function is not directly being called from main.py. It is a somewhat large project. So I am including the related files and sections-
This is the method definition: compiler.py
def compile(expression, escape_funcs=None, unescape_funcs=None):
"""
Compile grammar (given as regex string), returning a `CompiledGrammar`
instance.
"""
return _compile_from_parse_tree(
parse_regex(tokenize_regex(expression)),
escape_funcs=escape_funcs,
unescape_funcs=unescape_funcs)
And this is the calling script Grammer.py
from __future__ import unicode_literals
from prompt_toolkit.contrib.regular_languages.compiler import compile
from .commands import get_commands_taking_locations
#: The compiled grammar for the Vim command line.
COMMAND_GRAMMAR = compile(r"""
# Allow leading colons and whitespace. (They are ignored.)
:*
\s*
(
# Commands accepting a location.
(?P<command>%(commands_taking_locations)s)(?P<force>!?) \s+ (?P<location>[^\s]+)
""")
from nuitka.
I think you reported an issue already fixed in a hotfix release a while go. Please try out the last stable release and re-open if necessary
from nuitka.
Related Issues (20)
- assert memory_usage_name not in _memory_infos - AssertionError HOT 5
- Compilation problem when using WinLibs (GCC detection seems to be incorrect) HOT 8
- RuntimeError: wrapped C/C++ object of type Obj has been deleted HOT 2
- Is it possible to decompile an extension module (.pyd, .so) or exectuable generated by Nuitka? (No) HOT 1
- FATAL: Error, problem with dependency scan of“darwin.so” with "ibgdal.34.dylib" please report the bug. HOT 9
- Downloaded MinGW64 is not usable when home directory path is non-DOS HOT 3
- Unable to open project after converting QML file to pyd and compiling with UPX HOT 1
- Standalone: Standard library scan can crash with .git folders present HOT 5
- Error while compiling project with Yaml config file HOT 4
- RecursiveScriptModule' has no attribute '_construct HOT 1
- Virus total 29/72 antiviruses say my program compiled with Nuitka has virus HOT 5
- ModuleNotFoundError: No module named `scipy.special._cdflib` with `SciPy-1.13.0` HOT 4
- supoortability of @Slot(name="xxx") HOT 1
- Nuitka scanning for executables does not ignore directories of the same name (was locating GCC wrong) HOT 7
- get RuntimeError when use getattr() to get a non-exist attribute on asgiref.local.Local HOT 6
- Build imgui-bundle example successfully into excutable, but crashed at getting windows WndProc hook HOT 14
- compile standalone, incorrect __file__ variable HOT 7
- SetConsoleCtrlHandler not working with console HOT 7
- Nuitka-Scons: Non downloaded winlibs-gcc 'H:\MinGW\bin\gcc.exe' is being ignored, Nuitka is very dependent on the precise one. HOT 4
- Packaging mlc-llm HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuitka.