[Python-Dev] Text about cycle GC

Greg Ward gward@mems-exchange.org
Thu, 29 Jun 2000 08:33:39 -0400


On 28 June 2000, Jeremy Hylton said:
>   PP> import cyclicgc
> 
>   PP> should turn on the -with-cycle-gc flag.
> 
> The -with-cycle-gc flag is an option to configure when you build
> Python.  It can't be turned on or off at runtime.

No, no, *obviously* Paul meant that "import cyclicgc" should configure
and compile a new Python interpreter with "--with-cycle-gc" and 'exec()'
it for you.  What else would it mean?

;-)

        Greg

(PS. if this were Perl, you could say

   use cyclegc;

to turn it on, and then elsewhere in your code

   no cyclegc;

to turn it off.  Maybe Python needs an "unimport" command?)

(Kidding!)