$ cython --version Cython version 0.27 $ cat tmp.pyx def f() -> (list, list): return [], []
$ cython tmp.pyx Error compiling Cython file: ------------------------------------------------------------ ... def f() -> (list, list): ^ ------------------------------------------------------------ tmp.pyx:1:12: C struct/union member cannot be a Python object Error compiling Cython file: ------------------------------------------------------------ ... def f() -> (list, list): ^ ------------------------------------------------------------ tmp.pyx:1:12: C struct/union member cannot be a Python object -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 0109 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459 _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel