2.4 VS 3.1 for simple print

Chris Rebert clp2 at rebertia.com
Fri Jul 10 17:28:07 EDT 2009


On Fri, Jul 10, 2009 at 2:16 PM, earthlink<noen> wrote:
> Why does
> print "GarbageCollector: collected %d objects." % (gc.collect())
>
> work in 2.4 but not in 3.1?

Define "works". What error are you getting? Include the exact message
and full error traceback.
Or if no exception is being raised, explain exactly how is it behaving
differently from your expectations.

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list