[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Chris Angelico
On Mon, Mar 22, 2021 at 5:37 PM Ben Rudiak-Gould wrote: > > On Sun, Mar 21, 2021 at 11:10 PM Chris Angelico wrote: >> >> At what point does the process_objects list cease to be referenced? >> After the last visible use of it, or at the end of the function? > > > In Python as it stands, at the end

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Ben Rudiak-Gould
On Sun, Mar 21, 2021 at 11:10 PM Chris Angelico wrote: > At what point does the process_objects list cease to be referenced? > After the last visible use of it, or at the end of the function? In Python as it stands, at the end of the function, as you say. Skip Montanaro's PEP suggested that in

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Chris Angelico
On Mon, Mar 22, 2021 at 3:14 PM Guido van Rossum wrote: > > On Sun, Mar 21, 2021 at 3:35 PM Chris Angelico wrote: >> >> On Mon, Mar 22, 2021 at 7:49 AM Ben Rudiak-Gould wrote: >> > >> > In the "Object Lifetime" section you say "registers should be cleared upon >> > last reference". That isn't s

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Guido van Rossum
On Sun, Mar 21, 2021 at 3:35 PM Chris Angelico wrote: > On Mon, Mar 22, 2021 at 7:49 AM Ben Rudiak-Gould > wrote: > > > > In the "Object Lifetime" section you say "registers should be cleared > upon last reference". That isn't safe, since there can be hidden > dependencies on side effects of __d

[Python-ideas] Re: Installer/target architecture mismatch

2021-03-21 Thread Guido van Rossum
Can you file a bug for this on bpo and add Steve Dower to the nosy list? On Fri, Mar 19, 2021 at 17:04 Dany Lisiansky wrote: > An odd suggestion/request here, hope it's the right place to discuss it. > > So I was trying to install python on the Xbox series S (yup..), so far I > got the embedded

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Chris Angelico
On Mon, Mar 22, 2021 at 7:49 AM Ben Rudiak-Gould wrote: > > In the "Object Lifetime" section you say "registers should be cleared upon > last reference". That isn't safe, since there can be hidden dependencies on > side effects of __del__, e.g.: > > process_objects = create_pipeline() >

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Ben Rudiak-Gould
In the "Object Lifetime" section you say "registers should be cleared upon last reference". That isn't safe, since there can be hidden dependencies on side effects of __del__, e.g.: process_objects = create_pipeline() output_process = process_objects[-1] return output_process.wait() I

[Python-ideas] Re: Looking for people interested in a Python register virtual machine project

2021-03-21 Thread Paul Sokolovsky
Hello, On Sat, 20 Mar 2021 10:54:10 -0500 Skip Montanaro wrote: > Back in the late 90s (!) I worked on a reimagining of the Python > virtual machine as a register-based VM based on 1.5.2. I got part of > the way with that, but never completed it. In the early 2010s, Victor > Stinner got much fur