This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients ajaksu2, l0nwlf, loewis, skip.montanaro
Date 2010-04-09.12:17:52
SpamBayes Score 1.3040402e-05
Marked as misclassified No
Message-id <19391.3816.141797.342184@montanaro.dyndns.org>
In-reply-to <1270791972.75.0.250402145498.issue4007@psf.upfronthosting.co.za>
Content
Martin> If it did eat the patch, we would have lost it by now: there is
    Martin> nothing in the history that shows that a file was attached at
    Martin> some point. More likely, Skip forgot to attach it when
    Martin> submitting this report.

Yeah, I must have just forgotten to attach it.  At one point I'm pretty sure
I had something in my sandbox, but have nothing now.  Removing .a files is
pretty straightforward.  Removing .so.X.Y files is a little more cumbersome
because globbing isn't perfect.  This (only lightly tested) patch should be
good enough though:

Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in     (revision 79207)
+++ Makefile.pre.in     (working copy)
@@ -1156,8 +1156,9 @@
        find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'

 clean: pycremoval
-       find . -name '*.o' -exec rm -f {} ';'
+       find . -name '*.[oa]' -exec rm -f {} ';'
        find . -name '*.s[ol]' -exec rm -f {} ';'
+       find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
        find build -name 'fficonfig.h' -exec rm -f {} ';' || true
        find build -name 'fficonfig.py' -exec rm -f {} ';' || true
        -rm -f Lib/lib2to3/*Grammar*.pickle

even though the second addition would also match files like

    Margaret.so.9a.1g4

Skip
History
Date User Action Args
2010-04-09 12:17:54skip.montanarosetrecipients: + skip.montanaro, loewis, ajaksu2, l0nwlf
2010-04-09 12:17:53skip.montanarolinkissue4007 messages
2010-04-09 12:17:52skip.montanarocreate