[Cython] CF based type inference

Stefan Behnel stefan_ml at behnel.de
Wed May 9 11:34:18 CEST 2012

Stefan Behnel, 08.05.2012 14:24:
> Vitja has rebased the type inference on the control flow

On a related note, is this fixable now?

  def test():
      x = 1    # inferred as int
      del x    # error: Deletion of non-Python, non-C++ object


It might be enough to infer "object" for names that are being del-ed for
now, and to fix "del" The Right Way when we split entries.


More information about the cython-devel mailing list