[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Irit Katriel via Python-Dev
Hi Matthieu, Yes I am interested. Please ping me for PR reviews or any progress updates. Thanks Irit > On 5 Jul 2022, at 20:27, Matthieu Dartiailh wrote: > >  Hi Irit, hi Patrick, > > Thanks for your quick answers. > > First thanks Patrick, it seems I went back to the stable docs at one

[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Matthieu Dartiailh
Hi Irit, hi Patrick, Thanks for your quick answers. First thanks Patrick, it seems I went back to the stable docs at one point without noticing it and hence I missed the new opcodes. Thanks Irit for the clarification regarding the pseudo-instructions use in dis. Regarding the existence of

[Python-Dev] Announcing the Diátaxis Documentation Workshop

2022-07-05 Thread Mariatta
Diátaxis Documentation Workshop The Python documentation community will be hosting a free two-part workshop by Daniele Procida , the creator of the Diátaxis framework . Each session will be two hours; including

[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Patrick Reader
On 05/07/2022 09:22, Matthieu Dartiailh wrote: This surprised me on two levels: - first I have never seen the RESUME opcode and it is currently not documented RESUME occurs at the start of every function (and some other places), and is only used for some internal interpreter bookkeeping. It is

[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Irit Katriel via Python-Dev
Hi Matthieu, The dis output for this function in 3.12 is the same as it is in 3.11. The pseudo-instructions are emitted by the compiler's codegen stage, but never make it to compiled bytecode. They are removed or replaced by real opcodes before the code object is created. The recent change to

[Python-Dev] Python 3.11 bytecode and exception table

2022-07-05 Thread Matthieu Dartiailh
Hi all, I am the current maintainer of bytecode (https://github.com/MatthieuDartiailh/bytecode) which is a library to perform assembly and disassembly of Python bytecode. The library was created by V. Stinner. I started looking in Python 3.11 support in bytecode, I read