Changes between Version 1 and Version 3 of Ticket #36158
- Timestamp:
- Feb 3, 2025, 1:21:56 AM (10 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36158
- Property Severity Normal → Release blocker
- Property Triage Stage Unreviewed → Accepted
- Property Version dev → 5.2
- Property Has patch set
-
Ticket #36158 – Description
v1 v3 1 2 1 When `get_and_report_namespace` is called with `verbosity=2`, it misreports the actual location where an object was created. This seems to happen because the function only considers objects with a `__module__` attribute. While this works correctly for functions and classes (which are defined in a module), it fails for instances. Since instances can be created elsewhere, the function incorrectly reports the module where the class was defined rather than where the instance was created. 3 2