[Twisted-Python] Running twistd with a compiled file

anatoly techtonik techtonik at gmail.com
Thu Apr 21 17:11:25 EDT 2011


On Thu, Apr 21, 2011 at 8:26 PM,  <exarkun at twistedmatrix.com> wrote:
> On 04:28 pm, albert.brandl at weiermayer.com wrote:
>>On Thu, Apr 21, 2011 at 08:17:04AM -0400, Itamar Turner-Trauring wrote:
>>>The .tac file (or application.py) should typically be two lines of
>>>code,
>>>just importing everything from elsewhere, so really just having it in
>>>Python seems the easiest solution.
>>
>>This is a good argument. I was afraid that having the application as
>>source code might help in reverse engineering it, but starting the
>>debugger in the application does not reveal much information for
>>modules
>>that are compiled.
>
> This is the obligatory post in which it is pointed out that .pyc files
> are basically equivalent to .py files as far as revealing your source
> goes.

As the code comments are stripped from .pyc files, most enterprise
grade applications are safe. If that stuff is not complicated enough -
then it can be rewritten from scratch anyway.
--
anatoly t.



More information about the Twisted-Python mailing list