Victor Stinner
Victor Stinner
I'm not interested by bounties, but maybe @nneonneo is?
> ManyLinux / build (manylinux1, i686, cp36-* cp37-* cp38-* cp39-*) (pull_request) Failing after 8m — build (manylinux1, i686, cp36-* cp37-* cp38-* cp39-*) It failed with: ``` ERROR: test_path_with_null_bytes (pygame.tests.rwobject_test.RWopsEncodeFilePathTest) ----------------------------------------------------------------------...
The new CI failure seems to be unrelated to the PR: ``` ERROR: test_load_default_font_filename (pygame.tests.ftfont_test.FtFontTypeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.YEBvgX5990/venv/lib/python3.9/site-packages/pygame/tests/font_test.py", line 537, in test_load_default_font_filename f = pygame_font.Font(pygame_font.get_default_font(),...
> I respect @vstinner a lot but daemon threads are a totally standard thing that every threading system supports, including Python's, and like Graham points out, that's because they're kind...
By the way, I'm against daemon threads in general, also in the main interpreter. There is no way to make such beasts fully safe. It's full of corner cases and...
> @vstinner Hmm, I do see what you mean. In the main interpreter, you can absolutely make them fully safe, because the OS will help you -- process exit atomically...
> Now, what happens if you want to cancel the getaddrinfo call? You can't actually stop it from completing, because there's no OS interface for that. pthread_kill() can be used...
> The alternative options at the moment appear to be the internal _PyCode_New Hum, it's not a good idea to rely on the private C API. PyCode_NewEmpty() is public ;-)
> From what it looks like (vulnerabilities.yaml)[https://github.com/haypo/python-security/blob/master/vulnerabilities.yaml] seems to contain all the info we need, except for the specifiers. What are specifiers? > Given the fact that safety is supposed...
@bsteffensmeier: Hi, how can I reproduce the issue? Can you write a reproducer which doesn't use jep? In Python 3.10, I modified _PyUnicode_FromId() to make _Py_IDENTIFIER() per interpreter. Each interpreter...