Skip to content

csv.reader accepts string instead of file object (duck typing gone bad) #46953

Description

@roysmith
mannequin
BPO 2701
Nosy @smontanaro, @facundobatista

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-06-21.15:48:58.320>
created_at = <Date 2008-04-27.02:59:50.468>
labels = ['invalid', 'type-bug', 'library']
title = 'csv.reader accepts string instead of file object (duck typing gone bad)'
updated_at = <Date 2008-06-21.15:48:58.269>
user = 'https://bugs.python.org/roysmith'

bugs.python.org fields:

activity = <Date 2008-06-21.15:48:58.269>
actor = 'facundobatista'
assignee = 'none'
closed = True
closed_date = <Date 2008-06-21.15:48:58.320>
closer = 'facundobatista'
components = ['Library (Lib)']
creation = <Date 2008-04-27.02:59:50.468>
creator = 'roysmith'
dependencies = []
files = []
hgrepos = []
issue_num = 2701
keywords = []
message_count = 3.0
messages = ['65871', '65884', '68502']
nosy_count = 3.0
nosy_names = ['skip.montanaro', 'facundobatista', 'roysmith']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2701'
versions = ['Python 2.5']

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions