Re: [Python-Dev] What is the precise problem? [was: Reference cycles in Exception.__traceback__]

2014年3月10日 03:12:27 -0700

2014年03月08日 16:30 GMT+01:00 Maciej Fijalkowski <[email protected]>:
> How about fixing cyclic gc to deal with __del__ instead? That sounds
> like an awful change to the semantics.
Hum? That's the purpose of the PEP 442 which is implemented in Python 3.4.
As I wrote, it's not enough to fix all issues.
Usually, I see an explicit call to gc.collect() as a workaround to a
deeper issue. I prefer to modify my program to run smoothly without
explict garbage collection.
That's why I would prefer to avoid creating reference cycles from the beginning.
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to