classification
Title: csv.Sniffer().sniff(0) returns a value without the "strict" attribute
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: 4Dummies
Priority: normal Keywords:

Created on 2016-12-12 19:38 by 4Dummies, last changed 2017-01-02 02:49 by ppperry.

Messages (1)
msg283041 - (view) Author: kevin (4Dummies) Date: 2016-12-12 19:38
In 
  https://docs.python.org/3.5/library/csv.html#dialects-and-formatting-parameters 

the Dialect objects are described as supporting, among others, the Dialect.strict attribute, with a default value of False.  However, the
sniff() returns an object lacking this attribute entirely, not even with the value None.  At least on my inputs, which I'd include but they have personnel information.  I can redact it if required.
History
Date User Action Args
2017-01-02 02:49:54ppperrysettitle: csv.Sniffer().sniff(0 returns a value without the "strict" attribute -> csv.Sniffer().sniff(0) returns a value without the "strict" attribute
2016-12-12 19:38:544Dummiescreate