Changes between Initial Version and Version 1 of Ticket #14912, comment 56


Ignore:
Timestamp:
12/09/13 11:32:23 (7 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14912, comment 56

    initial v1  
    22> Could this be the garbage collector triggering `__del__` *after* the doctest? If so, one could easily fix this by explicitly trashing all instances in the doctest.
    33
    4 Isn't deletion of this instance supposed to be ''immediately''? After all, Python's cyclic garbage is not involved in this example, since the to-be-deleted objects are not part of any reference cycle.
     4Isn't deletion of this instance supposed to be ''immediate''? After all, Python's cyclic garbage is not involved in this example, since the to-be-deleted objects are not part of any reference cycle.
    55
    66Weird. Any idea about (1) the reason and (2) how to fix it?