Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-19 Thread Barry Warsaw
On Sep 19, 2012, at 07:20 AM, Dmitry Shachnev wrote: @Scott: please merge Barry's branch :) I also think we should use a different version number (something like 3.2.3.6) to fix bug #684431. Piotr mentioned he was going to try to get to it today. signature.asc Description: PGP signature

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-18 Thread Dmitry Shachnev
On Tue, 18/09/2012 11:05 -0400, Barry Warsaw wrote: So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for directories that should not be removed. * update

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-18 Thread Barry Warsaw
On Sep 18, 2012, at 07:37 PM, Dmitry Shachnev wrote: On Tue, 18/09/2012 11:05 -0400, Barry Warsaw wrote: So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-18 Thread Barry Warsaw
On Sep 18, 2012, at 07:37 PM, Dmitry Shachnev wrote: On Tue, 18/09/2012 11:05 -0400, Barry Warsaw wrote: So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-18 Thread Barry Warsaw
Okay, I don't have permission either to commit changes to pkg-python. My branch, ready for merging and sponsorship, is at bzr branch bzr+ssh://bzr.debian.org/home/users/warsaw-guest/public_bzr/pkg-python/bug-685167 dget http://barry.warsaw.us/debian/python3-defaults_3.2.3-6.dsc

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-18 Thread Dmitry Shachnev
@Scott: please merge Barry's branch :) I also think we should use a different version number (something like 3.2.3.6) to fix bug #684431. -- Dmitry Shachnev 2012/9/18, Barry Warsaw ba...@python.org: Okay, I don't have permission either to commit changes to pkg-python. My branch, ready for

Bug#685167: py3clean removes *.pyc of foreign packages

2012-09-13 Thread Dmitry Shachnev
Control: tags -1 +patch The attached patch adds a special case for files in */python3/dist-packages directories to py3clean. -- Dmitry Shachnev Author: Dmitry Shachnev mity...@gmail.com Description: Don't remove *.py[co] files of foreign packages Bug: http://bugs.debian.org/685167 === modified

Bug#685167: py3clean removes *.pyc of foreign packages

2012-08-17 Thread Jakub Wilk
Package: python3 Version: 3.2.3-5 Severity: important py3clean removes *.pyc files that belong to other packages than requested: # apt-get install -qq python3-pkg-resources python3-gnupg debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected