Files
maxim.popovandintellij-monorepo-bot 8803baa423 maximpopov/48306-debugger-bug-shape
- Fixes PY-48306 by checking for existence of a custom __getattr__ function. Uncommented is_safe_to_access() function usage in pydevd_xml.py
- Fixed additional bug found, when a class has `shape` property. Added check for property object in is_safe_to_access()

Merge-request: IJ-MR-166582
Merged-by: Maxim Popov <maxim.popov@jetbrains.com>

GitOrigin-RevId: 30e4cd25f3e1d3a18c69aa06b6ecd0f971a43d1a
2025-06-23 17:08:48 +00:00

12 lines
190 B
Python

class A:
def __init__(self):
self._shape = 3
@property
def shape(self):
print("called property")
return self._shape
a = A()
a.foo # line for breakpoint