Crash when RecursionError should be thrown
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 16.8k
- Fork
- 4.5k
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 6
Mô tả
```python
class C():
@property
def x(self):
return self.x
C().x
```
See [here](https://stackoverflow.com/q/62356253/10133797); same if running as a file (main) or from within IPython 7.13.0, in Spyder 4.1.3. Some users reproduced this from within terminal (not myself), as attested in comments in linked SO.
**Update**: these were also reproduced by another user from terminal (and myself with Spyder):
```python
def f(*args):
f(*args)
f() # crash
```
```python
def f():
f()
f() # RecursionError (no crash)
def f(x):
f(x)
f(5) # RecursionError (no crash)
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.