[Cython] Context.extract_module_name() not being used in Context.compile() at Main.py

Stefan Behnel stefan_ml at behnel.de
Fri Jun 6 07:46:48 CEST 2008


Hi,

Lisandro Dalcin wrote:
>         if full_module_name is None:
>             full_module_name, _ = os.path.splitext(source)
>             full_module_name = re.sub(r'[\\/]', '.', full_module_name)
>             full_module_name = re.sub(r'[^\w.]', '_', full_module_name)
> 
> Iff I comment-out those lines, then all works with your latest patch.

another good catch, thanks!

Stefan



More information about the Cython-dev mailing list