New submission from Marc Udoff :
Hi,
The follow gives an unexpected error during compilation:
In [1]: %%cython
...: #cython: infer_types=True
...: class A:
...: def f(self):
...: x = max(self.a, self.a)
Removing max, or setting infer_types=False, or setting x = None first all make
it compile.
--
components: C API
files: cpython_error.txt
messages: 393548
nosy: mlucool
priority: normal
severity: normal
status: open
title: cython compiler error
type: compile error
versions: Python 3.7
Added file: https://bugs.python.org/file50039/cpython_error.txt
___
Python tracker
<https://bugs.python.org/issue44118>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com