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:
parent
4deaf34cf2
commit
d5265cfbac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user