Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'read.': 0.04; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'humans': 0.16; 'readable': 0.16; 'received:188.174': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'received:m-online.net': 0.16; 'refactoring': 0.16; 'subject:Tools': 0.16; 'header:In-Reply- To:1': 0.22; 'header:User-Agent:1': 0.23; 'subject:/': 0.25; 'idea': 0.26; 'stefan': 0.27; 'that.': 0.28; 'access.': 0.29; 'retaining': 0.29; 'code': 0.29; 'easier': 0.31; 'tool': 0.32; 'two': 0.35; 'there': 0.35; 'really': 0.36; 'header:X-Complaints- To:1': 0.36; 'that,': 0.37; 'some': 0.37; 'received:org': 0.38; 'to:addr:python-list': 0.39; 'to:addr:python.org': 0.40; 'received:188': 0.61; 'more': 0.63; 'apart': 0.66; 'making': 0.67; 'exact': 0.70 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Stefan Behnel Subject: Re: Tools for refactoring/obfuscation Date: Tue, 27 Mar 2012 15:12:08 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-188-174-134-215.customer.m-online.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332853946 news.xs4all.nl 6870 [2001:888:2000:d::a6]:46457 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22240 Javier, 07.03.2012 04:29: > I am looking for an automated tool for refactoring/obfuscation. Sadly, there really is one thing that these two have in common: they modify code while retaining its exact functionality. Apart from that, they are diametric opposites. Refactoring aims at making the code "better" in some way, e.g. by making it more readable or easier to extend. Obfuscation aims for making it worse, as in unreadable and hard to access. It's generally not a good idea to do that. Code is there for humans to read. Stefan