Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed2a.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.045 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'python,': 0.02; 'suggest': 0.14; 'ah,': 0.16; 'readable': 0.16; 'tool.': 0.16; 'subject:python': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'code.': 0.18; 'text,': 0.24; 'extension': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'info.': 0.31; 'to:name:python-list': 0.33; 'basic': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'doubt': 0.36; 'doing': 0.36; 'useful': 0.36; 'thanks': 0.36; 'so,': 0.37; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'though,': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'major': 0.40; 'easy': 0.60; 'removal': 0.74; 'compiling': 0.84; 'imagine': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=YAK8wwntYQYSjORKM9TyMM1TxUyXnIfbYWGBi+tP3vE=; b=lcoRnMX99lv2KWmJhYcpSL38XHgRAxuhCYdpqbkKzIthF83istZxoeAdIAv8nLSWis NmyCs+T42QYuKS8Uz0E086Rh2cHAWLFSVoCdM3HqoD0VCajq/a8/760YKRfE1PDJUEiq 1Kyr7AG8oX7EQnYBeX3UDvFMnOivdgvOBeZZsGtoUSZj93IfPvvov1+28DYcQXf/Hx4B xfum5rULVF8FOofjWoBNT6SHOsrT3cZEF42c4+rttSJKQDgclOezBQ6wFiKPJWAV7yXm kVDHE0QKV7TZNbUFmaA6DTLcQum9+f/XxX1VdsS6wnddcRSADQ7eOi1mHhXhq6hkU6bv mHJg== X-Received: by 10.152.22.166 with SMTP id e6mr69360laf.71.1397252921192; Fri, 11 Apr 2014 14:48:41 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: <802155420418900251.086281sturla.molden-gmail.com@news.gmane.org> References: <802155420418900251.086281sturla.molden-gmail.com@news.gmane.org> From: Joshua Landau Date: Fri, 11 Apr 2014 22:48:01 +0100 X-Google-Sender-Auth: -F2Ush1Md7kW3F2ki8If8noPEl4 Subject: Re: python obfuscate To: python-list Content-Type: text/plain; charset=UTF-8 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397252929 news.xs4all.nl 2918 [2001:888:2000:d::a6]:38359 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70169 On 11 April 2014 10:17, Sturla Molden wrote: > Joshua Landau wrote: > >> However, if this really is your major blocker to using Python, I >> suggest compiling with Cython. > > Cython restains all the code as text, e.g. to readable generate exceptions. > Users can also still steal the extension modules and use them in their own > code. In general, Cython is not useful as an obfuscation tool. Ah, thanks for the info. I imagine it's perfectly easy to get around that, though, through basic removal at the C phase. I doubt it's worthwhile doing so, but deobfuscation will still be harder than a .pyc.