ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:72231] [Ruby trunk - Feature #11839] [Open] CSV: liberal_parsing option
       [not found] <redmine.issue-11839.20151218012504@ruby-lang.org>
@ 2015-12-18  1:25 ` bluej100
  2015-12-18  1:47 ` [ruby-core:72232] [Ruby trunk - Feature #11839] " bluej100
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: bluej100 @ 2015-12-18  1:25 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:72232] [Ruby trunk - Feature #11839] CSV: liberal_parsing option
       [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 ` bluej100
  2015-12-19 15:42 ` [ruby-core:72388] " bluej100
  2016-01-01  2:47 ` [ruby-core:72646] [Ruby trunk - Feature #11839] [Closed] " jeg2
  3 siblings, 0 replies; 4+ messages in thread
From: bluej100 @ 2015-12-18  1:47 UTC (permalink / raw)
  To: ruby-core

Issue #11839 has been updated by Braden Anderson.

File csv_liberal_parsing.diff added

Edit: I've simplified the patch a bit.

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

* 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)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:72388] [Ruby trunk - Feature #11839] CSV: liberal_parsing option
       [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
  2016-01-01  2:47 ` [ruby-core:72646] [Ruby trunk - Feature #11839] [Closed] " jeg2
  3 siblings, 0 replies; 4+ messages in thread
From: bluej100 @ 2015-12-19 15:42 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:72646] [Ruby trunk - Feature #11839] [Closed] CSV: liberal_parsing option
       [not found] <redmine.issue-11839.20151218012504@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-12-19 15:42 ` [ruby-core:72388] " bluej100
@ 2016-01-01  2:47 ` jeg2
  3 siblings, 0 replies; 4+ messages in thread
From: jeg2 @ 2016-01-01  2:47 UTC (permalink / raw)
  To: ruby-core

Issue #11839 has been updated by James Gray.

Status changed from Open to Closed
Assignee set to James Gray

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

* Author: Braden Anderson
* Status: Closed
* Priority: Normal
* Assignee: James Gray
----------------------------------------
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-01  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 ` [ruby-core:72388] " bluej100
2016-01-01  2:47 ` [ruby-core:72646] [Ruby trunk - Feature #11839] [Closed] " jeg2

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).