Author Ilja Everilä
Recipients Ilja Everilä
Date 2016-02-23.09:07:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
After doing some reading on it seems that this is possibly "as designed" or such, since csv_writerows explicitly calls PyErr_SetString on receiving NULL from PyObject_GetIter.

Still, it feels like this could either let the original exception fall through (since it has nothing in the way of handling it) or form the chain in PY3 for easier debugging of the real cause.

To give this thing some context we ran in to this while passing SQLAlchemy Query objects to csv_writerows. The Query object is compiled during call to __iter__ and the current behaviour masks possible SQL errors etc.
Date User Action Args
2016-02-23 09:07:38Ilja Everiläsetrecipients: + Ilja Everilä
2016-02-23 09:07:38Ilja Everiläsetmessageid: <>
2016-02-23 09:07:38Ilja Everilälinkissue26407 messages
2016-02-23 09:07:37Ilja Everiläcreate