Opened 5 years ago
allow illegal Python module names when embedding
|Reported by:||scoder||Owned by:||somebody|
When embedding CPython, the module will usually not be imported but run directly. In this case, the same semantics as running the file with the Python interpreter should apply. This includes the support for arbitrary file names of the module, so that e.g. this works:
cython --embed illegal-python-identifier.py
This is especially interesting for the cythonrun functionality.