[Cython] How to define C-consts in python module scope

Lisandro Dalcin dalcinl at gmail.com
Thu Jul 21 04:53:07 CEST 2011


On 20 July 2011 23:41, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hi,
>
> I think we're getting way off course with this discussion. The following is
> a good way to get back into a useful direction.
>
> Robert Bradshaw, 20.07.2011 23:24:
>>
>> it would be a runtime error when trying to import the
>> objects. I suppose if cimport does not inject anything into the python
>> namespace, then "cimport" could just work and "import" would work iff
>> the module is available at runtime.
>
> +1
>

+1, too... That was my whole point!


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the cython-devel mailing list