o
    *ѹgF                     @   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   Y/Users/admin/.pyenv/versions/3.10.0/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   >   tabnannyinspectsocketserverdecimalschedgzipctypessymtablexdrlib	functoolslib2to3dbmasyncorepkgutilarraykeywordtempfilebase64copydatetimebisect	ipaddressstatgetpasshashlibaudioopenumcalendarimghdrmsvcrtossaudiodevsmtplibbuiltinsuummapcgicmdposixunicodedataaifcloggingntpathhtmlwinsoundtypesmailboxuuid	mimetypeszipappturtletarfilewsgiref	sysconfigdisgettextquopri
subprocessxmlasyncior   shelveosnumbersplistlibttyrunpymodulefinderheapqcodeopptyabc
webbrowserpwd
turtledemobz2filecmp	sre_parsesregcselectcopyregglob	posixpathioshutilsndhdr	itertoolsstructbinasciifnmatchrandombdbimplocalepickletyping_threadcolorsysplatformsecretscsvcgitbunittest	zipimport_dummy_threadwaveargparsemarshalprofiletextwrapfaulthandlercollections	fileinputmsilibreadlinetimesre_compilezlib
compileall	encodingsatexitpipes	distutilssunaujsontokenhmactestwinregnisimaplibsymbolcontextvars	selectorsmailcappoplibcursesftplib	telnetlibgetoptnntplibZdummy_threadingdoctestsocketastmathresyslog	threadingcmathsitetkinternetrcrlcompleteremailpstatsstringcodecProfilecrypt	ensurepippathlibsignalxmlrpcsmtpdtracemalloctimeitchunktokenize	linecachepyclbrparsergrpqueue	tracebackreprliberrnodataclasses	formattersre_constantsspwd
statistics
contextlibresourcessl
stringprepcodecsvenvasynchatwarningslzmadifflibweakrefsqlite3pdbconfigparserpickletoolstracetermiosbinhexoptparseshlexurlliboperator	fractionshttppydoc
concurrent	importlibmultiprocessing
py_compilezipfilefcntlpprint>   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   r   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   Zzoneinfors   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   r   r   r   r   r   r   r   r   r   Zgraphlibr   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   )__doc__r   strboolr
   r   r   r   r   r   r   r	   <module>   s    	 Z