[issue34629] Python3 regression for urllib(2).urlopen(...).fp for chunked http responses

2018-09-11 Thread Thibault Kruse
New submission from Thibault Kruse : We had a problem running code that downloads files from github when porting from python2.7 to python3.[3-7]. Not sure if a bug or not. With the given code, in python3 a file downloaded in chunks will contain the size of chunks when using the undocumented

[issue18829] csv produces confusing error message for unexpected string encoding

2013-08-25 Thread Thibault Kruse
New submission from Thibault Kruse: To reproduce $ python --version Python 2.7.3 $ python -c 'from __future__ import unicode_literals; import csv; reader = csv.reader(foo, delimiter=,)' Traceback (most recent call last): File string, line 1, in module TypeError: delimiter must be an 1

[issue17240] argparse: subcommand name and arity

2013-02-19 Thread Thibault Kruse
New submission from Thibault Kruse: I realize there have been several suggestions around argparse subcommands. Mine is related to this isse: http://bugs.python.org/issue9253 In short, I suggest that the add_subparsers() function take an argument like nargs that determines how many times user