Freek de Kruijf <f.de.kru...@gmail.com> added the comment: When I try it in a few lines, there is no problem. So it is an issue in this bigger context with class definitions. In the few lines type(a[0]) reports <type 'str'>; in the bigger context type(a[0]) reports <class 'strĀ“>. I have no idea how to reduce this issue in a few lines. It must have to do with the use of class in the bigger program, I assume. I found a workaround, so it up to you to analyze this further. I have only a vary basic knowledge about Python.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45485> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com