You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
decorator for clean file closing for PyPy compatability (migrated from Trac #597) #588
Address an issue where file handles aren't closed immediately by the garbage collector in PyPy. By creating a decorator we for functions which do io, we can tell what they send (pathname or filehandle) and close the file if they send a path.
Activity
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @bjedwards, 2011-07-15
We need to change the files that do IO to use this.
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2011-09-11
This was updated. Now works with pypy. See #632.
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2011-09-11
Errors with the partial numpy are pretty awful but I don't think we can do anything (easily) about that:
'''