Opened 3 years ago

#690 new defect

allow illegal Python module names when embedding

Reported by: scoder Owned by: somebody
Priority: minor Milestone: wishlist
Component: Build System Keywords:
Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.