[Python-modules-team] Bug#821886: proselint: clear_cache() function clears the current directory instead of the cache directory

Víctor Cuadrado Juan me at viccuad.me
Thu Jun 16 10:52:02 UTC 2016


Sorry for letting this issue idle so much, real life happened (change
of job and country).


On Wed, 20 Apr 2016 16:35:43 +0800 Paul Wise <pabs at debian.org> wrote:
> When I run `proselint --debug` from my home directory it searches my
> whole home directory for *.pyc files and deletes them. While *.pyc
> files are usually Python bytecode that might not be true for every user
> and even if they were, that doesn't mean the user doesn't want to keep
> them. Either way it is completely unacceptable to delete stuff from the
> user's home directory just because they want to debug proselint.

This is indeed a problem, didn't catch it before.

I have patched it at the Debian side (since it doesn't make sense to
have it), and opened an issue upstream to discuss it [1].


> Also, what happened to removing use of shell=True?

That is fixed on upstream's master, waiting to be released yet [2].
Sadly I don't have much time to test and release a git snapshot, so I
have opened a blocker bug [3] and I will await for a new upstream
release.

[1]: https://github.com/amperser/proselint/issues/490
[2]: https://github.com/amperser/proselint/issues/395
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827445

Cheers,

-- 
Víctor Cuadrado Juan           me at viccuad.me

PGP key ID: 4096R: 0xA2591E231E251F36
Key fingerprint: E3C5 114C 0C5B 4C49 BA03  0991 A259 1E23 1E25 1F36
My signed E-Mails are trustworthy.



More information about the Python-modules-team mailing list