[New-bugs-announce] [issue40875] Implement __repr__ for classes in csv module

Ram Rachum report at bugs.python.org
Fri Jun 5 12:54:02 EDT 2020


New submission from Ram Rachum <ram at rachum.com>:

Why see this:

    <csv.DictReader object at 0x00000000029E51C0>

When you can see this: 

    <csv.DictReader name=satellite_data.csv columns=7>

It could show columns=? if they weren't read yet. Any other info would be good too.

This applies to all classes in the csv module.

----------
components: Library (Lib)
messages: 370768
nosy: cool-RR
priority: normal
severity: normal
status: open
title: Implement __repr__ for classes in csv module
type: enhancement
versions: Python 3.10

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


More information about the New-bugs-announce mailing list