[issue17829] csv.Sniffer.snif doesn't set up the dialect properly for a csv created with dialect=csv.excel_tab and containing quote (") char

2013-04-24 Thread Ghislain Hivon
New submission from Ghislain Hivon: When sniffing the dialect of a file created with the csv module with dialect=csv.excel_tab and one of the row contain a quote ("), the delimiter is set to ' ' instead of '\t'. -- files: csv_sniffing_excel_tab.py messages: 1

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-21 Thread Ghislain Hivon
Ghislain Hivon added the comment: The reverse, f(*(1, 2, 3), foo=4), is consistent with f(1,2,3, foo=4) who also gave TypeError: f() got multiple values for keyword argument 'foo' Which is consistent with the tutorial http://docs.python.org/tutorial/controlflow.html#keyword-argu

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-03-19 Thread Ghislain Hivon
New submission from Ghislain Hivon : Take a fonction with a parameter and *args def foo(bar, args*) pass then call it like this myargs = [1, 2, 3, 4, 5] foo(bar=1, *myargs) The call produce this error : TypeError: foo() got multiple values for keyword argument 'bar' Sould th