It took me 2 years between the early discussions and getting PEP 741 eventually accepted by the Steering Council: https://vstinner.github.io/pyconfig-pep-741.html C API to configure Python initialization, and C API to get and set the current runtime configuration.
=> More informations about this toot | View the thread
I wrote PEP 757 "C API to import-export Python integers": https://discuss.python.org/t/pep-757-c-api-to-import-export-python-integers/63895 It's a public abstraction interface for gmpy2, SAGE and Python-FLINT which currently use internals (and so need to be updated frequently) or use an inefficient temporary format.
=> More informations about this toot | View the thread
I wrote PEP 756 "Add PyUnicode_Export() and PyUnicode_Import() C functions": https://discuss.python.org/t/pep-756-c-api-add-pyunicode-export-and-pyunicode-import-c-functions/63891 It makes possible to optimize code using the limited C API to use native string formats.
=> More informations about this toot | View the thread
The Python devguide has a new page "Standard library extension modules" thanks to BΓ©nΓ©dikt Tran: https://devguide.python.org/developer-workflow/extension-modules/
=> More informations about this toot | View the thread
Documentation of the PyUnicodeWriter API: https://docs.python.org/dev/c-api/unicode.html#pyunicodewriter
=> More informations about this toot | View the thread
New article: "Add PyUnicodeWriter C API" https://vstinner.github.io/pyunicodewriter-c-api.html New efficient & convenient API to build a Python str accepting many formats and operations. The design and implementation took 1 month. Thanks for great discussions, the final API is better and more convenient!
=> More informations about this toot | View the thread
Bikeshedding is hard. I created a poll to decide the name of the new os.environ.refresh() method: https://discuss.python.org/t/method-to-refresh-os-environ/54774/101 "The refresh() method updates os.environ with changes to the environment made by os.putenv(), by os.unsetenv(), or made outside Python in the same process."
=> More informations about this toot | View the thread
Beta1 of Python 3.13 release:
=> More informations about this toot | View the thread
Schedule of the Python Language Summit next month: https://us.pycon.org/2024/events/language-summit/ CalVer, security, C API, free-threading, Andoid & iOS, new REPL, pdb, and more! I will give the status of the limited C API. It's an invite-only event at PyconUS to have constructive discussions.
=> More informations about this toot | View the thread
New article: Status of the Python Limited C API https://vstinner.github.io/status-limited-c-api-march-2024.html 14 new functions, make Argument Clinic compatible, PEP 737: format a type fully qualified name, _testlimitedcapi extension. More to come: PEP 741 Python Configuration C API, Py_GetConstant(), Cython and PyO3!
=> More informations about this toot | View the thread
Oh, apparently it's a GLAMOR regression: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1655 Glamor is a 2D graphics common driver for X.org. Workaround: run gvim with GVIM_ENABLE_WAYLAND=1, or put XWAYLAND_NO_GLAMOR=1 in /etc/environment.
=> More informations about this toot | View the thread
I still have my annoying gvim issue, I reported the bug upstream: https://github.com/vim/vim/issues/14233 I don't know how to help further.
=> More informations about this toot | View the thread
Python 3.13 time.time() on Windows now has a resolution of 238 ns (10^-9) instead of 15.6 ms (10^-3): it's 65 500x more accurate! The feature was requested 11 years ago (2013)! Better late than never π https://github.com/python/cpython/pull/116822
=> More informations about this toot | View the thread
If you embed Python in C, please review the latest version of my PEP 741 "Python Configuration C API": https://peps.python.org/pep-0741/ Join the discussion at: https://discuss.python.org/t/pep-741-python-configuration-c-api-second-version/45403/31 I added PyConfig_Set() to set the runtime configuration and removed the Python API.
=> More informations about this toot | View the thread
My main text editor gvim is broken π€ It's very annoying. I'm not sure how to debug such issue.
=> More informations about this toot | View the thread
I wrote a second version of my PEP 741: Python Configuration C API: https://peps.python.org/pep-0741/
Discussion: https://discuss.python.org/t/pep-741-python-configuration-c-api-second-version/45403
List use cases, use UTF-8, simpler error handling, API to get the init config, better doc, avoid preinitialization when possible, etc.
=> More informations about this toot | View the thread
Feedback can also be shared on the public discussion: https://discuss.python.org/t/pep-741-python-configuration-c-api/43637
=> More informations about this toot | View the thread
If you embed Python in your application, I'm looking for your feedback for my PEP 741 "Python Configuration C API": https://peps.python.org/pep-0741/ Tell me how you configure Python and if you are using or plan to use the stable ABI (limited C API). Also, reviews of the PEP are welcome π
=> More informations about this toot | View the thread
I decided to get my two old desktop computers from the shelf. I don't recall how to connect the monitor: ah yes, VGA! First tower has no disk, the second is the one I'm looking for: 3 disks in RAID. It took me a while to remind the password. Last login in April 2020! Fedora 27!
Apparently, I'm only using a single computer for 4 years: my laptop. I have Nintendo Switch and PlayStation 5 to play video games. I don't know the purpose of these 2 bags full of old cables.
=> View attached media | View attached media | View attached media | View attached media
=> More informations about this toot | View the thread
Talks about rr and gdb debugging by VicenΘiu Ciorbaru and then Guinevere Larsen on "time travel" π€― https://fosdem.org/2024/schedule/event/fosdem-2024-2257-love-rr-love-rr-you-re-so-good-to-me/ and https://fosdem.org/2024/schedule/event/fosdem-2024-1857-help-us-improve-time-manipulation-with-gdb/ at FOSDEM (Brussels, Belgium)
=> View attached media | View attached media | View attached media | View attached media
=> More informations about this toot | View the thread
=> This profile with reblog | Go to vstinner account This content has been proxied by September (ba2dc).Proxy Information
text/gemini