[Twisted-Python] RC's of Win32 installers for 2.0.0

David Ripton dripton at ripton.net
Wed Mar 30 22:23:11 EST 2005

On 2005.03.31 10:38:30 +0000, Christopher Armstrong wrote:
> On Wed, 30 Mar 2005 13:24:58 -0800, Cory Dodt
> <corydodt at twistedmatrix.com> wrote:
> > There's nothing wrong with including the .pyc files per se, except they
> > increase the footprint a fair amount.  pyc is cross-platform, cross-machine,
> > etc.  The reason I tried including them is because it makes the install go
> > faster (no .pyc compile step).  If a significant number of people want a
> > smaller installer, I'll take them out.
> > 
> > Thanks for the report, glad to hear everything's working for you.
> They also break tracebacks, because PYCs refer to locations of
> associated PY files, which is how the traceback renderers look up
> lines of code to display in tracebacks.

They also break across Python versions.

$ python2.4 pysol_23.pyc
RuntimeError: Bad magic number in .pyc file

David Ripton    dripton at ripton.net

More information about the Twisted-Python mailing list