|
From: Mark J. <mja...@es...> - 2014-10-15 22:52:57
|
Thanks for the reiteration/clarification... Do you see any reason why a fail-safe check similar to what I proposed would be ill advised? MJ -----Original Message----- From: Matthew Brett [mailto:mat...@gm...] Sent: Wednesday, October 15, 2014 3:44 PM To: Mark Janikas Cc: Thomas Caswell; Phil Elson; Benjamin Root; Matplotlib Users Subject: Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice Hi, On Wed, Oct 15, 2014 at 2:56 PM, Mark Janikas <mja...@es...> wrote: > > When I replaced the file I got the 1st error below. As you had pointed out earlier… this is strange. It only occurs when you run it more than once… strange indeed… it is like a manager is being created and deleted but perhaps the reference hasn’t Just to echo what Tom said, the error suggests that ``gc.collect()`` is being called after the gc module is most of the way through being torn down, so that the ``collect`` function has already been deleted... Cheers, Matthew |