[gem5-dev] Re: python versions used by SCons and gem5

2021-08-05 Thread Jason Lowe-Power via gem5-dev
For MyPy that won't help.. the problem is that it looks for _m5/objects/.py *file* which doesn't exist on disk... we have to somehow convince it to look in the marshalled data. I was playing around with this, but I haven't figured it out yet. BTW, your suggested changes get a +1 from me. Cheers,

[gem5-dev] Re: python versions used by SCons and gem5

2021-08-05 Thread Gabe Black via gem5-dev
On Thu, Aug 5, 2021 at 3:08 PM Bobby Bruce wrote: > Hey Gabe, > > Just so we're on the same page, I'd like to take a moment to outline how I > understand this problem/solution. Please let me know if I've understood > correctly: > > We essentially have three components of the project which interpr

[gem5-dev] Re: python versions used by SCons and gem5

2021-08-05 Thread Bobby Bruce via gem5-dev
Hey Gabe, Just so we're on the same page, I'd like to take a moment to outline how I understand this problem/solution. Please let me know if I've understood correctly: We essentially have three components of the project which interpret gem5 Python code: The gem5 binary, the Marshal binary, and th

[gem5-dev] Re: python versions used by SCons and gem5

2021-07-30 Thread Gabe Black via gem5-dev
Hi folks, particularly Bobby who made a change related to this fairly recently. Please offer some feedback, or I'll be forced to assume your silence is tacit agreement. Gabe On Wed, Jul 28, 2021 at 8:30 PM Gabe Black wrote: > Bump... > > On Sat, Jul 24, 2021 at 1:16 AM Gabe Black wrote: > >> H

[gem5-dev] Re: python versions used by SCons and gem5

2021-07-28 Thread Gabe Black via gem5-dev
Bump... On Sat, Jul 24, 2021 at 1:16 AM Gabe Black wrote: > Hi folks. > > I think often when we think of how python is used by gem5, many people > (myself included) tend to think of it as a monolithic entity, or in other > words that there is just *the* python that gets used by everything. The >