Changes between Version 1 and Version 3 of Ticket #36158


Ignore:
Timestamp:
Feb 3, 2025, 1:21:56 AM (10 days ago)
Author:
Salvo Polizzi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36158

    • Property Severity NormalRelease blocker
    • Property Triage Stage UnreviewedAccepted
    • Property Version dev5.2
    • Property Has patch set
  • Ticket #36158 – Description

    v1 v3  
    1 
    21When `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.
    32
Back to Top