2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

python: remove --without-doc-strings

It breaks the inspect.signature function for classes that don't explicitly set a constructor, because the `__text_signature__` attribute is empty

```
from inspect import signature

class Test:
    pass

print(signature(Test.__init__))
```

This is used in some python modules like telethon
This commit is contained in:
git-bruh 2023-01-30 16:09:45 +05:30
parent 4deaf34cf2
commit d5265cfbac
No known key found for this signature in database

View File

@ -20,8 +20,7 @@ done
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-ensurepip=yes \
--without-doc-strings
--with-ensurepip=yes
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
make install