[Python-Dev] PEP 683: "Immortal Objects, Using a Fixed Refcount" (round 2)

2022-02-18 Thread Eric Snow
Thanks to all those that provided feedback. I've worked to substantially update the PEP in response. The text is included below. Further feedback is appreciated. -eric PEP: 683 Title: Immortal Objects, Using a Fixed Refcount Author: Eric Snow , Eddie Elizondo Discussi

[Python-Dev] Re: PEP 683: "Immortal Objects, Using a Fixed Refcount"

2022-02-18 Thread Eric Snow
On Wed, Feb 16, 2022 at 11:06 AM Larry Hastings wrote: > I experimented with this at the EuroPython sprints in Berlin years ago. I > was sitting next to MvL, who had an interesting observation about it. Classic MvL! :) > He suggested(*) all the constants unmarshalled as part of loading a modu

[Python-Dev] Github Issues Migration is coming soon

2022-02-18 Thread Łukasz Langa
I just published the migration plan and a call to action on Discourse: https://discuss.python.org/t/github-issues-migration-is-coming-soon/13791 -- See you there, Łukasz Langa CPython Developer in Residence Python Softwar

[Python-Dev] Summary of Python tracker Issues

2022-02-18 Thread Python tracker
ACTIVITY SUMMARY (2022-02-11 - 2022-02-18) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open7218 (+40) closed 51299 (+27) total 58517 (+67) Open issues wi

[Python-Dev] Re: PEP 683: "Immortal Objects, Using a Fixed Refcount"

2022-02-18 Thread Eric Snow
On Wed, Feb 16, 2022 at 8:45 PM Inada Naoki wrote: > Is there any common tool that utilize CoW by mmap? > If you know, please its link to the PEP. > If there is no common tool, most Python users can get benefit from this. Sorry, I'm not aware of any, but I also haven't researched the topic much.

[Python-Dev] Re: Compiling of ast.Module in Python 3.10 and co_firstlineno behavior

2022-02-18 Thread Mark Shannon
Hi Fabio, On 17/02/2022 7:30 pm, Fabio Zadrozny wrote: Em qui., 17 de fev. de 2022 às 16:05, Mark Shannon mailto:m...@hotpy.org>> escreveu: Hi Fabio, This happened as part of implementing PEP 626. The previous behavior isn't very robust w.r.t doc strings and compiler optimizat

[Python-Dev] Re: Compiling of ast.Module in Python 3.10 and co_firstlineno behavior

2022-02-18 Thread Fabio Zadrozny
Em qui., 17 de fev. de 2022 às 17:55, Gabriele escreveu: > Hi Fabio > > Does the actual function object get re-created as well during the > recompilation process that you have described? Perhaps it might help > to note that the __code__ attribute of a function object f can be > mutated and that f