ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: bluej100@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:72388] [Ruby trunk - Feature #11839] CSV: liberal_parsing option
Date: Sat, 19 Dec 2015 15:42:45 +0000	[thread overview]
Message-ID: <redmine.journal-55677.20151219154245.6f699bec19f4f676@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11839.20151218012504@ruby-lang.org

Issue #11839 has been updated by Braden Anderson.

File csv_liberal_parsing.diff added

Resolved a conflict.

----------------------------------------
Feature #11839: CSV: liberal_parsing option
https://bugs.ruby-lang.org/issues/11839#change-55677

* 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)
csv_liberal_parsing.diff (5.5 KB)
csv_liberal_parsing.diff (5.14 KB)


-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2015-12-19 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11839.20151218012504@ruby-lang.org>
2015-12-18  1:25 ` [ruby-core:72231] [Ruby trunk - Feature #11839] [Open] CSV: liberal_parsing option bluej100
2015-12-18  1:47 ` [ruby-core:72232] [Ruby trunk - Feature #11839] " bluej100
2015-12-19 15:42 ` bluej100 [this message]
2016-01-01  2:47 ` [ruby-core:72646] [Ruby trunk - Feature #11839] [Closed] " jeg2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-55677.20151219154245.6f699bec19f4f676@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).