Package: python2.7 Version: 2.7.3-6 Severity: normal Tags: upstream Hi,
The csv.DictReader object doesn't handle multiple columns with the same name very well - it simply over-writes the first column-with-same-name with the contents of the second column-with-same-name e.g.: foo,bar,foo 1,2,3 on reading this file, ["foo"] would contain 3. IMO, the correct behaviour is for csv.DictReader to emit an error if the header contains more than one column with the same name. Regards, Matthew -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python2.7 depends on: ii libbz2-1.0 1.0.6-4 ii libc6 2.13-37 ii libdb5.1 5.1.29-5 ii libexpat1 2.1.0-1 ii libgcc1 1:4.7.2-5 ii libncursesw5 5.9-10 ii libreadline6 6.2+dfsg-0.1 ii libsqlite3-0 3.7.13-1 ii libtinfo5 5.9-10 ii mime-support 3.52-1 ii python2.7-minimal 2.7.3-6 python2.7 recommends no packages. Versions of packages python2.7 suggests: ii binutils 2.22-7.1 pn python2.7-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org