New submission from Serhiy Ivanov :
In case when FTP url is successfully connected via default FTPHandler in
FTPHandler.connect_ftp then release of this stuff becomes total responsibility
of user i.e. socket remains open, which leads to ResourceWarning in the garbage
collector, in case if
New submission from Serhiy Ivanov:
have 1.py as:
import argparse
import sys
print (sys.argv)
parser = argparse.ArgumentParser(prog='demo')
parser.add_argument('--host -h', help='host for the server of %(prog)',
nargs=1, required=True, metavar='')
parser.