[issue42076] urllib ResourceWarning in case of usage of FTP

2020-10-18 Thread Serhiy Ivanov
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

[issue21747] argvars: error while parsing under windows

2014-06-13 Thread Serhiy Ivanov
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.