Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue45436>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe:
STINNER Victor added the comment:
New changeset 99c7e9853fa13af414168f179213e3d2fae03a45 by Victor Stinner in
branch 'main':
bpo-40170: Update What's New in Python 3.9 (GH-29470)
https://github.com/python/cpython/commit/99c7e9853fa13af414168f179213e3d2fae03a45
Change by STINNER Victor :
--
pull_requests: +27723
pull_request: https://github.com/python/cpython/pull/29470
___
Python tracker
<https://bugs.python.org/issue40
STINNER Victor added the comment:
I abandonned the issue because I didn't have time to work on it. If you want,
you can open a new issue for that.
--
___
Python tracker
<https://bugs.python.org/issue21
STINNER Victor added the comment:
Hi, the io module doesn't use the block size of the filesystem.
io.BufferedReader uses a default buffer size of 8 * 1024 bytes. I don't think
that it's really important to respect the block size in Python. There are
buffers at many levels. io.BufferedReader
STINNER Victor added the comment:
> Can this be merged to python 3.10 as well? Thanks
It's unclear to me if it's a new feature or a bugfix. But since the change is
trivial, I'm fine with backporting it as a bugfix to 3.9 and 3.10 branc
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue5120>
___
___
Python-bugs-list mailing list
Unsubscribe:
STINNER Victor added the comment:
I like calling .fileno() explicitly. It seems like it's not really needed to
call it implicitly, since this issue doesn't get much activity. I suggest to
reject it.
--
status: pending -> open
___
Python trac
Change by STINNER Victor :
--
nosy: +vstinner
nosy_count: 3.0 -> 4.0
pull_requests: +27403
pull_request: https://github.com/python/cpython/pull/26274
___
Python tracker
<https://bugs.python.org/issu
STINNER Victor added the comment:
I created https://github.com/python/cpython/pull/29121 to add
PyThreadState_SetProfile() and PyThreadState_SetTrace() functions.
--
___
Python tracker
<https://bugs.python.org/issue43
Change by STINNER Victor :
--
pull_requests: +27399
pull_request: https://github.com/python/cpython/pull/29121
___
Python tracker
<https://bugs.python.org/issue39
STINNER Victor added the comment:
test___all__ was not supposed to fail with the missing "call" in
operator.__all__?
--
___
Python tracker
<https://bugs.python.o
STINNER Victor added the comment:
Maybe a PEP is needed to collect usages of the Py_buffer API and check if the
ABI is future proof. A PEP may help to discuss with other projects which
currently consume this API.
I suggest to start with the smallest possible API and then slowly extend
STINNER Victor added the comment:
> I think this is complete, so I'll close this if nobody will object.
I concur, please close it ;-)
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/i
STINNER Victor added the comment:
Python 3.8 is no longer supported. Can you reproduce the issue with Python
3.11? I fixed bugs like this one in the meanwhile.
--
___
Python tracker
<https://bugs.python.org/issue41
Change by STINNER Victor :
--
title: test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x
with Tcl/Tk 8.6.11 -> test_tk.test_configure_type() fails with Tcl/Tk 8.6.11
___
Python tracker
<https://bugs.python.org/issu
Change by STINNER Victor :
--
title: test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x
-> test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x with
Tcl/Tk 8.6.11
___
Python tracker
<https://bugs.pyth
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue1336>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by STINNER Victor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
STINNER Victor added the comment:
New changeset 52af0756b2ffc6788e364971d05cdaf127d77d5a by Victor Stinner in
branch 'main':
bpo-45434: Only exclude in Python 3.11 limited C API (GH-29027)
https://github.com/python/cpython/commit/52af0756b2ffc6788e364971d05cdaf127d77d5a
STINNER Victor added the comment:
New changeset 5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d by Victor Stinner in
branch 'main':
bpo-35134: Add Include/cpython/longobject.h (GH-29044)
https://github.com/python/cpython/commit/5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d
STINNER Victor added the comment:
Python uses UTF-8 if the locale is not supported:
$ LANG=xxx python3.9 -c "import sys; print(sys.flags.utf8_mode)"
1
On Fedora 34, the locale is still supported, and Python 3.11 still fails:
vstinner@apu$ LANG=ka_GE.georgianps locale
LANG=ka_GE.
Change by STINNER Victor :
--
pull_requests: +27315
pull_request: https://github.com/python/cpython/pull/29044
___
Python tracker
<https://bugs.python.org/issue35
STINNER Victor added the comment:
New changeset aad88d33d9db0a93e480f0234292b948890dfc2a by Victor Stinner in
branch 'main':
bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)
https://github.com/python/cpython/commit/aad88d33d9db0a93e480f0234292b948890dfc2a
Change by STINNER Victor :
--
pull_requests: +27313
pull_request: https://github.com/python/cpython/pull/29042
___
Python tracker
<https://bugs.python.org/issue35
STINNER Victor added the comment:
New changeset 034f607906de6e375cc9a98cc3b09f6d56f8be10 by Victor Stinner in
branch 'main':
bpo-43760: Rename _PyThreadState_DisableTracing() (GH-29032)
https://github.com/python/cpython/commit/034f607906de6e375cc9a98cc3b09f6d56f8be10
Change by STINNER Victor :
--
pull_requests: +27304
pull_request: https://github.com/python/cpython/pull/29032
___
Python tracker
<https://bugs.python.org/issue43
Change by STINNER Victor :
--
pull_requests: +27298
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/29027
___
Python tracker
<https://bugs.python.org/issu
STINNER Victor added the comment:
> * Cython: https://github.com/cython/cython/pull/4411
Merged:
* 0.29.x:
https://github.com/cython/cython/commit/cbddad23e30ea6d31e0178a4c623f1f6d75452c3
* master:
https://github.com/cython/cython/commit/4df1103bd30143ce022b07f98a2f62678d417
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue30774>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by STINNER Victor :
--
nosy: -vstinner
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue32291>
___
___
Python-bugs-list mai
STINNER Victor added the comment:
I reopen the issue.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/i
STINNER Victor added the comment:
New changeset 00ffc4513df7b89a168e88da4d1e3ac367f7682f by Victor Stinner in
branch 'main':
bpo-45440: Remove pymath.c fallbacks (GH-28977)
https://github.com/python/cpython/commit/00ffc4513df7b89a168e88da4d1e3ac367f7682f
STINNER Victor added the comment:
New changeset 51f8196d05f0e271358eee0f90fe044b20449fb5 by Victor Stinner in
branch 'main':
bpo-30459: Use (void) in macros setting variables (GH-28982)
https://github.com/python/cpython/commit/51f8196d05f0e271358eee0f90fe044b20449fb5
STINNER Victor added the comment:
I created bpo-45490: "[meta][C API] Avoid C macro pitfalls and usage of static
inline functions" to discuss macros and static inline functions more generally.
--
___
Python tracker
<https://bu
New submission from STINNER Victor :
C macros are really cool and useful, but there are a bunch of pitfalls which
are better to avoid:
https://gcc.gnu.org/onlinedocs/cpp/Macro-Pitfalls.html
Some macros of the Python C API have been converted to static inline functions
over the last years
Change by STINNER Victor :
--
pull_requests: +27269
pull_request: https://github.com/python/cpython/pull/28982
___
Python tracker
<https://bugs.python.org/issue30
Change by STINNER Victor :
--
title: Performance regression 3.10b1 and later on Windows: Py_DECREF() not
inlined in PGO build -> Performance regression 3.10b1: inlining issue in the
big _PyEval_EvalFrameDefault() function with Visual Studio (
STINNER Victor added the comment:
What is your operating system? (name/version) Did you try to build Python
manually and run the test manually? How did you build Python? What are the
configure flags and compiler flags?
--
nosy: +vstinner
STINNER Victor added the comment:
PyThreadState.cframe.use_tracing format changed again: set value set to 0 or
255.
https://github.com/python/cpython/commit/bd627eb7ed08a891dd1356756feb1ce2600358e4
--
___
Python tracker
<https://bugs.python.
STINNER Victor added the comment:
> bpo-43760: Add PyThreadState_EnterTracing() (GH-28542)
I created changes to use it:
* pythoncapi_compat:
https://github.com/pythoncapi/pythoncapi_compat/commit/10fde24739cab4547e9c27c31c8804a25e23e8a0
* Cython: https://github.com/cython/cython/pull/4
STINNER Victor added the comment:
New changeset 547d26aa08aa5e4ec6e4f8a5587b30b39064a5ba by Victor Stinner in
branch 'main':
bpo-43760: Add PyThreadState_EnterTracing() (GH-28542)
https://github.com/python/cpython/commit/547d26aa08aa5e4ec6e4f8a5587b30b39064a5ba
STINNER Victor added the comment:
> the dump needs to be generated in a docker container using the same compiler
> version that is used in the CI
I'm not used to docker and I don't know how to get a docker similar than the
one used by GitHub Action. Is there a documentation somewhere
Change by STINNER Victor :
--
pull_requests: +27267
pull_request: https://github.com/python/cpython/pull/28979
___
Python tracker
<https://bugs.python.org/issue45
STINNER Victor added the comment:
It seems like pickle tests started to crash at build 936, 4 days ago:
https://buildbot.python.org/all/#/builders/402/builds/936
This build was trigged by the change:
commit fcb3d2ff633f3e9a826888d8b29c305a3959ff54
Author: Mark Shannon
Date: Mon Oct 11 11
New submission from STINNER Victor :
s390x RHEL7 LTO 3.x:
https://buildbot.python.org/all/#/builders/402/builds/979
0:02:00 load avg: 5.14 [193/427/2] test_pickletools crashed (Exit code -11) --
running: test_unparse (30.6 sec), test_concurrent_futures (1 min 56 sec
Change by STINNER Victor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
title: [C API] Add PySimpleNamespace_New() function -> [C API] Move
_PyNamespace_New() to the internal C API
___
Python tra
STINNER Victor added the comment:
New changeset 354c35220d25a893e502014478f6739dad6897f3 by Victor Stinner in
branch 'main':
bpo-45482: Rename namespaceobject.h to pycore_namespace.h (GH-28975)
https://github.com/python/cpython/commit/354c35220d25a893e502014478f6739dad6897f3
Change by STINNER Victor :
--
pull_requests: +27265
pull_request: https://github.com/python/cpython/pull/28977
___
Python tracker
<https://bugs.python.org/issue45
Change by STINNER Victor :
--
title: [C API] Convert "AS" functions, like PyFloat_AS_DOUBLE(), to static
inline functions -> [C API] Disallow using PyFloat_AS_DOUBLE() as l-value
___
Python tracker
<https://bugs.pytho
STINNER Victor added the comment:
> #define Py_RVALUE(expr) ((void)0, (expr))
Oh, that's a clever trick!
I wrote GH-28976 which uses it.
--
___
Python tracker
<https://bugs.python.org/issu
Change by STINNER Victor :
--
pull_requests: +27264
pull_request: https://github.com/python/cpython/pull/28976
___
Python tracker
<https://bugs.python.org/issue45
STINNER Victor added the comment:
New changeset a7f8dfd25a167ccfde9996c499fa38a2aba60022 by Victor Stinner in
branch 'main':
bpo-44113: Move the What's New entry to Deprecate section (GH-28974)
https://github.com/python/cpython/commit/a7f8dfd25a167ccfde9996c499fa38a2aba60022
STINNER Victor added the comment:
> The other choice is to move the function to the internal C API.
I created GH-28975 for that.
--
___
Python tracker
<https://bugs.python.org/issu
Change by STINNER Victor :
--
pull_requests: +27263
pull_request: https://github.com/python/cpython/pull/28975
___
Python tracker
<https://bugs.python.org/issue45
Change by STINNER Victor :
--
pull_requests: +27262
pull_request: https://github.com/python/cpython/pull/28974
___
Python tracker
<https://bugs.python.org/issue44
STINNER Victor added the comment:
New changeset 105582e74c1817bc6a9d99bcb6540b34a3367292 by Victor Stinner in
branch 'main':
bpo-45434: Remove Include/eval.h header file (GH-28973)
https://github.com/python/cpython/commit/105582e74c1817bc6a9d99bcb6540b34a3367292
Change by STINNER Victor :
--
pull_requests: +27261
pull_request: https://github.com/python/cpython/pull/28973
___
Python tracker
<https://bugs.python.org/issue45
STINNER Victor added the comment:
New changeset 063abd931f064a4b6b478b0b6e9aa13ee38d2cff by Victor Stinner in
branch 'main':
bpo-35081: Move interpreteridobject.h to Include/internal/ (GH-28969)
https://github.com/python/cpython/commit/063abd931f064a4b6b478b0b6e9aa13ee38d2cff
STINNER Victor added the comment:
For PyObject, I converted Py_REFCNT(), Py_TYPE() and Py_SIZE() to static inline
functions to enforce the usage of Py_SET_REFCNT(), Py_SET_TYPE() and
Py_SET_SIZE(). Only a minority of C extensions are affected by these changes.
Also, there is more pressure
STINNER Victor added the comment:
Petr:
> Just note that these were *not* part of the limited API, which is defined in
> Misc/stable_abi.txt rather than the #ifdefs:
> https://docs.python.org/3.10/c-api/stable.html#stable
> If they were, the functions would need to remain in th
STINNER Victor added the comment:
I created this issue while cleaning the C API. I'm not fully convinced that
PySimpleNamespace_New() must be made public.
The other choice is to move the function to the internal C API.
--
___
Python tracker
Change by STINNER Victor :
--
keywords: +patch
pull_requests: +27258
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28970
___
Python tracker
<https://bugs.python.org/issu
New submission from STINNER Victor :
Python has a types.SimpleNamespace type which is convenient to cheap a "simple
namespace". I propose to make its C API public (but exclude it from the limited
C API): add PySimpleNamespace_New() function.
It's currently used in:
* Modules/ti
STINNER Victor added the comment:
New changeset 8e5de40f90476249e9a2e5ef135143b5c6a0b512 by Victor Stinner in
branch 'main':
bpo-35134: Move classobject.h to Include/cpython/ (GH-28968)
https://github.com/python/cpython/commit/8e5de40f90476249e9a2e5ef135143b5c6a0b512
STINNER Victor added the comment:
I reopen the issue since there is still activity on it.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/i
Change by STINNER Victor :
--
pull_requests: +27257
pull_request: https://github.com/python/cpython/pull/28969
___
Python tracker
<https://bugs.python.org/issue35
Change by STINNER Victor :
--
pull_requests: +27256
pull_request: https://github.com/python/cpython/pull/28968
___
Python tracker
<https://bugs.python.org/issue35
STINNER Victor added the comment:
pip uses deprecated functions indirectly:
https://github.com/python/cpython/pull/28115
Python 3.11 seems to be too early to *remove* functions. We can attempt again
in the next Python release ;-)
--
resolution: -> postponed
stage: patch rev
Change by STINNER Victor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by STINNER Victor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
STINNER Victor added the comment:
New changeset 77b24ba505744532d7cfd721b1c92d205e145180 by Victor Stinner in
branch 'main':
bpo-35134: Move Include/cellobject.h to Include/cpython/ (GH-28964)
https://github.com/python/cpython/commit/77b24ba505744532d7cfd721b1c92d205e145180
STINNER Victor added the comment:
I searched for "PyFloat_AS_DOUBLE.*=" regex in the PyPI top 5000 projects. I
couldn't find any project doing that.
I only found perfectly safe comparisons:
traits/ctraits.c:if (PyFloat_AS_DOUBLE(value) <=
PyFloat_AS_DOUBLE(l
Change by STINNER Victor :
--
pull_requests: +27253
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/28964
___
Python tracker
<https://bugs.python.org/issu
STINNER Victor added the comment:
commit 37b1d607bf0f1a9c1e89b1715349efc24dc180e0 (upstream/main, main)
Author: Victor Stinner
Date: Fri Oct 15 01:50:28 2021 +0200
po-35134: Move Include/funcobject.h to Include/cpython/ (GH-28958)
Remove redundant "#ifndef Py_LIMITE
STINNER Victor added the comment:
New changeset 7076bef8ba8836a19d5033f4ceb8eb9837de2301 by Victor Stinner in
branch 'main':
bpo-45434: Remove useless space in includes (GH-28963)
https://github.com/python/cpython/commit/7076bef8ba8836a19d5033f4ceb8eb9837de2301
STINNER Victor added the comment:
New changeset 03bbc6066ff40c62edd57612be9150dcf1b123c8 by Victor Stinner in
branch 'main':
bpo-41710: Fix What's New Entry credit (GH-28962)
https://github.com/python/cpython/commit/03bbc6066ff40c62edd57612be9150dcf1b123c8
STINNER Victor added the comment:
Raymond:
> AFAICT, no one has ever has problems with these being macros.
This issue is about the API of PyFloat_AS_DOUBLE(). Implementing it as a macro
or a static inline function is an implementation detail which doesn't matter.
But I don't know
Change by STINNER Victor :
--
pull_requests: +27252
pull_request: https://github.com/python/cpython/pull/28963
___
Python tracker
<https://bugs.python.org/issue45
Change by STINNER Victor :
--
pull_requests: +27251
pull_request: https://github.com/python/cpython/pull/28962
___
Python tracker
<https://bugs.python.org/issue41
Change by STINNER Victor :
--
keywords: +patch
pull_requests: +27250
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28961
___
Python tracker
<https://bugs.python.org/issu
STINNER Victor added the comment:
New changeset 284994762d820d8e09cc019f8f7c4bc501e37dd4 by Victor Stinner in
branch 'main':
bpo-45434: Limited Python.h no longer includes stdio.h (GH-28960)
https://github.com/python/cpython/commit/284994762d820d8e09cc019f8f7c4bc501e37dd4
Change by STINNER Victor :
--
pull_requests: +27249
pull_request: https://github.com/python/cpython/pull/28960
___
Python tracker
<https://bugs.python.org/issue45
Change by STINNER Victor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
STINNER Victor added the comment:
New changeset af1083e975b9627a5c97013d3a2b9aef0e4b333c by Victor Stinner in
branch 'main':
bpo-45474: Fix the limited C API of marshal.h (GH-28956)
https://github.com/python/cpython/commit/af1083e975b9627a5c97013d3a2b9aef0e4b333c
Change by STINNER Victor :
--
pull_requests: -23644
___
Python tracker
<https://bugs.python.org/issue35134>
___
___
Python-bugs-list mailing list
Unsubscribe:
STINNER Victor added the comment:
I reopen the issue since there is new activity on it :-)
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/i
Change by STINNER Victor :
--
pull_requests: +27247
pull_request: https://github.com/python/cpython/pull/28958
___
Python tracker
<https://bugs.python.org/issue35
STINNER Victor added the comment:
New changeset 0a883a76cda8205023c52211968bcf87bd47fd6e by Victor Stinner in
branch 'main':
bpo-35134: Add Include/cpython/floatobject.h (GH-28957)
https://github.com/python/cpython/commit/0a883a76cda8205023c52211968bcf87bd47fd6e
New submission from STINNER Victor :
The Python C API provides "AS" functions to convert an object to another type,
like PyFloat_AS_DOUBLE(). These macros can be abused to be used as l-value:
"PyFloat_AS_DOUBLE(obj) = new_value;". It prevents to change the PyFloat
impl
Change by STINNER Victor :
--
pull_requests: +27246
pull_request: https://github.com/python/cpython/pull/28957
___
Python tracker
<https://bugs.python.org/issue35
Change by STINNER Victor :
--
keywords: +patch
pull_requests: +27245
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28956
___
Python tracker
<https://bugs.python.org/issu
New submission from STINNER Victor :
Include/marshal.h defines 2 functions with FILE* argument in the limited C API,
whereas the PEP 384 disallows that:
"In addition, functions expecting FILE* are not part of the ABI, to avoid
depending on a specific version of the Microsoft C runtim
STINNER Victor added the comment:
I tried to remove the include from Python.h:
-#include// memcpy()
... but it required me to modify 100+ files. I don't know the exact number, I
gave up after 100 files. I was near half of C extensions built by setup.py, so
the number total
STINNER Victor added the comment:
I decided to merge my PR to address https://bugs.python.org/issue45439 initial
issue: "[C API] Move usage of **tp_vectorcall_offset** from public headers to
the internal C API".
Last years, I added `tstate` parameters to internal C functions. The
STINNER Victor added the comment:
New changeset 3cc56c828d2d8f8659ea49447234bf0d2b87cd64 by Victor Stinner in
branch 'main':
bpo-45439: Move _PyObject_VectorcallTstate() to pycore_call.h (GH-28893)
https://github.com/python/cpython/commit/3cc56c828d2d8f8659ea49447234bf0d2b87cd64
Change by STINNER Victor :
--
nosy: -vstinner
___
Python tracker
<https://bugs.python.org/issue45452>
___
___
Python-bugs-list mailing list
Unsubscribe:
STINNER Victor added the comment:
Serhiy: I suppose that this issue can now be closed?
--
___
Python tracker
<https://bugs.python.org/issue45467>
___
___
Pytho
1201 - 1300 of 34965 matches
Mail list logo