ó
    Ö›‘h$  ã                   óœ   • / S Qr SSKrSSKrSSKrSSKJr  SSKJr  S\4S jr	SSSS	S	S
.r
 " S S5      r\" 5       r\R                  5       rg))ÚsecondsÚshortPythonVersionÚPlatformÚplatformÚplatformTypeé    N)Útime)ÚOptionalÚreturnc                  ó.   • S[         R                  SS -  $ )z7
Returns the Python version as a dot-separated string.
z%s.%s.%sNé   )ÚsysÚversion_info© ó    ÚZC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/python/runtime.pyr   r      s   € ð œ×(Ñ(¨¨!Ð,Ñ,Ð,r   Úwin32ÚposixÚjava)ÚntÚcer   r   zorg.python.modules.osc                   óX  • \ rS rSr% Sr\R                  \R                  5      r	\
\   \S'   \" \5      r\R                   r SS\
\   S\
\   SS4S jjrS\4S	 jrS\
\   4S
 jrS\4S jrS\4S jrS\4S jrS\4S jrS\4S jrSS\S\4S jjrS\4S jrS\4S jrS\4S jrSrg)r   é#   z;
Gives us information about the platform we're running on.
ÚtypeNÚnamer   r
   c                 óR   • Ub  [         R                  U5      U l        Ub  X l        g g )N)ÚknownPlatformsÚgetr   Ú	_platform)Úselfr   r   s      r   Ú__init__ÚPlatform.__init__,   s,   € ð ÑÜ&×*Ñ*¨4Ó0ˆDŒIØÑØ%�Nð  r   c                 ó    • U R                   S:g  $ )zg
Do we know about this platform?

@return: Boolean indicating whether this is a known platform or not.
N©r   ©r   s    r   ÚisKnownÚPlatform.isKnown4   s   € ð �y‰y˜DÑ Ð r   c                 ó   • U R                   $ )z@
Get platform type.

@return: Either 'posix', 'win32' or 'java'
r#   r$   s    r   ÚgetTypeÚPlatform.getType<   s   € ð �y‰yÐr   c                 ó    • U R                   S:H  $ )zk
Check if current platform is macOS.

@return: C{True} if the current platform has been detected as macOS.
Údarwin)r   r$   s    r   ÚisMacOSXÚPlatform.isMacOSXD   s   € ð �~‰~ Ñ)Ð)r   c                 óV   • [         R                  " S[        SS9  U R                  5       $ )zð
Are we running in Windows NT?

This is deprecated and always returns C{True} on win32 because
Twisted only supports Windows NT-derived platforms at this point.

@return: C{True} if the current platform has been detected as
    Windows NT.
zgtwisted.python.runtime.Platform.isWinNT was deprecated in Twisted 13.0. Use Platform.isWindows instead.é   )Ú
stacklevel)ÚwarningsÚwarnÚDeprecationWarningÚ	isWindowsr$   s    r   ÚisWinNTÚPlatform.isWinNTL   s*   € ô 	�Šð<äØò		
ð �~‰~ÓÐr   c                 ó(   • U R                  5       S:H  $ )zh
Are we running in Windows?

@return: C{True} if the current platform has been detected as
    Windows.
r   )r(   r$   s    r   r4   ÚPlatform.isWindows^   s   € ð �|‰|‹~ Ñ(Ð(r   c                 óz   • [         R                  S:H  =(       a"    [         R                  " 5       R                  S:H  $ )z‰
Check if current platform is Windows Vista or Windows Server 2008.

@return: C{True} if the current platform has been detected as Vista
r   é   )r   r   ÚgetwindowsversionÚmajorr$   s    r   ÚisVistaÚPlatform.isVistag   s,   € ô �|‰|˜wÑ&×M¬3×+@Ò+@Ó+B×+HÑ+HÈAÑ+MÐMr   c                 ó8   • U R                   R                  S5      $ )zk
Check if current platform is Linux.

@return: C{True} if the current platform has been detected as Linux.
Úlinux)r   Ú
startswithr$   s    r   ÚisLinuxÚPlatform.isLinuxo   s   € ð �~‰~×(Ñ(¨Ó1Ð1r   Ú_initCGroupLocationc                 ód  • U R                  5       (       d  gSSKJn  U" U5      nUR                  5       (       ar  UR	                  5       R                  S5       Vs/ s H  oDR                  S5      PM     nnU H/  n[        U5      S:X  d  M  US   R                  S5      (       d  M/    g	   gs  snf )
z£
Check if the current platform is Linux in a Docker container.

@return: C{True} if the current platform has been detected as Linux
    inside a Docker container.
Fr   )ÚFilePathó   
ó   :r   r/   s   /docker/T)rB   Útwisted.python.filepathrF   ÚexistsÚ
getContentÚsplitÚlenrA   )r   rD   rF   ÚinitCGroupsÚxÚcontrolGroupsÚgroups          r   ÚisDockerÚPlatform.isDockerw   s¢   € ð �|‰|�~‰~Øå4ñ Ð2Ó3ˆØ×Ñ×Ñð (3×'=Ñ'=Ó'?×'EÑ'EÀeÔ'LóÚ'L !—‘˜–Ñ'Lð ð ó '�Ü�u“: •? u¨Q¡x×':Ñ':¸;×'GÓ'Gáñ 'ð
 ùòs   ÁB-c                 ór   • U R                  5       (       a  g [        R                    g! [         a     gf = f)zœ
Check for symlink support usable for Twisted's purposes.

@return: C{True} if symlinks are supported on the current platform,
         otherwise C{False}.
FT)r4   ÚosÚsymlinkÚAttributeErrorr$   s    r   Ú_supportsSymlinksÚPlatform._supportsSymlinks“   s;   € ð �>‰>×Ñð ðÜ—
’
ð øô "ó Ùðús   ˜) ©
6µ6c                 ó4   •  SSK nUSL$ ! [         a     gf = f)za
Can threads be created?

@return: C{True} if the threads are supported on the current platform.
r   NF)Ú	threadingÚImportError)r   r[   s     r   ÚsupportsThreadsÚPlatform.supportsThreads¬   s'   € ð	Ûà DÐ(Ð(øÜó 	Ùð	ús   ‚
 Š
–c                 ó†   •  SSK JnJn   [        R
                  " U" 5       5        g! [         a     gf = f! U a     gf = f)zN
Return C{True} if we can use the inotify API on this platform.

@since: 10.1
r   )ÚINotifyErrorÚinitFT)Útwisted.python._inotifyr`   ra   r\   rU   Úclose)r   r`   ra   s      r   ÚsupportsINotifyÚPlatform.supportsINotify¹   sI   € ð	ßBð	Ü�HŠH‘T“VÔð øô ó 	Ùð	ûð
 ó 	Ùð	ús   ‚' ‹7 §
4³4·A ¿A )r   r   )NN)z/proc/1/cgroup) Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   rU   r   r   r	   ÚstrÚ__annotations__Ústaticmethodr   r   r   r   r    Úboolr%   r(   r,   r5   r4   r=   rB   rR   rX   r]   rd   Ú__static_attributes__r   r   r   r   r   #   sö   ‡ ñð )×,Ñ,¨R¯W©WÓ5€Dˆ(�3‰-Ó5Ù˜7Ó#€GØ—‘€Ið EIñ&Ø˜S‘Mð&Ø4<¸S±Mð&à	õ&ð!˜ô !ð˜ #™ô ð*˜$ô *ð ˜ô  ð$)˜4ô )ðN˜ô Nð2˜ô 2ñ¨Cð Àtõ ð8 4ô ð2 ô ð ÷ r   r   )Ú__all__rU   r   r1   r   r   Útypingr	   rk   r   r   r   r   r(   r   r   r   r   Ú<module>rr      se   ðò
€ó 
Û 
Û Ý  Ý ð-˜Cô -ð Ø
ØØØ#ñ€÷eñ eñP ‹:€Ø×ÑÓ!�r   