/opt/alt/python37/lib64/python3.7/__pycache__
NameSizeModeActions
abc.cpython-37.opt-1.pyc64480644editdlrm
abc.cpython-37.opt-2.pyc32100644editdlrm
abc.cpython-37.pyc64480644editdlrm
aifc.cpython-37.opt-1.pyc261400644editdlrm
aifc.cpython-37.opt-2.pyc209350644editdlrm
aifc.cpython-37.pyc261400644editdlrm
antigravity.cpython-37.opt-1.pyc7980644editdlrm
antigravity.cpython-37.opt-2.pyc6540644editdlrm
antigravity.cpython-37.pyc7980644editdlrm
argparse.cpython-37.opt-1.pyc618470644editdlrm
argparse.cpython-37.opt-2.pyc526060644editdlrm
argparse.cpython-37.pyc619810644editdlrm
ast.cpython-37.opt-1.pyc117120644editdlrm
ast.cpython-37.opt-2.pyc59580644editdlrm
ast.cpython-37.pyc117120644editdlrm
asynchat.cpython-37.opt-1.pyc68310644editdlrm
asynchat.cpython-37.opt-2.pyc54550644editdlrm
asynchat.cpython-37.pyc68310644editdlrm
asyncore.cpython-37.opt-1.pyc158410644editdlrm
asyncore.cpython-37.opt-2.pyc146370644editdlrm
asyncore.cpython-37.pyc158410644editdlrm
base64.cpython-37.opt-1.pyc168240644editdlrm
base64.cpython-37.opt-2.pyc112260644editdlrm
base64.cpython-37.pyc169870644editdlrm
bdb.cpython-37.opt-1.pyc245730644editdlrm
bdb.cpython-37.opt-2.pyc155040644editdlrm
bdb.cpython-37.pyc245730644editdlrm
binhex.cpython-37.opt-1.pyc120560644editdlrm
binhex.cpython-37.opt-2.pyc115230644editdlrm
binhex.cpython-37.pyc120560644editdlrm
bisect.cpython-37.opt-1.pyc26950644editdlrm
bisect.cpython-37.opt-2.pyc13990644editdlrm
bisect.cpython-37.pyc26950644editdlrm
bz2.cpython-37.opt-1.pyc111780644editdlrm
bz2.cpython-37.opt-2.pyc61210644editdlrm
bz2.cpython-37.pyc111780644editdlrm
calendar.cpython-37.opt-1.pyc274210644editdlrm
calendar.cpython-37.opt-2.pyc226060644editdlrm
calendar.cpython-37.pyc274210644editdlrm
cgi.cpython-37.opt-1.pyc275060644editdlrm
cgi.cpython-37.opt-2.pyc189750644editdlrm
cgi.cpython-37.pyc275060644editdlrm
cgitb.cpython-37.opt-1.pyc101090644editdlrm
cgitb.cpython-37.opt-2.pyc85100644editdlrm
cgitb.cpython-37.pyc101090644editdlrm
chunk.cpython-37.opt-1.pyc49160644editdlrm
chunk.cpython-37.opt-2.pyc27700644editdlrm
chunk.cpython-37.pyc49160644editdlrm
cmd.cpython-37.opt-1.pyc125870644editdlrm
cmd.cpython-37.opt-2.pyc71480644editdlrm
cmd.cpython-37.pyc125870644editdlrm
code.cpython-37.opt-1.pyc98580644editdlrm
code.cpython-37.opt-2.pyc45790644editdlrm
code.cpython-37.pyc98580644editdlrm
codecs.cpython-37.opt-1.pyc341130644editdlrm
codecs.cpython-37.opt-2.pyc182650644editdlrm
codecs.cpython-37.pyc341130644editdlrm
codeop.cpython-37.opt-1.pyc64280644editdlrm
codeop.cpython-37.opt-2.pyc23590644editdlrm
codeop.cpython-37.pyc64280644editdlrm
colorsys.cpython-37.opt-1.pyc32940644editdlrm
colorsys.cpython-37.opt-2.pyc26880644editdlrm
colorsys.cpython-37.pyc32940644editdlrm
compileall.cpython-37.opt-1.pyc93310644editdlrm
compileall.cpython-37.opt-2.pyc69560644editdlrm
compileall.cpython-37.pyc93310644editdlrm
configparser.cpython-37.opt-1.pyc458770644editdlrm
configparser.cpython-37.opt-2.pyc309040644editdlrm
configparser.cpython-37.pyc458770644editdlrm
contextlib.cpython-37.opt-1.pyc204300644editdlrm
contextlib.cpython-37.opt-2.pyc146730644editdlrm
contextlib.cpython-37.pyc204560644editdlrm
contextvars.cpython-37.opt-1.pyc2540644editdlrm
contextvars.cpython-37.opt-2.pyc2540644editdlrm
contextvars.cpython-37.pyc2540644editdlrm
copy.cpython-37.opt-1.pyc71200644editdlrm
copy.cpython-37.opt-2.pyc48040644editdlrm
copy.cpython-37.pyc71200644editdlrm
copyreg.cpython-37.opt-1.pyc42060644editdlrm
copyreg.cpython-37.opt-2.pyc34020644editdlrm
copyreg.cpython-37.pyc42410644editdlrm
cProfile.cpython-37.opt-1.pyc48050644editdlrm
cProfile.cpython-37.opt-2.pyc43440644editdlrm
cProfile.cpython-37.pyc48050644editdlrm
crypt.cpython-37.opt-1.pyc31310644editdlrm
crypt.cpython-37.opt-2.pyc24670644editdlrm
crypt.cpython-37.pyc31310644editdlrm
csv.cpython-37.opt-1.pyc118290644editdlrm
csv.cpython-37.opt-2.pyc97900644editdlrm
csv.cpython-37.pyc118290644editdlrm
dataclasses.cpython-37.opt-1.pyc230210644editdlrm
dataclasses.cpython-37.opt-2.pyc195780644editdlrm
dataclasses.cpython-37.pyc230210644editdlrm
datetime.cpython-37.opt-1.pyc559320644editdlrm
datetime.cpython-37.opt-2.pyc468280644editdlrm
datetime.cpython-37.pyc572240644editdlrm
decimal.cpython-37.opt-1.pyc3700644editdlrm
decimal.cpython-37.opt-2.pyc3700644editdlrm
decimal.cpython-37.pyc3700644editdlrm
difflib.cpython-37.opt-1.pyc594030644editdlrm
difflib.cpython-37.opt-2.pyc248270644editdlrm
difflib.cpython-37.pyc594410644editdlrm
dis.cpython-37.opt-1.pyc152020644editdlrm
dis.cpython-37.opt-2.pyc113950644editdlrm
dis.cpython-37.pyc152020644editdlrm
doctest.cpython-37.opt-1.pyc753300644editdlrm
doctest.cpython-37.opt-2.pyc400030644editdlrm
doctest.cpython-37.pyc755750644editdlrm
dummy_threading.cpython-37.opt-1.pyc11210644editdlrm
dummy_threading.cpython-37.opt-2.pyc7480644editdlrm
dummy_threading.cpython-37.pyc11210644editdlrm
enum.cpython-37.opt-1.pyc243760644editdlrm
enum.cpython-37.opt-2.pyc200850644editdlrm
enum.cpython-37.pyc243760644editdlrm
filecmp.cpython-37.opt-1.pyc83040644editdlrm
filecmp.cpython-37.opt-2.pyc58870644editdlrm
filecmp.cpython-37.pyc83040644editdlrm
fileinput.cpython-37.opt-1.pyc132520644editdlrm
fileinput.cpython-37.opt-2.pyc76560644editdlrm
fileinput.cpython-37.pyc132520644editdlrm
fnmatch.cpython-37.opt-1.pyc33340644editdlrm
fnmatch.cpython-37.opt-2.pyc21450644editdlrm
fnmatch.cpython-37.pyc33340644editdlrm
formatter.cpython-37.opt-1.pyc175500644editdlrm
formatter.cpython-37.opt-2.pyc151100644editdlrm
formatter.cpython-37.pyc175500644editdlrm
fractions.cpython-37.opt-1.pyc184260644editdlrm
fractions.cpython-37.opt-2.pyc111400644editdlrm
fractions.cpython-37.pyc184260644editdlrm
ftplib.cpython-37.opt-1.pyc282220644editdlrm
ftplib.cpython-37.opt-2.pyc184180644editdlrm
ftplib.cpython-37.pyc282220644editdlrm
functools.cpython-37.opt-1.pyc241290644editdlrm
functools.cpython-37.opt-2.pyc182030644editdlrm
functools.cpython-37.pyc242280644editdlrm
genericpath.cpython-37.opt-1.pyc39010644editdlrm
genericpath.cpython-37.opt-2.pyc27520644editdlrm
genericpath.cpython-37.pyc39010644editdlrm
getopt.cpython-37.opt-1.pyc62020644editdlrm
getopt.cpython-37.opt-2.pyc36480644editdlrm
getopt.cpython-37.pyc62360644editdlrm
getpass.cpython-37.opt-1.pyc41610644editdlrm
getpass.cpython-37.opt-2.pyc29760644editdlrm
getpass.cpython-37.pyc41610644editdlrm
gettext.cpython-37.opt-1.pyc141650644editdlrm
gettext.cpython-37.opt-2.pyc134740644editdlrm
gettext.cpython-37.pyc141650644editdlrm
glob.cpython-37.opt-1.pyc41910644editdlrm
glob.cpython-37.opt-2.pyc33310644editdlrm
glob.cpython-37.pyc42560644editdlrm
gzip.cpython-37.opt-1.pyc173520644editdlrm
gzip.cpython-37.opt-2.pyc135460644editdlrm
gzip.cpython-37.pyc173520644editdlrm
hashlib.cpython-37.opt-1.pyc65880644editdlrm
hashlib.cpython-37.opt-2.pyc60160644editdlrm
hashlib.cpython-37.pyc65880644editdlrm
heapq.cpython-37.opt-1.pyc143590644editdlrm
heapq.cpython-37.opt-2.pyc113690644editdlrm
heapq.cpython-37.pyc143590644editdlrm
hmac.cpython-37.opt-1.pyc61100644editdlrm
hmac.cpython-37.opt-2.pyc39200644editdlrm
hmac.cpython-37.pyc61100644editdlrm
imaplib.cpython-37.opt-1.pyc392160644editdlrm
imaplib.cpython-37.opt-2.pyc271280644editdlrm
imaplib.cpython-37.pyc414270644editdlrm
imghdr.cpython-37.opt-1.pyc41390644editdlrm
imghdr.cpython-37.opt-2.pyc38240644editdlrm
imghdr.cpython-37.pyc41390644editdlrm
imp.cpython-37.opt-1.pyc97500644editdlrm
imp.cpython-37.opt-2.pyc73470644editdlrm
imp.cpython-37.pyc97500644editdlrm
inspect.cpython-37.opt-1.pyc797610644editdlrm
inspect.cpython-37.opt-2.pyc542660644editdlrm
inspect.cpython-37.pyc800400644editdlrm
io.cpython-37.opt-1.pyc34060644editdlrm
io.cpython-37.opt-2.pyc19150644editdlrm
io.cpython-37.pyc34060644editdlrm
ipaddress.cpython-37.opt-1.pyc628140644editdlrm
ipaddress.cpython-37.opt-2.pyc369460644editdlrm
ipaddress.cpython-37.pyc628140644editdlrm
keyword.cpython-37.opt-1.pyc18060644editdlrm
keyword.cpython-37.opt-2.pyc15380644editdlrm
keyword.cpython-37.pyc18060644editdlrm
linecache.cpython-37.opt-1.pyc38140644editdlrm
linecache.cpython-37.opt-2.pyc27090644editdlrm
linecache.cpython-37.pyc38140644editdlrm
locale.cpython-37.opt-1.pyc345850644editdlrm
locale.cpython-37.opt-2.pyc299580644editdlrm
locale.cpython-37.pyc345850644editdlrm
lzma.cpython-37.opt-1.pyc119360644editdlrm
lzma.cpython-37.opt-2.pyc57450644editdlrm
lzma.cpython-37.pyc119360644editdlrm
macpath.cpython-37.opt-1.pyc58040644editdlrm
macpath.cpython-37.opt-2.pyc45380644editdlrm
macpath.cpython-37.pyc58040644editdlrm
mailbox.cpython-37.opt-1.pyc635630644editdlrm
mailbox.cpython-37.opt-2.pyc544160644editdlrm
mailbox.cpython-37.pyc636450644editdlrm
mailcap.cpython-37.opt-1.pyc72090644editdlrm
mailcap.cpython-37.opt-2.pyc56390644editdlrm
mailcap.cpython-37.pyc72090644editdlrm
mimetypes.cpython-37.opt-1.pyc157240644editdlrm
mimetypes.cpython-37.opt-2.pyc97260644editdlrm
mimetypes.cpython-37.pyc157240644editdlrm
modulefinder.cpython-37.opt-1.pyc152870644editdlrm
modulefinder.cpython-37.opt-2.pyc144460644editdlrm
modulefinder.cpython-37.pyc153490644editdlrm
netrc.cpython-37.opt-1.pyc37600644editdlrm
netrc.cpython-37.opt-2.pyc35220644editdlrm
netrc.cpython-37.pyc37600644editdlrm
nntplib.cpython-37.opt-1.pyc337470644editdlrm
nntplib.cpython-37.opt-2.pyc212060644editdlrm
nntplib.cpython-37.pyc337470644editdlrm
ntpath.cpython-37.opt-1.pyc130010644editdlrm
ntpath.cpython-37.opt-2.pyc109520644editdlrm
ntpath.cpython-37.pyc130010644editdlrm
nturl2path.cpython-37.opt-1.pyc16120644editdlrm
nturl2path.cpython-37.opt-2.pyc11930644editdlrm
nturl2path.cpython-37.pyc16120644editdlrm
numbers.cpython-37.opt-1.pyc121890644editdlrm
numbers.cpython-37.opt-2.pyc82270644editdlrm
numbers.cpython-37.pyc121890644editdlrm
opcode.cpython-37.opt-1.pyc53750644editdlrm
opcode.cpython-37.opt-2.pyc52350644editdlrm
opcode.cpython-37.pyc53750644editdlrm
operator.cpython-37.opt-1.pyc138970644editdlrm
operator.cpython-37.opt-2.pyc114380644editdlrm
operator.cpython-37.pyc138970644editdlrm
optparse.cpython-37.opt-1.pyc478220644editdlrm
optparse.cpython-37.opt-2.pyc354670644editdlrm
optparse.cpython-37.pyc478900644editdlrm
os.cpython-37.opt-1.pyc297630644editdlrm
os.cpython-37.opt-2.pyc178830644editdlrm
os.cpython-37.pyc297950644editdlrm
pathlib.cpython-37.opt-1.pyc422560644editdlrm
pathlib.cpython-37.opt-2.pyc343560644editdlrm
pathlib.cpython-37.pyc422560644editdlrm
pdb.cpython-37.opt-1.pyc468320644editdlrm
pdb.cpython-37.opt-2.pyc327650644editdlrm
pdb.cpython-37.pyc468870644editdlrm
pickle.cpython-37.opt-1.pyc429210644editdlrm
pickle.cpython-37.opt-2.pyc381330644editdlrm
pickle.cpython-37.pyc430380644editdlrm
pickletools.cpython-37.opt-1.pyc645080644editdlrm
pickletools.cpython-37.opt-2.pyc558990644editdlrm
pickletools.cpython-37.pyc653280644editdlrm
pipes.cpython-37.opt-1.pyc78000644editdlrm
pipes.cpython-37.opt-2.pyc49270644editdlrm
pipes.cpython-37.pyc78000644editdlrm
pkgutil.cpython-37.opt-1.pyc163570644editdlrm
pkgutil.cpython-37.opt-2.pyc110970644editdlrm
pkgutil.cpython-37.pyc163570644editdlrm
platform.cpython-37.opt-1.pyc281800644editdlrm
platform.cpython-37.opt-2.pyc189460644editdlrm
platform.cpython-37.pyc281800644editdlrm
plistlib.cpython-37.opt-1.pyc254790644editdlrm
plistlib.cpython-37.opt-2.pyc224300644editdlrm
plistlib.cpython-37.pyc255460644editdlrm
poplib.cpython-37.opt-1.pyc133330644editdlrm
poplib.cpython-37.opt-2.pyc84020644editdlrm
poplib.cpython-37.pyc133330644editdlrm
posixpath.cpython-37.opt-1.pyc104260644editdlrm
posixpath.cpython-37.opt-2.pyc87050644editdlrm
posixpath.cpython-37.pyc104260644editdlrm
pprint.cpython-37.opt-1.pyc157790644editdlrm
pprint.cpython-37.opt-2.pyc137150644editdlrm
pprint.cpython-37.pyc158300644editdlrm
profile.cpython-37.opt-1.pyc139030644editdlrm
profile.cpython-37.opt-2.pyc109210644editdlrm
profile.cpython-37.pyc140890644editdlrm
pstats.cpython-37.opt-1.pyc222910644editdlrm
pstats.cpython-37.opt-2.pyc197680644editdlrm
pstats.cpython-37.pyc222910644editdlrm
pty.cpython-37.opt-1.pyc38800644editdlrm
pty.cpython-37.opt-2.pyc30270644editdlrm
pty.cpython-37.pyc38800644editdlrm
pyclbr.cpython-37.opt-1.pyc103700644editdlrm
pyclbr.cpython-37.opt-2.pyc67620644editdlrm
pyclbr.cpython-37.pyc103700644editdlrm
pydoc.cpython-37.opt-1.pyc836130644editdlrm
pydoc.cpython-37.opt-2.pyc739140644editdlrm
pydoc.cpython-37.pyc836660644editdlrm
py_compile.cpython-37.opt-1.pyc71880644editdlrm
py_compile.cpython-37.opt-2.pyc35540644editdlrm
py_compile.cpython-37.pyc71880644editdlrm
queue.cpython-37.opt-1.pyc114690644editdlrm
queue.cpython-37.opt-2.pyc63810644editdlrm
queue.cpython-37.pyc114690644editdlrm
quopri.cpython-37.opt-1.pyc55930644editdlrm
quopri.cpython-37.opt-2.pyc45570644editdlrm
quopri.cpython-37.pyc57680644editdlrm
random.cpython-37.opt-1.pyc194050644editdlrm
random.cpython-37.opt-2.pyc128640644editdlrm
random.cpython-37.pyc194050644editdlrm
re.cpython-37.opt-1.pyc139150644editdlrm
re.cpython-37.opt-2.pyc55550644editdlrm
re.cpython-37.pyc139150644editdlrm
reprlib.cpython-37.opt-1.pyc53470644editdlrm
reprlib.cpython-37.opt-2.pyc51910644editdlrm
reprlib.cpython-37.pyc53470644editdlrm
rlcompleter.cpython-37.opt-1.pyc57440644editdlrm
rlcompleter.cpython-37.opt-2.pyc30810644editdlrm
rlcompleter.cpython-37.pyc57440644editdlrm
runpy.cpython-37.opt-1.pyc79420644editdlrm
runpy.cpython-37.opt-2.pyc63990644editdlrm
runpy.cpython-37.pyc79420644editdlrm
sched.cpython-37.opt-1.pyc65180644editdlrm
sched.cpython-37.opt-2.pyc34780644editdlrm
sched.cpython-37.pyc65180644editdlrm
secrets.cpython-37.opt-1.pyc21810644editdlrm
secrets.cpython-37.opt-2.pyc11230644editdlrm
secrets.cpython-37.pyc21810644editdlrm
selectors.cpython-37.opt-1.pyc169450644editdlrm
selectors.cpython-37.opt-2.pyc128940644editdlrm
selectors.cpython-37.pyc169450644editdlrm
shelve.cpython-37.opt-1.pyc95030644editdlrm
shelve.cpython-37.opt-2.pyc53500644editdlrm
shelve.cpython-37.pyc95030644editdlrm
shlex.cpython-37.opt-1.pyc71820644editdlrm
shlex.cpython-37.opt-2.pyc66240644editdlrm
shlex.cpython-37.pyc71820644editdlrm
shutil.cpython-37.opt-1.pyc309770644editdlrm
shutil.cpython-37.opt-2.pyc202040644editdlrm
shutil.cpython-37.pyc309770644editdlrm
signal.cpython-37.opt-1.pyc25090644editdlrm
signal.cpython-37.opt-2.pyc22810644editdlrm
signal.cpython-37.pyc25090644editdlrm
site.cpython-37.opt-1.pyc166400644editdlrm
site.cpython-37.opt-2.pyc110900644editdlrm
site.cpython-37.pyc166400644editdlrm
smtpd.cpython-37.opt-1.pyc266010644editdlrm
smtpd.cpython-37.opt-2.pyc239820644editdlrm
smtpd.cpython-37.pyc266010644editdlrm
smtplib.cpython-37.opt-1.pyc354250644editdlrm
smtplib.cpython-37.opt-2.pyc190130644editdlrm
smtplib.cpython-37.pyc354860644editdlrm
sndhdr.cpython-37.opt-1.pyc69000644editdlrm
sndhdr.cpython-37.opt-2.pyc56250644editdlrm
sndhdr.cpython-37.pyc69000644editdlrm
socket.cpython-37.opt-1.pyc219940644editdlrm
socket.cpython-37.opt-2.pyc145600644editdlrm
socket.cpython-37.pyc220340644editdlrm
socketserver.cpython-37.opt-1.pyc241970644editdlrm
socketserver.cpython-37.opt-2.pyc132700644editdlrm
socketserver.cpython-37.pyc241970644editdlrm
sre_compile.cpython-37.opt-1.pyc149740644editdlrm
sre_compile.cpython-37.opt-2.pyc145600644editdlrm
sre_compile.cpython-37.pyc152000644editdlrm
sre_constants.cpython-37.opt-1.pyc62880644editdlrm
sre_constants.cpython-37.opt-2.pyc58630644editdlrm
sre_constants.cpython-37.pyc62880644editdlrm
sre_parse.cpython-37.opt-1.pyc212360644editdlrm
sre_parse.cpython-37.opt-2.pyc211880644editdlrm
sre_parse.cpython-37.pyc212830644editdlrm
ssl.cpython-37.opt-1.pyc393870644editdlrm
ssl.cpython-37.opt-2.pyc298810644editdlrm
ssl.cpython-37.pyc393870644editdlrm
stat.cpython-37.opt-1.pyc43410644editdlrm
stat.cpython-37.opt-2.pyc35440644editdlrm
stat.cpython-37.pyc43410644editdlrm
statistics.cpython-37.opt-1.pyc179260644editdlrm
statistics.cpython-37.opt-2.pyc72390644editdlrm
statistics.cpython-37.pyc181610644editdlrm
string.cpython-37.opt-1.pyc78320644editdlrm
string.cpython-37.opt-2.pyc67260644editdlrm
string.cpython-37.pyc78320644editdlrm
stringprep.cpython-37.opt-1.pyc99710644editdlrm
stringprep.cpython-37.opt-2.pyc97510644editdlrm
stringprep.cpython-37.pyc100290644editdlrm
struct.cpython-37.opt-1.pyc3310644editdlrm
struct.cpython-37.opt-2.pyc3310644editdlrm
struct.cpython-37.pyc3310644editdlrm
subprocess.cpython-37.opt-1.pyc393460644editdlrm
subprocess.cpython-37.opt-2.pyc276370644editdlrm
subprocess.cpython-37.pyc394510644editdlrm
sunau.cpython-37.opt-1.pyc172080644editdlrm
sunau.cpython-37.opt-2.pyc126180644editdlrm
sunau.cpython-37.pyc172080644editdlrm
symbol.cpython-37.opt-1.pyc25620644editdlrm
symbol.cpython-37.opt-2.pyc24860644editdlrm
symbol.cpython-37.pyc25620644editdlrm
symtable.cpython-37.opt-1.pyc103590644editdlrm
symtable.cpython-37.opt-2.pyc96620644editdlrm
symtable.cpython-37.pyc104510644editdlrm
sysconfig.cpython-37.opt-1.pyc155370644editdlrm
sysconfig.cpython-37.opt-2.pyc131480644editdlrm
sysconfig.cpython-37.pyc155370644editdlrm
tabnanny.cpython-37.opt-1.pyc69750644editdlrm
tabnanny.cpython-37.opt-2.pyc60420644editdlrm
tabnanny.cpython-37.pyc69750644editdlrm
tarfile.cpython-37.opt-1.pyc618970644editdlrm
tarfile.cpython-37.opt-2.pyc481930644editdlrm
tarfile.cpython-37.pyc618970644editdlrm
telnetlib.cpython-37.opt-1.pyc180990644editdlrm
telnetlib.cpython-37.opt-2.pyc105900644editdlrm
telnetlib.cpython-37.pyc180990644editdlrm
tempfile.cpython-37.opt-1.pyc222250644editdlrm
tempfile.cpython-37.opt-2.pyc157530644editdlrm
tempfile.cpython-37.pyc222250644editdlrm
textwrap.cpython-37.opt-1.pyc134500644editdlrm
textwrap.cpython-37.opt-2.pyc62400644editdlrm
textwrap.cpython-37.pyc135220644editdlrm
this.cpython-37.opt-1.pyc12740644editdlrm
this.cpython-37.opt-2.pyc12740644editdlrm
this.cpython-37.pyc12740644editdlrm
threading.cpython-37.opt-1.pyc372810644editdlrm
threading.cpython-37.opt-2.pyc209790644editdlrm
threading.cpython-37.pyc379300644editdlrm
timeit.cpython-37.opt-1.pyc116820644editdlrm
timeit.cpython-37.opt-2.pyc58220644editdlrm
timeit.cpython-37.pyc116820644editdlrm
token.cpython-37.opt-1.pyc35960644editdlrm
token.cpython-37.opt-2.pyc35460644editdlrm
token.cpython-37.pyc35960644editdlrm
tokenize.cpython-37.opt-1.pyc177840644editdlrm
tokenize.cpython-37.opt-2.pyc141840644editdlrm
tokenize.cpython-37.pyc178280644editdlrm
trace.cpython-37.opt-1.pyc193170644editdlrm
trace.cpython-37.opt-2.pyc163140644editdlrm
trace.cpython-37.pyc193170644editdlrm
traceback.cpython-37.opt-1.pyc196190644editdlrm
traceback.cpython-37.opt-2.pyc107190644editdlrm
traceback.cpython-37.pyc196190644editdlrm
tracemalloc.cpython-37.opt-1.pyc172730644editdlrm
tracemalloc.cpython-37.opt-2.pyc158570644editdlrm
tracemalloc.cpython-37.pyc172730644editdlrm
tty.cpython-37.opt-1.pyc10910644editdlrm
tty.cpython-37.opt-2.pyc9900644editdlrm
tty.cpython-37.pyc10910644editdlrm
types.cpython-37.opt-1.pyc89730644editdlrm
types.cpython-37.opt-2.pyc77510644editdlrm
types.cpython-37.pyc89730644editdlrm
typing.cpython-37.opt-1.pyc509770644editdlrm
typing.cpython-37.opt-2.pyc389790644editdlrm
typing.cpython-37.pyc510260644editdlrm
uu.cpython-37.opt-1.pyc37950644editdlrm
uu.cpython-37.opt-2.pyc35510644editdlrm
uu.cpython-37.pyc37950644editdlrm
uuid.cpython-37.opt-1.pyc230660644editdlrm
uuid.cpython-37.opt-2.pyc159100644editdlrm
uuid.cpython-37.pyc232000644editdlrm
warnings.cpython-37.opt-1.pyc133010644editdlrm
warnings.cpython-37.opt-2.pyc109210644editdlrm
warnings.cpython-37.pyc138330644editdlrm
wave.cpython-37.opt-1.pyc182360644editdlrm
wave.cpython-37.opt-2.pyc122440644editdlrm
wave.cpython-37.pyc182860644editdlrm
weakref.cpython-37.opt-1.pyc195360644editdlrm
weakref.cpython-37.opt-2.pyc162360644editdlrm
weakref.cpython-37.pyc195660644editdlrm
webbrowser.cpython-37.opt-1.pyc169130644editdlrm
webbrowser.cpython-37.opt-2.pyc145280644editdlrm
webbrowser.cpython-37.pyc169460644editdlrm
xdrlib.cpython-37.opt-1.pyc83210644editdlrm
xdrlib.cpython-37.opt-2.pyc78360644editdlrm
xdrlib.cpython-37.pyc83210644editdlrm
zipapp.cpython-37.opt-1.pyc58000644editdlrm
zipapp.cpython-37.opt-2.pyc46240644editdlrm
zipapp.cpython-37.pyc58000644editdlrm
zipfile.cpython-37.opt-1.pyc502920644editdlrm
zipfile.cpython-37.opt-2.pyc440040644editdlrm
zipfile.cpython-37.pyc503290644editdlrm
_bootlocale.cpython-37.opt-1.pyc12200644editdlrm
_bootlocale.cpython-37.opt-2.pyc9950644editdlrm
_bootlocale.cpython-37.pyc12460644editdlrm
_collections_abc.cpython-37.opt-1.pyc289390644editdlrm
_collections_abc.cpython-37.opt-2.pyc237850644editdlrm
_collections_abc.cpython-37.pyc289390644editdlrm
_compat_pickle.cpython-37.opt-1.pyc57470644editdlrm
_compat_pickle.cpython-37.opt-2.pyc57470644editdlrm
_compat_pickle.cpython-37.pyc58050644editdlrm
_compression.cpython-37.opt-1.pyc41210644editdlrm
_compression.cpython-37.opt-2.pyc39050644editdlrm
_compression.cpython-37.pyc41210644editdlrm
_dummy_thread.cpython-37.opt-1.pyc59860644editdlrm
_dummy_thread.cpython-37.opt-2.pyc33380644editdlrm
_dummy_thread.cpython-37.pyc59860644editdlrm
_markupbase.cpython-37.opt-1.pyc76130644editdlrm
_markupbase.cpython-37.opt-2.pyc72330644editdlrm
_markupbase.cpython-37.pyc77820644editdlrm
_osx_support.cpython-37.opt-1.pyc102950644editdlrm
_osx_support.cpython-37.opt-2.pyc78460644editdlrm
_osx_support.cpython-37.pyc102950644editdlrm
_pydecimal.cpython-37.opt-1.pyc1622010644editdlrm
_pydecimal.cpython-37.opt-2.pyc810560644editdlrm
_pydecimal.cpython-37.pyc1622010644editdlrm
_pyio.cpython-37.opt-1.pyc729240644editdlrm
_pyio.cpython-37.opt-2.pyc504150644editdlrm
_pyio.cpython-37.pyc729440644editdlrm
_py_abc.cpython-37.opt-1.pyc46130644editdlrm
_py_abc.cpython-37.opt-2.pyc33940644editdlrm
_py_abc.cpython-37.pyc46510644editdlrm
_sitebuiltins.cpython-37.opt-1.pyc34620644editdlrm
_sitebuiltins.cpython-37.opt-2.pyc29380644editdlrm
_sitebuiltins.cpython-37.pyc34620644editdlrm
_strptime.cpython-37.opt-1.pyc161010644editdlrm
_strptime.cpython-37.opt-2.pyc123710644editdlrm
_strptime.cpython-37.pyc161010644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-37.opt-1.pyc234930644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-37.opt-2.pyc234930644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-37.pyc234930644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-37.opt-1.pyc228720644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-37.opt-2.pyc228720644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-37.pyc228720644editdlrm
_threading_local.cpython-37.opt-1.pyc64090644editdlrm
_threading_local.cpython-37.opt-2.pyc30940644editdlrm
_threading_local.cpython-37.pyc64090644editdlrm
_weakrefset.cpython-37.opt-1.pyc74590644editdlrm
_weakrefset.cpython-37.opt-2.pyc74590644editdlrm
_weakrefset.cpython-37.pyc74590644editdlrm
__future__.cpython-37.opt-1.pyc41290644editdlrm
__future__.cpython-37.opt-2.pyc21530644editdlrm
__future__.cpython-37.pyc41290644editdlrm
__phello__.foo.cpython-37.opt-1.pyc1380644editdlrm
__phello__.foo.cpython-37.opt-2.pyc1380644editdlrm
__phello__.foo.cpython-37.pyc1380644editdlrm
Edit: /opt/alt/python37/lib64/python3.7/__pycache__/nntplib.cpython-37.opt-1.pyc (33747B)
B  fO @sdZddlZddlZddlZddlZddlZy ddlZWnek rPdZYnXdZddl m Z ddlm Z ddd d d d d dgZ dZGdddeZGdd d eZGdd d eZGdd d eZGdd d eZGdd d eZdZdZddddddddd d!d"d#h Zd$d%d&d'd(d)d*gZd)d*d+Zd,Zed-d.d/d0d1gZed2d3d4d5gZd6dZ d7d8Zdmd9d:Z dnd;d<Z!dod=d>Z"erd?d@Z#GdAdBdBZ$GdCdde$Z%erGdDdEdEe$Z&e 'dEe(dFkrddl)Z)e)j*dGdHZ+e+j,dIdJdKdLdMe+j,dNdOdPdQdMe+j,dRdSdTe-dUeefdVe+j,dWdXdYe-dZdVe+j,d[d\d]dd^d_e+.Z/e/j0Z0e/jse0dTkrteZ0e%e/j1e0d`Z2ne0dTkreZ0e&e/j1e0d`Z2e23Z4dae4kre25e26e/j6\Z7Z8Z9Z:Z;ee-e:e/j?dhZ9e2@e9e:\Z7ZAxbeAD]Z\ZBZCe eCd%DdidhdZEe eCd$ZFe-eCd*ZGe>> from nntplib import NNTP >>> s = NNTP('news') >>> resp, count, first, last, name = s.group('comp.lang.python') >>> print('Group', name, 'has', count, 'articles, range', first, 'to', last) Group comp.lang.python has 51 articles, range 5770 to 5821 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last)) >>> resp = s.quit() >>> Here 'resp' is the server response line. Error responses are turned into exceptions. To post an article from a file: >>> f = open(filename, 'rb') # file containing article, including header >>> resp = s.post(f) >>> For descriptions of all methods, read the comments in the code below. Note that all arguments and return values representing article numbers are strings, not numbers, since they are rarely used for calculations. NFT) decode_header)_GLOBAL_DEFAULT_TIMEOUTNNTP NNTPErrorNNTPReplyErrorNNTPTemporaryErrorNNTPPermanentErrorNNTPProtocolError NNTPDataErrorric@seZdZdZddZdS)rz%Base class for all nntplib exceptionscGs>tj|f|y|d|_Wntk r8d|_YnXdS)NrzNo response given) Exception__init__response IndexError)selfargsr,/opt/alt/python37/lib64/python3.7/nntplib.pyr bs zNNTPError.__init__N)__name__ __module__ __qualname____doc__r rrrrr`sc@seZdZdZdS)rzUnexpected [123]xx replyN)rrrrrrrrrisc@seZdZdZdS)rz 4xx errorsN)rrrrrrrrrmsc@seZdZdZdS)rz 5xx errorsN)rrrrrrrrrqsc@seZdZdZdS)r z"Response does not begin with [1-5]N)rrrrrrrrr usc@seZdZdZdS)r zError in response dataN)rrrrrrrrr yswi3Z100Z101211215Z220Z221Z222Z224Z225Z230Z231Z282subjectfromdatez message-idZ referencesz:bytesz:lines)bytesliness GroupInfogrouplastfirstflag ArticleInfoZnumber message_idrcCsNg}x>t|D]2\}}t|tr6|||p.dq||qWd|S)zvTakes a unicode string representing a munged header value and decodes it as a (possibly non-ASCII) readable value.ascii)_email_decode_header isinstancerappenddecodejoin)Z header_strpartsvencrrrrs  cCsg}xh|D]`}|ddkr<|ddd\}}}d|}n|d\}}}|}t||}||q Wt}t|t|krtd|dt||krtd|S)zParse a list of string representing the response to LIST OVERVIEW.FMT and return a list of header/metadata names. Raises NNTPDataError if the response is not compliant (cf. RFC 3977, section 8.4).r:Nz$LIST OVERVIEW.FMT response too shortz*LIST OVERVIEW.FMT redefines default fields) partitionlower_OVERVIEW_FMT_ALTERNATIVESgetr*_DEFAULT_OVERVIEW_FMTlenr )rfmtlinename_suffixdefaultsrrr_parse_overview_fmts    r>cCstt}g}x|D]}i}|d^}}t|}xt|D]\} } | t|krPq:|| } | d} | |kr| s| d} | r| dt| | krtd| r| t| dnd} | ||| <q:W|||fqW|S)zZParse the response to an OVER or XOVER command according to the overview format `fmt`. r0z: Nz?OVER/XOVER response doesn't include names of additional headers) r7r6splitint enumerate startswithr3r r*)rr8Zdata_process_funcZ n_defaultsZoverviewr9ZfieldsZarticle_numbertokensitokenZ field_nameZ is_metadatahrrr_parse_overviews&    rHcCs|dkr |dd}|dd}t|dd}t|dd}t|dd}t|dd}t|dd}t|dd}|dkr|d7}n|d kr|d 7}t||||||S) zParse a pair of (date, time) strings, and return a datetime object. If only the date is given, it is assumed to be date and time concatenated together (e.g. response to the DATE command). NiFidil)rAdatetime)date_strtime_strZhoursZminutesZsecondsyearZmonthZdayrrr_parse_datetimes   rScCsPt|tjsd}n d|}|j}|r<|d}d||}n d||}||fS)aPFormat a date or datetime object as a pair of (date, time) strings in the format required by the NEWNEWS and NEWGROUPS commands. If a date object is passed, the time is assumed to be midnight (00h00). The returned representation depends on the legacy flag: * if legacy is False (the default): date has the YYYYMMDD format and time the HHMMSS format * if legacy is True: date has the YYMMDD format and time the HHMMSS format. RFC 3977 compliant servers should understand both formats; therefore, legacy is only needed when talking to old servers. Z000000z({0.hour:02d}{0.minute:02d}{0.second:02d}rNz{0:02d}{1.month:02d}{1.day:02d}z{0:04d}{1.month:02d}{1.day:02d})r)rOformatrR)ZdtZlegacyrQyrPrrr_unparse_datetimes   rVcCs|dkrt}|j||dS)zWrap a socket in SSL/TLS. Arguments: - sock: Socket to wrap - context: SSL context to use for the encrypted connection Returns: - sock: New, encrypted socket. N)Zserver_hostname)sslZ_create_stdlib_contextZ wrap_socket)sockcontextZhostnamerrr _encrypt_onsrZc@seZdZdZdZdefddZddZdd Zd d Z d d Z ddZ e Z ddZ ddZdhddZddZdiddZddZdjddZdkdd Zd!d"Zd#d$Zd%d&Zdd'd(d)Zdd'd*d+Zdldd'd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zdd'd6d7Zd8d9Z d:d;Z!dmdd?Z#d@dAZ$dndBdCZ%dodd'dDdEZ&dpdd'dFdGZ'dqdd'dHdIZ(dJdKZ)dd'dLdMZ*dd'dNdOZ+dd'dPdQZ,dd'dRdSZ-dTdUZ.dVdWZ/dXdYZ0dZd[Z1d\d]Z2d^d_Z3d`daZ4drdbdcZ5dddeZ6e7rdsdfdgZ8dS)t _NNTPBasezutf-8surrogateescapeNcCsj||_||_d|_||_d|_|d|_|rZd|jkrZ||jsZd|_|d|_ d|_ dS)aSInitialize an instance. Arguments: - file: file-like object (open for read/write in binary mode) - host: hostname of the server - readermode: if true, send 'mode reader' command after connecting. - timeout: timeout (in seconds) used for socket connections readermode is sometimes necessary if you are connecting to an NNTP server on the local machine and intend to call reader-specific commands, such as `group'. If you get unexpected NNTPPermanentErrors, you might need to set readermode. rNFREADER) hostfile debugging_getrespwelcome_capsgetcapabilitiesreadermode_afterauth_setreadermodetls_on authenticated)rr_r^ readermodetimeoutrrrr 8s  z_NNTPBase.__init__cCs|S)Nr)rrrr __enter__gsz_NNTPBase.__enter__c sRfdd}|rNz*y Wnttfk r8YnXWd|rLXdS)Ncs tdS)Nr_)hasattrr)rrrkz$_NNTPBase.__exit__..)quitOSErrorEOFError_close)rrZ is_connectedr)rr__exit__js   z_NNTPBase.__exit__cCs|jrtdt|j|jS)zGet the welcome message from the server (this is read and squirreled away by __init__()). If the response code is 200, posting is allowed; if it 201, posting is not allowed.z *welcome*)r`printreprrb)rrrr getwelcomeusz_NNTPBase.getwelcomec Cs|jdkrd|_d|_y|\}}Wnttfk rDi|_Ynsz,_NNTPBase._longcmdstring..)rr)rr9r_r|listr)rr_longcmdstrings  z_NNTPBase._longcmdstringcCsby|jStk rYnXy|d\}}Wn tk rNtdd}Yn Xt|}||_|S)zqInternal: get the overview format. Queries the server if not already done, else returns the cached value.zLIST OVERVIEW.FMTN)Z_cachedoverviewfmtAttributeErrorrrr6r>)rr|rr8rrr_getoverviewfmtsz_NNTPBase._getoverviewfmtcCsdd|DS)NcSsg|]}t|qSr)rr@)rr9rrrr$sz(_NNTPBase._grouplist..r)rrrrr _grouplist"sz_NNTPBase._grouplistcCs<i}|d\}}x |D]}|^}}|||<qW||fS)a!Process a CAPABILITIES command. Not supported by all servers. Return: - resp: server response if successful - caps: a dictionary mapping capability names to lists of tokens (for example {'VERSION': ['2'], 'OVER': [], LIST: ['ACTIVE', 'HEADERS'] }) Z CAPABILITIES)rr@)rr}r|rr9r:rDrrrry&s    z_NNTPBase.capabilities)r_cCsbt|tjtjfs$td|jjt||jdk\}}d||}| ||\}}|| |fS)zProcess a NEWGROUPS command. Arguments: - date: a date or datetime object Return: - resp: server response if successful - list: list of newsgroup names zAthe date parameter must be a date or datetime object, not '{:40}'rIzNEWGROUPS {0} {1}) r)rOr TypeErrorrT __class__rrVrxrr)rrr_rPrQcmdr|rrrr newgroups4s  z_NNTPBase.newgroupscCsRt|tjtjfs$td|jjt||jdk\}}d|||}| ||S)zProcess a NEWNEWS command. Arguments: - group: group name or '*' - date: a date or datetime object Return: - resp: server response if successful - list: list of message ids zAthe date parameter must be a date or datetime object, not '{:40}'rIzNEWNEWS {0} {1} {2}) r)rOrrrTrrrVrxr)rr rr_rPrQrrrrnewnewsDs z_NNTPBase.newnewscCs4|dk rd|}nd}|||\}}|||fS)a@Process a LIST or LIST ACTIVE command. Arguments: - group_pattern: a pattern indicating which groups to query - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of (group, last, first, flag) (strings) Nz LIST ACTIVE ZLIST)rr)r group_patternr_commandr|rrrrrTs  z_NNTPBase.listc Cstd}|d|\}}|ds8|d|\}}i}x>|D]6}||}|rB|dd\} } |sp| S| || <qBW|r||fSdSdS)Nz^(?P[^ ]+)[ ]+(.*)$zLIST NEWSGROUPS rzXGTITLE r1rIr')recompilerrCsearchstripr ) rrZ return_allline_patr|rgroupsraw_linematchr:Zdescrrr_getdescriptionscs    z_NNTPBase._getdescriptionscCs ||dS)aGet a description for a single group. If more than one group matches ('group' is a pattern), return the first. If no group matches, return an empty string. This elides the response code from the server, since it can only be '215' or '285' (for xgtitle) anyway. If the response code is needed, use the 'descriptions' method. NOTE: This neither checks for a wildcard in 'group' nor does it check whether the group actually exists.F)r)rr rrr descriptionzs z_NNTPBase.descriptioncCs ||dS)z'Get descriptions for a range of groups.T)r)rrrrr descriptionssz_NNTPBase.descriptionscCs|d|}|ds t||}d}}}t|}|dkr|d}|dkr|d}|dkr|d}|dkr|d}|t|t|t||fS)aProcess a GROUP command. Argument: - group: the group name Returns: - resp: server response if successful - count: number of articles - first: first article number - last: last article number - name: the group name zGROUP rrr1rIrrJ)rrCrr@r7r3rA)rr:r|wordscountr"r!nrrrr s    z_NNTPBase.groupcCs |d|S)aProcess a HELP command. Argument: - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of strings returned by the server in response to the HELP command ZHELP)r)rr_rrrhelpsz_NNTPBase.helpcCs8|dst||}t|d}|d}|||fS)z_Internal: parse the response line of a STAT, NEXT, LAST, ARTICLE, HEAD or BODY command.Z22r1rI)rCrr@rA)rr|rart_numr%rrr _statparses   z_NNTPBase._statparsecCs||}||S)z/Internal: process a STAT, NEXT or LAST command.)rr)rr9r|rrr_statcmds z_NNTPBase._statcmdcCs"|r|d|S|dSdS)a(Process a STAT command. Argument: - message_spec: article number or message id (if not specified, the current article is selected) Returns: - resp: server response if successful - art_num: the article number - message_id: the message id zSTAT {0}ZSTATN)rrT)r message_specrrrstats z_NNTPBase.statcCs |dS)z;Process a NEXT command. No arguments. Return as for STAT.ZNEXT)r)rrrrnextsz_NNTPBase.nextcCs |dS)z;Process a LAST command. No arguments. Return as for STAT.ZLAST)r)rrrrr!sz_NNTPBase.lastcCs0|||\}}||\}}}|t|||fS)z2Internal: process a HEAD, BODY or ARTICLE command.)rrr$)rr9r_r|rrr%rrr_artcmdsz_NNTPBase._artcmdcCs$|dk rd|}nd}|||S)a0Process a HEAD command. Argument: - message_spec: article number or message id - file: filename string or file object to store the headers in Returns: - resp: server response if successful - ArticleInfo: (article number, message id, list of header lines) NzHEAD {0}ZHEAD)rTr)rrr_rrrrheads z_NNTPBase.headcCs$|dk rd|}nd}|||S)a+Process a BODY command. Argument: - message_spec: article number or message id - file: filename string or file object to store the body in Returns: - resp: server response if successful - ArticleInfo: (article number, message id, list of body lines) NzBODY {0}ZBODY)rTr)rrr_rrrrbodys z_NNTPBase.bodycCs$|dk rd|}nd}|||S)a5Process an ARTICLE command. Argument: - message_spec: article number or message id - file: filename string or file object to store the article in Returns: - resp: server response if successful - ArticleInfo: (article number, message id, list of article lines) Nz ARTICLE {0}ZARTICLE)rTr)rrr_rrrrarticles z_NNTPBase.articlecCs |dS)zYProcess a SLAVE command. Returns: - resp: server response if successful ZSLAVE)r)rrrrslavesz_NNTPBase.slavecsDtd|d|||\}}fdd|fdd|DfS)aiProcess an XHDR command (optional server extension). Arguments: - hdr: the header type (e.g. 'subject') - str: an article nr, a message id, or a range nr1-nr2 - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of (nr, value) strings z^([0-9]+) ?(.*) ?z XHDR {0} {1}cs|}|r|ddS|S)Nr1rI)rr )r9m)patrr remove_numbers z%_NNTPBase.xhdr..remove_numbercsg|] }|qSrr)rr9)rrrrsz"_NNTPBase.xhdr..)rrrrT)rZhdrrr_r|rr)rrrxhdr s  z_NNTPBase.xhdrcCs.|d|||\}}|}|t||fS)aFProcess an XOVER command (optional server extension) Arguments: - start: start of range - end: end of range - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of dicts containing the response fields z XOVER {0}-{1})rrTrrH)rstartendr_r|rr8rrrxovers  z_NNTPBase.xoverc Csxd|jkrdnd}t|ttfr>|\}}|d||p6d7}n|dk rR|d|}|||\}}|}|t||fS)aProcess an OVER command. If the command isn't supported, fall back to XOVER. Arguments: - message_spec: - either a message id, indicating the article to fetch information about - or a (start, end) tuple, indicating a range of article numbers; if end is None, information up to the newest message will be retrieved - or None, indicating the current article number must be used - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of dicts containing the response fields NOTE: the "message id" form isn't supported by XOVER ZOVERZXOVERz {0}-{1}r'Nrw)rcr)tuplerrTrrrH) rrr_rrrr|rr8rrrover(s z_NNTPBase.overc Csjtdtdtd}|d||\}}g}x0|D](}||}|r6|| ddq6W||fS)zProcess an XGTITLE command (optional server extension) Arguments: - group: group name wildcard (i.e. news.*) Returns: - resp: server response if successful - list: list of (name,title) stringszFThe XGTITLE extension is not actively used, use descriptions() insteadrIz^([^ ]+)[ ]+(.*)$zXGTITLE r1) warningswarnDeprecationWarningrrrrrr*r ) rr r_rr|Z raw_linesrrrrrrxgtitleCs  z_NNTPBase.xgtitlecCsltdtd|d|}|ds0t|y|\}}Wntk r^t|dYn X||fSdS)zProcess an XPATH command (optional server extension) Arguments: - id: Message id of article Returns: resp: server response if successful path: directory path to article z(The XPATH extension is not actively usedrIz XPATH {0}Z223N) rrrrrTrCrr@ ValueError)ridr|Zresp_numpathrrrxpathUs z_NNTPBase.xpathcCsb|d}|dst||}t|dkr8t||d}t|dkrTt||t|dfS)zProcess the DATE command. Returns: - resp: server response if successful - date: datetime object ZDATEZ111rIr1N)rrCrr@r7r rS)rr|elemrrrrris    z_NNTPBase.datecCs||}|dst|t|ttfr2|}xB|D]:}|tsT| dt}|drfd|}|j |q8W|j d|j | S)N3s rs. )rrCrr)r bytearray splitlinesendswithrrstripr_rrra)rrfr|r9rrr_postzs       z_NNTPBase._postcCs |d|S)zProcess a POST command. Arguments: - data: bytes object, iterable or file containing the article Returns: - resp: server response if successfulZPOST)r)rdatarrrpostsz_NNTPBase.postcCs|d||S)a Process an IHAVE command. Arguments: - message_id: message-id of the article - data: file containing the article Returns: - resp: server response if successful Note that if the server refuses the article an exception is raised.z IHAVE {0})rrT)rr%rrrrihavesz_NNTPBase.ihavecCs|j|`dS)N)r_r)rrrrrrs z_NNTPBase._closecCsz|d}Wd|X|S)zdProcess a QUIT command and close the socket. Returns: - resp: server response if successfulZQUITN)rrr)rr|rrrros z_NNTPBase.quitcCs|jrtd|s|stdy<|rX|sXddl}|}||j}|rX|d}|d}Wntk rnYnX|sxdS|d|}|dr|st|n |d|}|dst |d|_ | |j rd |j kr| d|_ | dS) NzAlready logged in.z7At least one of `user` and `usenetrc` must be specifiedrrIzauthinfo user Z381zauthinfo pass Z281r])rhrnetrcZauthenticatorsr^rprrCrrrcrdrerf)ruserpasswordusenetrcrZ credentialsZauthr|rrrlogins<     z_NNTPBase.loginc Cs`y|d|_WnJtk r$Yn8tk rZ}z|jdrHd|_nWdd}~XYnXdS)Nz mode readerZ480T)rrbrrr rCre)rerrrrfs z_NNTPBase._setreadermodecCs||jrtd|jrtd|d}|drp|jt|j||j |_|j d|_d|_d|_ | nt ddS) zzProcess a STARTTLS command. Arguments: - context: SSL context to use for the encrypted connection zTLS is already enabled.z+TLS cannot be started after authentication.STARTTLSZ382rwbTNzTLS failed to start.)rgrrhrrCr_rrZrXr^makefilercrdr)rrYr|rrrstarttlss    z_NNTPBase.starttls)T)N)N)N)N)N)N)N)N)N)NNT)N)9rrrrrrr rkrsrvrdrdebugrrrrarrrrrrryrrrrrrr rrrrrr!rrrrrrrrrrrrrrrrrorrf _have_sslrrrrrr[(sj .    .         ) r[c@s*eZdZeddddefddZddZdS)rNFc Cs||_||_t||f||_d}y8|jd}t||||||sJ|rX||||Wn$|rn| |j YnXdS)a,Initialize an instance. Arguments: - host: hostname to connect to - port: port to connect to (default the standard NNTP port) - user: username to authenticate with - password: password to use with username - readermode: if true, send 'mode reader' command after connecting. - usenetrc: allow loading username and password from ~/.netrc file if not specified explicitly - timeout: timeout (in seconds) used for socket connections readermode is sometimes necessary if you are connecting to an NNTP server on the local machine and intend to call reader-specific commands, such as `group'. If you get unexpected NNTPPermanentErrors, you might need to set readermode. Nr) r^portsocketcreate_connectionrXrr[r rr) rr^rrrrirrjr_rrrr s   z NNTP.__init__cCs zt|Wd|jXdS)N)r[rrrXr)rrrrrr!sz NNTP._close)rrr NNTP_PORTrr rrrrrrrs "c@s,eZdZedddddefddZddZdS)NNTP_SSLNFc Cst||f||_d} yJt|j|||_|jd} tj|| |||d|sP|r^||||Wn$| rt| |jYnXdS)zThis works identically to NNTP.__init__, except for the change in default port and the `ssl_context` argument for SSL connections. Nr)rirj) rrrXrZrr[r rr) rr^rrrZ ssl_contextrirrjr_rrrr +s    zNNTP_SSL.__init__cCs zt|Wd|jXdS)N)r[rrrXr)rrrrrrAszNNTP_SSL._close)rrr NNTP_SSL_PORTrr rrrrrrr)s  r__main__zJ nntplib built-in demo - display the latest articles in a newsgroup)rz-gz--groupzgmane.comp.python.generalz3group to fetch messages from (default: %(default)s))defaultrz-sz--serverz news.gmane.ioz+NNTP server hostname (default: %(default)s)z-pz--portrz#NNTP port number (default: %s / %s))rtyperz-nz --nb-articles z2number of articles to fetch (default: %(default)s)z-Sz--ssl store_truezuse NNTP over SSL)actionrr)r^rrZGroupZhaszarticles, rangetocCs$t||kr |d|dd}|S)NrJz...)r7)sZlimrrrcutls rr1rHrSrVrZr[rrr*rargparseArgumentParserparser add_argumentrA parse_argsrrZserverrrdr}rr r|rr"r!r:rtrrZ nb_articlesrZ overviewsZartnumrr@ZauthorrrrTrorrrrs&          X-