Matthias Braun added the comment:
While working on the pull request I felt that the type and constants better fit
`descrobject.h` rather than `object.h`.
--
___
Python tracker
<https://bugs.python.org/issue2
Change by Matthias Braun :
--
pull_requests: +19715
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/20462
___
Python tracker
<https://bugs.python.org/iss
Matthias Braun added the comment:
Happy to take the proposed diff here (assuming @belopolsky wont mind) and
include it into a pull request that also renames the uses of the READONLY flags
(and maybe removes the RESTRICTED flags) within cpython source itself
Change by Matthias Braun :
--
title: Deprecate structmember.h -> PyMemberDef missing in limited API /
Deprecate structmember.h
___
Python tracker
<https://bugs.python.org/iss
Matthias Braun added the comment:
> The issue title is misleading, it says "Deprecate structmember.h". Is the
> plan still to deprecate it? Or to make it usable in the limited C API? Please
> update the title.
As far as I understand it: The attached diff, moves the inte
Change by Matthias Braun :
--
components: +C API
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue2897>
___
___
Python-bug
Matthias Braun added the comment:
This wasn't mentioned before: Having PyMemberDef part of the structmember.h is
a big problem for users of PEP384/limited API, because structmember.h is not
part of it.
Which results in the odd situation that `Py_tp_members` or
`PyDescr_NewMember()
Matthias Braun added the comment:
I believe my suggested pull request in https://bugs.python.org/issue39986 may
solve this issue as a side effect because we no longer list the root directory
but a temporary directory with controlled filenames.
--
nosy: +Matthias Braun
Matthias Braun added the comment:
I believe my suggested pull request in https://bugs.python.org/issue39986 may
solve this issue as a side effect because we no longer list the root directory
but a temporary directory with controlled filenames.
--
nosy: +Matthias Braun
Change by Matthias Braun :
--
keywords: +patch
pull_requests: +18386
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19035
___
Python tracker
<https://bugs.python.org/issu
New submission from Matthias Braun :
The test_listdir test from Lib/test/test_os.py is using os.listdir() twice in
the root directory with and without parameters and compares the results. I just
had the test fail for me, because an unrelated process happened to create a
file in the root
Change by Matthias Braun :
--
keywords: +patch
nosy: +Matthias Braun
nosy_count: 1.0 -> 2.0
pull_requests: +18382
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19033
___
Python tracker
<https://bugs.p
Matthias Braun added the comment:
I have the same issue on my work macbook which has some form of network login
configured. The primary group id of my user account there cannot be found in
the group database and cannot be resolved to a name.
I'm not sure why that is but I am pretty
New submission from Matthias Braun :
This is about an extension type created via `PyType_FromSpec` that overrides
`tp_setattro` (minimal example attached). In this case cpython does not let me
grab and use the `__setattr__` function "manually". Example:
```
>>> import demo
Matthias Braun added the comment:
It's less of a problem when building python extenions, where you are probably
fine with using "just the same" as the installed python.
However in my case I am embedding python as a scripting language into another
application. So there is
Matthias Braun added the comment:
I hacked up a proof-of-concept patch which filters out the most annoying flags
(warnings, -Ox and -DNDEBUG flags).
(Though IMO the only really robust solution would be not having code but just
declarations in the public headers, so --includes is enough. In my
16 matches
Mail list logo