mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 00:20:09 -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 \
|
--enable-shared \
|
||||||
--with-system-expat \
|
--with-system-expat \
|
||||||
--with-system-ffi \
|
--with-system-ffi \
|
||||||
--with-ensurepip=yes \
|
--with-ensurepip=yes
|
||||||
--without-doc-strings
|
|
||||||
|
|
||||||
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
|
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
|
||||||
make install
|
make install
|
||||||
|
Loading…
Reference in New Issue
Block a user