[issue43104] csv package in class

Tobias Müllner report at bugs.python.org
Tue Feb 2 10:51:43 EST 2021


New submission from Tobias Müllner <tobias.muellner250502 at gmail.com>:

Hello

I want to use the csv package in a class.

If I use the writer instance as local variable in the class it works perfectly but if I use it as class-variable (self.writer) it does not work anymore. 

Does anyone have the same behaviour?

Yours Toby

By the way, sorry for my bad English :(

----------
messages: 386151
nosy: tobias.muellner250502
priority: normal
severity: normal
status: open
title: csv package in class
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43104>
_______________________________________


More information about the Python-bugs-list mailing list