Skip to content

Instantly share code, notes, and snippets.

@thatch
Last active March 30, 2021 04:18
Show Gist options
  • Save thatch/ebd7e1e94b13104753ba0f5e6455cc12 to your computer and use it in GitHub Desktop.
Save thatch/ebd7e1e94b13104753ba0f5e6455cc12 to your computer and use it in GitHub Desktop.
(.venv) [tim@rygel stdlibs]$ diff --label "isort 2.7" --label "stdlibs 2.7" -u <(perl -ne 'print "$1\n" if /"(.+)",/' ../isort/isort/stdlibs/py27.py) <( perl -ne 'print "$1\n" if /"(.*?)"/' stdlibs/py27.py )
--- isort 2.7
+++ stdlibs 2.7
@@ -1,37 +1,148 @@
AL
+Audio_mac
BaseHTTPServer
Bastion
+CD
+CDIO
+CDROM
CGIHTTPServer
+CL
+CL_old
+Canvas
Carbon
ColorPicker
ConfigParser
Cookie
DEVICE
+DLFCN
+Dialog
DocXMLRPCServer
+ERRNO
EasyDialogs
+FILE
FL
+FileDialog
+FixTk
FrameWork
+GET
GL
+GLWS
HTMLParser
+IN
+IOCTL
MacOS
MimeWriter
MiniAEFrame
Nav
+OSATerminology
PixMapWrapper
Queue
+SOCKET
+STROPTS
SUNAUDIODEV
+SV
ScrolledText
+SimpleDialog
SimpleHTTPServer
SimpleXMLRPCServer
SocketServer
StringIO
+TYPES
Tix
+Tkconstants
+Tkdnd
Tkinter
UserDict
UserList
UserString
-W
+WAIT
+_AE
+_AH
+_App
+_CF
+_CG
+_CarbonEvt
+_Cm
+_Ctl
+_Dlg
+_Drag
+_Evt
+_File
+_Fm
+_Folder
+_Help
+_IBCarbon
+_Icn
+_LWPCookieJar
+_Launch
+_List
+_Menu
+_Mlte
+_MozillaCookieJar
+_OSA
+_Qd
+_Qdoffs
+_Qt
+_Res
+_Scrap
+_Snd
+_TE
+_Win
__builtin__
+__future__
+__phello__
+_abcoll
+_ast
+_bisect
+_bsddb
+_codecs
+_codecs_cn
+_codecs_hk
+_codecs_iso2022
+_codecs_jp
+_codecs_kr
+_codecs_tw
+_collections
+_csv
+_ctypes
+_ctypes_test
+_curses
+_curses_panel
+_elementtree
+_emx_link
+_functools
+_hashlib
+_heapq
+_hotshot
+_io
+_json
+_locale
+_lsprof
+_md5
+_msi
+_multibytecodec
+_multiprocessing
+_osx_support
+_pyio
+_random
+_scproxy
+_sha
+_sha256
+_sha512
+_socket
+_sqlite3
+_sre
+_ssl
+_strptime
+_struct
+_subprocess
+_symtable
+_testcapi
+_threading_local
+_tkinter
+_warnings
+_weakref
+_weakrefset
_winreg
abc
aepack
@@ -39,33 +150,44 @@
aetypes
aifc
al
+antigravity
anydbm
applesingle
+appletrawmain
+appletrunner
argparse
+argvemulator
array
ast
asynchat
asyncore
atexit
+audiodev
audioop
autoGIL
base64
bdb
+bgenlocations
binascii
binhex
bisect
bsddb
+bsddb185
buildtools
+bundlebuilder
bz2
cPickle
cProfile
cStringIO
calendar
cd
+cddb
+cdplayer
cfmfile
cgi
cgitb
chunk
+cl
cmath
cmd
code
@@ -112,6 +234,7 @@
fnmatch
formatter
fpectl
+fpetest
fpformat
fractions
ftplib
@@ -119,7 +242,9 @@
future_builtins
gc
gdbm
+genericpath
gensuitemodule
+gestalt
getopt
getpass
gettext
@@ -135,7 +260,10 @@
htmllib
httplib
ic
+icglue
icopen
+idlelib
+ihooks
imageop
imaplib
imgfile
@@ -151,14 +279,17 @@
keyword
lib2to3
linecache
+linuxaudiodev
locale
logging
macerrors
macostools
macpath
macresource
+macurl2path
mailbox
mailcap
+markupbase
marshal
math
md5
@@ -177,16 +308,25 @@
new
nis
nntplib
+nt
ntpath
+nturl2path
numbers
+opcode
operator
optparse
os
+os2
+os2emxpath
ossaudiodev
+panel
+panelparser
parser
+pcre
pdb
pickle
pickletools
+pimp
pipes
pkgutil
platform
@@ -200,23 +340,33 @@
profile
pstats
pty
+pure
pwd
py_compile
pyclbr
pydoc
+pydoc_data
+pyexpat
quopri
random
re
+readcd
readline
+repr
resource
rexec
rfc822
+rgbimg
+riscosenviron
+riscospath
rlcompleter
robotparser
+rourl2path
runpy
sched
select
sets
+sgi
sgmllib
sha
shelve
@@ -238,11 +388,15 @@
stat
statvfs
string
+stringold
stringprep
+strop
struct
subprocess
sunau
+sunaudio
sunaudiodev
+sv
symbol
symtable
sys
@@ -252,15 +406,26 @@
tarfile
telnetlib
tempfile
+terminalcommand
termios
test
textwrap
+this
thread
threading
time
timeit
+timing
+tkColorChooser
+tkCommonDialog
+tkFileDialog
+tkFont
+tkMessageBox
+tkSimpleDialog
+toaiff
token
tokenize
+torgb
trace
traceback
ttk
@@ -285,7 +450,10 @@
wsgiref
xdrlib
xml
+xmllib
xmlrpclib
+xx
+xxsubtype
zipfile
zipimport
zlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment