Skip to content

csv.Sniffer.has_header doesn't escape characters used in regex #62355

@davechallis

Description

@davechallis
BPO 18155
Nosy @akuchling, @bitdancer, @vajrasky, @davechallis
Files
  • csv_has_header.diff: Patch to fix the sniffer detecting header with regex character
  • 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 2013-06-29.22:45:47.920>
    created_at = <Date 2013-06-07.11:09:19.043>
    labels = ['easy', 'type-bug', 'library']
    title = "csv.Sniffer.has_header doesn't escape characters used in regex"
    updated_at = <Date 2013-06-29.22:45:47.919>
    user = 'https://github.com/davechallis'

    bugs.python.org fields:

    activity = <Date 2013-06-29.22:45:47.919>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-06-29.22:45:47.920>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2013-06-07.11:09:19.043>
    creator = 'davechallis'
    dependencies = []
    files = ['30501']
    hgrepos = []
    issue_num = 18155
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['190742', '190745', '190755', '190756', '190759', '192057', '192058']
    nosy_count = 5.0
    nosy_names = ['akuchling', 'r.david.murray', 'python-dev', 'vajrasky', 'davechallis']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18155'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard 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