Files
ServerSync/lib/prompt_toolkit/eventloop/__pycache__/win32.cpython-314.pyc

36 lines
2.9 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
9<><39>i<EFBFBD><00><01><><00>^RIHt^RIt]PR8XgQh^RIHt^RIHt]'g^RIHt^RI H
t
H t H t ^RI HtR R
.tR tRt]3R R lltRRltR#)<11>)<01> annotationsN<73>win32)<01>pointer)<01>SPHINX_AUTODOC_RUNNING)<01>windll)<03>BOOL<4F>DWORD<52>HANDLE)<01>SECURITY_ATTRIBUTES<45>wait_for_handles<65>create_win32_eventic<01>$<00>V^8<>dQhRRRRRR/#)<07><00>handlesz list[HANDLE]<5D>timeout<75>int<6E>returnz HANDLE | None<6E>)<01>formats"<22>E/tmp/pip-target-wqrk2shd/lib/python/prompt_toolkit/eventloop/win32.py<70> __annotate__rs!<00><00><1C><1C>l<EFBFBD><1C>S<EFBFBD><1C> <0A><1C>c<05><><00>\\V4,pV!V!p\PP \V4V\ R4\ V44pV\8XdR#W,#)a`
Waits for multiple handles. (Similar to 'select') Returns the handle which is ready.
Returns `None` on timeout.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms687025(v=vs.85).aspx
Note that handles should be a list of `HANDLE` objects, not integers. See
this comment in the patch by @quark-zju for the reason why:
''' Make sure HANDLE on Windows has a correct size
Previously, the type of various HANDLEs are native Python integer
types. The ctypes library will treat them as 4-byte integer when used
in function arguments. On 64-bit Windows, HANDLE is 8-byte and usually
a small integer. Depending on whether the extra 4 bytes are zero-ed out
or not, things can happen to work, or break. '''
This function returns either `None` or one of the given `HANDLE` objects.
(The return value can be tested with the `is` operator.)
FN)r
<00>lenr<00>kernel32<33>WaitForMultipleObjectsrr <00> WAIT_TIMEOUT)rr<00>arrtype<70> handle_array<61>rets&& rr r s[<00><00>(<15>s<EFBFBD>7<EFBFBD>|<7C>#<23>G<EFBFBD><1A>G<EFBFBD>$<24>L<EFBFBD><15><EFBFBD><EFBFBD>5<>5<> <0B>L<EFBFBD><19><<3C><14>e<EFBFBD><1B>e<EFBFBD>G<EFBFBD>n<EFBFBD><06>C<EFBFBD> <0B>l<EFBFBD><1A><13><16>|<7C>rc<01><00>V^8<>dQhRR/#)rrr
r)rs"rrr<s<00><00> <06> <06>F<EFBFBD> rc <05><><00>\\PP\ \ 44\ R4\ R4R44#)zp
Creates a Win32 unnamed Event .
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682396(v=vs.85).aspx
TFN)r
rr<00> CreateEventArr rrrrr r <s@<00><00>
<12><0E><0F><0F>$<24>$<24> <13>'<27>)<29> *<2A> <10><14>J<EFBFBD> <10><15>K<EFBFBD> <10> 
<EFBFBD> <06>r<00><><EFBFBD><EFBFBD><EFBFBD>)<14>
__future__r<00>sys<79>platform<72>ctypesr<00>utilsrr<00>ctypes.wintypesrr r
<00>prompt_toolkit.win32_typesr <00>__all__r<00>INFINITEr r rrr<00><module>r.s\<00><01>"<22>
<EFBFBD>
<EFBFBD>|<7C>|<7C>w<EFBFBD><1E><1E><1E><1A>*<2A><1E><1D>/<2F>/<2F>:<3A> <1D>3<>
4<EFBFBD><07><1A> <0C> <0A><08><D<01><1C>B r