[New-bugs-announce] [issue9761] stale .pyc files aren't cleaned out

Steve Thompson report at bugs.python.org
Fri Sep 3 21:33:04 CEST 2010

New submission from Steve Thompson <steve.f.thompson at gmail.com>:

I'm running pythong 2.6.1 on Windows XP SP3.

On many occasions I have ran into cases where I've installed a new package via the package's setup.py (pylint, logilab-common, etc) and new .pyc files don't get generated when I attempt to run the tools/packages.  I'm not sure if this should be considered a package issue or an interpreter issue.  I'd like to see the interpreter regenerate the .pyc file as expected so my colleagues and I don't burn time on "broken" packages we know nothing about only to find out it was due to some stale .pyc files.  A quick fix would be to make the packages in question clean out their installation directories or regenerate all the pyc files manually.

How should this issue be handled?

components: Interpreter Core, Windows
messages: 115488
nosy: Steve.Thompson
priority: normal
severity: normal
status: open
title: stale .pyc files aren't cleaned out
type: behavior
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list