Tolerate errors due to different gc implementations.
commitb59969a95876d0b8391cd29902230f6caf739edb
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 18 Dec 2012 09:56:22 +0000 (18 09:56 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Tue, 18 Dec 2012 09:56:22 +0000 (18 09:56 +0000)
tree9fd7a2644202bb2602d1e975022fd62774c5418f
parent57da6a51826a671ac6d2c4da48fc7a75b6233959
Tolerate errors due to different gc implementations.

Other Python implementations (e.g., PyPy, Jython) implement garbage
collection differently.  So guard our attempts to influence gc in
try...except to avoid failures if the expected functions are not
implemented.

Reported by: Vincent Belaïche <vincent.b.1@hotmail.fr>

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5410 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2svn_lib/main.py
cvs2svn_lib/pass_manager.py