mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 17:15:38 +07:00
- 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
8 lines
78 B
Python
8 lines
78 B
Python
class A:
|
|
|
|
def __getattr__(self, item):
|
|
print(item)
|
|
|
|
|
|
a = A()
|
|
a.foo |