o b¦æc† ã@s ddlZddlTddlmZeƒZe dedd„¡e dedd„¡d evr0e d ed d„¡d d „Zdd„Z dd„Z e ej ƒdd„ƒZ e ej ƒdd„ƒZ d evr[e ej ƒdd „ƒZ devrhe ejƒdd„ƒZdevrue ejƒdd„ƒZdevr‚e ejƒdd„ƒZ[[ dS)éN)Ú*)ÚIntEnumÚSignalscCs(| ¡r| d¡o| d¡ p| d¡S)NÚSIGZSIG_ZCTRL_)ÚisupperÚ startswith©Úname©r úg/home/lily/lilypond-2.24.1/release/binaries/dependencies/install/Python-3.10.8/lib/python3.10/signal.pyÚ sÿ r ÚHandlerscCó|dvS)N)ÚSIG_DFLÚSIG_IGNr rr r r r óÚpthread_sigmaskZSigmaskscCr)N)Ú SIG_BLOCKÚ SIG_UNBLOCKÚ SIG_SETMASKr rr r r r rcCs"z||ƒWSty|YSw)zsConvert a numeric value to an IntEnum member. If it's not a known member, return the numeric value itself. )Ú ValueError)ÚvalueZ enum_klassr r r Ú _int_to_enums   ÿrc Cs&zt|ƒWSttfy|YSw)zmConvert an IntEnum member to a numeric value. If it's not an IntEnum member return the value itself. )ÚintrÚ TypeError)rr r r Ú _enum_to_int"s  ÿrcs‡fdd„}|S)Ncs ˆj|_|S©N)Ú__doc__)Úwrapper©Úwrappedr r Ú decorator1sz_wraps..decoratorr )r r!r rr Ú_wraps0s r"cCst t|ƒt|ƒ¡}t|tƒSr)Ú_signalÚsignalrrr ©Z signalnumÚhandlerr r r r$6s r$cCót |¡}t|tƒSr)r#Ú getsignalrr r%r r r r(<ó  r(cCst ||¡}tdd„|DƒƒS)Ncss|]}t|tƒVqdSr©rr©Ú.0Úxr r r Ú Fs€z"pthread_sigmask..)r#rÚset)ZhowÚmaskZsigs_setr r r rCs Ú sigpendingcCódd„t ¡DƒS)NcSóh|]}t|tƒ’qSr r*r+r r r Ú Lózsigpending..)r#r1r r r r r1JóÚsigwaitcCr'r)r#r7rr)ZsigsetZretsigr r r r7Pr)Ú valid_signalscCr2)NcSr3r r*r+r r r r4Yr5z valid_signals..)r#r8r r r r r8Wr6)r#ÚenumrZ_IntEnumÚglobalsZ_globalsÚ _convert_Ú__name__rrr"r$r(rr1r7r8r r r r ÚsJ þþþ