[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-09-29 Thread Matt Pr
Matt Pr added the comment: It has been pointed out to me that this issue may be related to chrome making multiple requests in parallel. A test with wget seems to support this. wget -E -H -k -K -p http://domain1.com:8000/domain1.html ...does not hang, whereas requests from chrome do hang

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-09-29 Thread Matt Pr
New submission from Matt Pr : Doing a cross domain iframe test. `domain1.html` has iframe pointing at `domain2.html` which has iframe pointing at `domain3.html`. `domain{1,2,3}.com` are all configured to point at `127.0.0.1` in my `/etc/hosts` file. Loaded up `http://domain1.com:8000

[issue11874] argparse assertion failure with brackets in metavars

2016-03-21 Thread Matt Pr
Matt Pr added the comment: Same AssertionError is also caused by having certain "choices". Python 2.7.10 global_options.add_argument('--field-sep', choices=[',',';','|','\t'], required=True, help='Field separator that separate