Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:password': 0.05; 'subject:code': 0.07; 'feature.': 0.09; 'python': 0.11; '-tkc': 0.16; 'duplicates': 0.16; 'filters,': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:Killing': 0.16; 'subject:run': 0.16; 'subject:threads': 0.16; 'threw': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'portion': 0.22; 'header:In-Reply-To:1': 0.27; 'external': 0.29; "doesn't": 0.30; '(my': 0.31; 'subject:the': 0.34; 'subject: (': 0.35; 'subject:with': 0.35; 'but': 0.35; 'useful': 0.36; 'charset:us-ascii': 0.36; 'filter': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'subject:Can': 0.60; 'new': 0.61; 'back': 0.62; 'received:50.22': 0.84; 'subject:know': 0.84 Date: Wed, 2 Oct 2013 08:21:43 -0500 From: Tim Chase To: python-list@python.org Subject: Re: Killing threads with TB (was: Can arbitrary code run in a server if someone's know just the MySQL password?) In-Reply-To: <82d41351-a5b7-46ff-98af-2576127ec02c@googlegroups.com> References: <82d41351-a5b7-46ff-98af-2576127ec02c@googlegroups.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Importance: low X-Priority: 5 (Lowest) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Get-Message-Sender-Via: boston.accountservergroup.com: none X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380720003 news.xs4all.nl 15924 [2001:888:2000:d::a6]:33920 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55330 On 2013-10-02 05:38, feedthetroll@gmx.de wrote: > (Hey Thunderbird has a very useful new feature. Ignore thread.) Unfortunately, as of when I last tested it, it only works in the newsgroup part of TB, not the mail portion of TB. Sadly, Claws-Mail (my current mailer) doesn't have a native kill-thread functionality, but it does support external message filters, so I threw together a kill-thread filter in Python (bringing this back on-topic) which duplicates the TB functionality that I missed. -tkc