o
    hF                     @   s:   d Z ddlZdedefddZdd Zh d	Zh d
ZdS )a2  List of Python standard library modules.

Sadly, there is no reliable way to tell whether a module is part of the
standard library except by comparing to a canonical list.

This is taken from https://github.com/PyCQA/isort/tree/develop/isort/stdlibs,
which itself is sourced from the Python documentation.
    Nmodulereturnc                 C   s   |  dd }|t v S )N.r   )	partition_get_stdlib_modules)r   base_module r   K/var/www/html/ai/venv/lib/python3.10/site-packages/torch/package/_stdlib.pyis_stdlib_module   s   
r
   c                   C   sb   t jjdkr t jjdkrtS t jjdkrtS t jjdkrt jS n	t jjdkr)t jS tdt j )N      	   
   zUnsupported Python version: )sysversion_infomajorminor	stdlib3_8	stdlib3_9stdlib_module_namesRuntimeErrorr   r   r   r	   r      s   r   >   gcioosreuuabcastbdbbz2cgicmdcsvdbmdisgrpimpnispdbptypwdsresslr   ttyxmlaifccodecopyenumglobgziphmachtmlhttpjsonlzmamathmmapsitespwdstattesttimeuuidvenvwavezlibarraycgitbchunkcmathcryptemailerrnofcntlheapqnetrcpipesposixpydocqueuerunpyschedshlexsmtpdsunautokentracetypesatexitbase64binhexbisectcodecscodeopctypescursesftplibgetoptimghdrlocalemsilibmsvcrtntpathparserpicklepoplibpprintpstatspyclbrquoprirandomselectshelveshutilsignalsndhdrsocketstringstructsymbolsyslogtimeitturtletypingurllibwinregxdrlibxmlrpczipapp_threadasyncioaudioopcopyregdecimaldifflibdoctestfilecmpfnmatchgetpassgettexthashlibimaplibinspectkeywordlib2to3loggingmailboxmailcapmarshalnntplibnumberspathlibpkgutilprofilereprlibsecretssmtplibsqlite3tarfiletermiostkinterweakrefwsgirefzipfileargparseasynchatasyncorebinasciibuiltinscProfilecalendarcolorsysdatetimeoperatoroptparseplatformplistlibreadlineresourcesymtabletabnannytempfiletextwraptokenizeunittestwarningswinsound	distutils	encodings	ensurepip	fileinput	formatter	fractions	functools	importlib	ipaddress	itertools	linecache	mimetypes	posixpath	selectors	sre_parse	sysconfig	telnetlib	threading	traceback	zipimport
compileall
concurrent
contextlib
py_compile
statistics
stringprep
subprocess
turtledemo
webbrowsercollectionscontextvarsdataclassesossaudiodevpickletoolsrlcompletersre_compiletracemallocunicodedataconfigparserfaulthandlermodulefindersocketserver_dummy_threadsre_constantsdummy_threadingmultiprocessing>   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   graphlibr   r   r   r   r   r   r   r   r   r   r   r   r   r   zoneinfor   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )__doc__r   strboolr
   r   r   r   r   r   r   r	   <module>   s    	 Z