Victor Stinner

Results 48 issues of Victor Stinner

Replace MyFrame_lasti() with PyFrame_GetLasti(): Python 3.11.0b1 adds PyFrame_GetLasti(). Add pythoncapi_compat.h header file to get PyFrame_GetLasti() on Python 3.10 and older. File copied from: https://github.com/python/pythoncapi_compat Keep compatibility code for alpha versions...

* On Python 3.11a6 and newer, get the PyFrameObject structure from the internal C API ("internal/pycore_frame.h"). * On Python 3.9 and newer, use PyFrame_GetBack() and PyFrame_GetCode(). * Add frame getter...

FYI I plan to remove the smtpd module from the Python 3.11 standard library. In my change, I suggest to replace smtpd with aiosmtpd ;-) * https://bugs.python.org/issue28533 * https://mail.python.org/archives/list/[email protected]/thread/LZOOLX5EKOITW55TW7JQYKLXJUPCAJB4/

spawnv_passfds() function is implemented in billiard/compat.py. On Pytho 3, it calls a private Python function: _posixsubprocess.fork_exec(). The problem is that the API of this function changed in Python 3.9, it...

I replaced master/slave with parent/child or server/client in Python. I'm now replacing whitelist/blacklist with allowlist/denylist in Python: * https://bugs.python.org/issue34605 * https://bugs.python.org/issue41521 It may be nice to have a list of...

enhancement
guide-new content
topic-documentation

The issue title seems trivial, but in practice there are many traps. See for example: https://github.com/python/cpython/pull/2851/files Adding a new test directory requires to modify Makefile.pre.in and PCbuild/lib.pyproj.

enhancement
topic-dev process
guide-new content

hg_startup failed on the py3 job of Travis CI. I had to disable again this benchmark on Python 3. It's an issue related to virtual environment which is not specific...

On PyPy, I don't think that performance currently measures correctly performance after the code has been optimized by the JIT compiler. I started a thread on the PyPy mailing list:...

A system can run with no free swap space. ## Summary * OS: Linux * Bug fix: yes * Type: tests * Fixes: { comma-separated list of issues fixed by...

Examples of the C API documentation should be updated to use the new PyConfig API, rather than deprecated functions like Py_SetProgramName(): * https://docs.python.org/dev/c-api/intro.html#embedding-python * https://docs.python.org/dev/extending/extending.html * https://docs.python.org/dev/extending/embedding.html In the intro,...

type-bug
docs
3.11
easy
3.10
3.12