[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Sorry guys, it was an issue with the cusotm Splunk Library. They treated the keys Method a little different. Thanks all for the hints. Will close this -- resolution: -> third party stage: -> resolved status: open -&g

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Ok in a new sample Script it is working. As I used my normal script in a software called Splunk, I saw they are using a custom class OrderedDict. I will take a look on this first. -- ___ Python tracker

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Hello all, This is my dict: {'rule': 'WAN-2-Web|unknown (Barracuda Networks CloudGen Firewall)', 'April (2018)': '', 'May (2018)': '', 'June (2018)': '', 'July (2018)': '', 'August (2018)': '', 'April (2019)': '', 'May (2019)': '14', 'June (2019

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
New submission from Patrick Schneeweiß : I switched over to Python 3.7 and still using my csv DictWriter. No I'm receiving an error when calling the writerow() method. unsupported operand type(s) for -: 'list' and 'list' Digging deeped in the problem I found out, that the internal