public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] why are pyo files checked into git?
@ 2013-10-13  8:58 Dylan Baker
  2013-10-13 18:19 ` Matt Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Dylan Baker @ 2013-10-13  8:58 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

I'm just wondering why (slightly, and maybe determinatally) optimized versions 
of the python modules are checked into git and distributed with it?

I'm asking becasue there are a couple of problems with pyo files (vs pyc), 
namely they strip assert statements. The second concern is that the only 
benefit is that they will make a first run slightly faster, after that the 
user should be able to generate them themselves, and being binary git won't 
handle them well.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] why are pyo files checked into git?
  2013-10-13  8:58 [gentoo-catalyst] why are pyo files checked into git? Dylan Baker
@ 2013-10-13 18:19 ` Matt Turner
  2013-10-13 20:49   ` Dylan Baker
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Turner @ 2013-10-13 18:19 UTC (permalink / raw
  To: gentoo-catalyst

On Sun, Oct 13, 2013 at 1:58 AM, Dylan Baker <baker.dylan.c@gmail.com> wrote:
> I'm just wondering why (slightly, and maybe determinatally) optimized versions
> of the python modules are checked into git and distributed with it?
>
> I'm asking becasue there are a couple of problems with pyo files (vs pyc),
> namely they strip assert statements. The second concern is that the only
> benefit is that they will make a first run slightly faster, after that the
> user should be able to generate them themselves, and being binary git won't
> handle them well.

In which branch? I just checked and didn't spot any pyc or pyo files in git.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] why are pyo files checked into git?
  2013-10-13 18:19 ` Matt Turner
@ 2013-10-13 20:49   ` Dylan Baker
  0 siblings, 0 replies; 3+ messages in thread
From: Dylan Baker @ 2013-10-13 20:49 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: Matt Turner

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

On Sunday, October 13, 2013 11:19:15 AM Matt Turner wrote:
> On Sun, Oct 13, 2013 at 1:58 AM, Dylan Baker <baker.dylan.c@gmail.com> 
wrote:
> > I'm just wondering why (slightly, and maybe determinatally) optimized
> > versions of the python modules are checked into git and distributed with
> > it?
> > 
> > I'm asking becasue there are a couple of problems with pyo files (vs pyc),
> > namely they strip assert statements. The second concern is that the only
> > benefit is that they will make a first run slightly faster, after that the
> > user should be able to generate them themselves, and being binary git
> > won't
> > handle them well.
> 
> In which branch? I just checked and didn't spot any pyc or pyo files in git.

Yeah, I just realized that I shouldn't send emails at 2Am...

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-13 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13  8:58 [gentoo-catalyst] why are pyo files checked into git? Dylan Baker
2013-10-13 18:19 ` Matt Turner
2013-10-13 20:49   ` Dylan Baker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox