From: "Berger, Daniel" Date: 2007-08-08T07:41:39+09:00 Subject: Re: Is this really what we want? > -----Original Message----- > From: James Edward Gray II [mailto:james@grayproductions.net] > Sent: Tuesday, August 07, 2007 2:09 PM > To: Ruby Core > Subject: Is this really what we want? > > > I'm investigating some recent breakage in FasterCSV and have > tracking > it down to a change in the Date standard library. Is this > really the > desired behavior now: > > $ ruby -r date -e 'p Date.parse("junk")' > # > > ? > > In previous versions of Ruby that code raised an > ArgumentError, which > I feel was a lot more correct. > > In any case, if the above is now intended, the documentation for > Date::parse is now wrong and needs to be updated. Something definitely broke between 1.8.5 and 1.8.6 with Date.parse, as I've experienced breakage with some of my MS Windows libraries as well. I can only guess the discussion surrounding such changes must have happened on ruby-dev, because I sure don't remember any discussion about it, and there's nothing in the Changelog about it, either. Perhaps someone from ruby-dev can tell us what happened and why it happened. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.