Date: Tue, 17 Aug 2004 09:52:36 +0200 From: Franz Klammer <klammer@webonaut.com> To: Jeremy Messenger <mezz7@cox.net> Cc: pav@freebsd.org Subject: Re: please test gdesklets-0.30 on 4.x Message-ID: <4121B944.5030703@webonaut.com> In-Reply-To: <opscuace179aq2h7@mezz> References: <4120A1A5.2060002@webonaut.com> <1092664929.476.36.camel@pav.hide.vol.cz> <4120C7A5.2010504@webonaut.com> <1092667534.476.41.camel@pav.hide.vol.cz> <4120CD37.4040603@webonaut.com> <1092670330.476.69.camel@pav.hide.vol.cz> <4120E780.6020102@webonaut.com> <opscuace179aq2h7@mezz>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote: > On Mon, 16 Aug 2004 18:57:36 +0200, Franz Klammer > <klammer@webonaut.com> wrote: > >> Pav Lucistnik wrote: >> >>> >>> calendar >>> >>> can't load sensor Calendar. >>> >> >> found a solution/workaround: >> Calendar try to import a module that doesn't exist any more in 0.30. >> >> attached a patch (hi! mezz ;-)). > > > Thanks for create a patch! I shall commit it when 0.30 goes in the > ports tree. Umm, a question, why do you remove the -O and *.pyo? a good question :-) i always thought that .pyc is more optimized than .pyo an therefore and to install not so much (not really necessary?) files i removed all .pyo's from my ports. ok! today i looked at python.org and read that my thoughts are basically wrong but: "When the Python interpreter is invoked with the -O flag, optimized code is generated and stored in .pyo files. The optimizer currently doesn't help much; it only removes assert statements. When -O is used, all bytecode is optimized; .pyc files are ignored and .py files are compiled to optimized bytecode." more here: http://www.python.org/doc/current/tut/node8.html#SECTION008120000000000000000 so i still think it's a too minor optimization to install .pyo file too. franz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4121B944.5030703>