From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 1EBAC17DB52F for ; Fri, 18 Dec 2015 09:53:14 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 0A20FB5D877 for ; Fri, 18 Dec 2015 10:25:21 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 3551F18CC7E7 for ; Fri, 18 Dec 2015 10:25:21 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 15D62120496; Fri, 18 Dec 2015 10:25:18 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 3E91112045A for ; Fri, 18 Dec 2015 10:25:09 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=LhCSvhAJm376RwciYoITMBawbZE=; b=k1W9um648BopmoVTSc 6BvvX5S/Pky8lYNV9dB7FOI7viziRJgSiMmT9eeRdnKxMoniYZDo8TiI3bGL+PrQ JTr65oDErgaHzDzRW1kCrpcZMN/2FDwc1+A9cHklzVPtR4xETnNDGkOlQRba0ta4 1det+d0HV2Q+uSg1DzPVYm54Y= Received: by filter0860p1mdw1.sendgrid.net with SMTP id filter0860p1mdw1.24859.567360712A 2015-12-18 01:25:05.624230837 +0000 UTC Received: from herokuapp.com (ec2-54-158-69-173.compute-1.amazonaws.com [54.158.69.173]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id iIuCZJ1DRYWsPyXgxjmoCQ for ; Fri, 18 Dec 2015 01:25:05.629 +0000 (UTC) Date: Fri, 18 Dec 2015 01:25:05 +0000 From: bluej100@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 46942 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11839 X-Redmine-Issue-Author: bluej100 X-Redmine-Sender: bluej100 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5O7rjs3iz+/kUAHyR9EKvZCfT3g3eanMX2OG yxcX9cVBKparw9s/lbRNG1jV2QY9Q1C0isRr7osN6eOXiWUAy4JXRhO0FpkJzd7K96E7GWoo9kPNIj psdq4RyKZLK5HrqoqeccQi8cbw3Tf1iEYF8DIQ0PIsL4nfkXmFpwARG+OA== X-ML-Name: ruby-core X-Mail-Count: 72231 Subject: [ruby-core:72231] [Ruby trunk - Feature #11839] [Open] CSV: liberal_parsing option X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11839 has been reported by Braden Anderson. ---------------------------------------- Feature #11839: CSV: liberal_parsing option https://bugs.ruby-lang.org/issues/11839 * Author: Braden Anderson * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I've submitted a pull request, https://github.com/ruby/ruby/pull/1160 , which adds a liberal_parsing option to the CSV module, off by default. This allows for parsing of some invalid input, like unescaped quotes in the middle of a field, which can be unambiguously interpreted. I discussed it briefly with JEG2, and he asked me to bring it up here in case anyone here objects. I've attached the patch. Thank you for your consideration. ---Files-------------------------------- csv_liberal_parsing.diff (5.86 KB) -- https://bugs.ruby-lang.org/