[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>

> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

12 messages 2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — nobu.nokada@... 2003/05/29

Hi,

Re: YAML problem

From: why the lucky stiff <ruby-core@...>
Date: 2003-05-22 06:32:37 UTC
List: ruby-core #1068
Concerning error from:

> > % ruby -ryaml -e 'YAML.load({"A"=>"A,","B"=>"B"}.to_yaml)'

Thank you.  This is resolved.  Still working on some encoding issues
from your last message, some are solved.

NAKAMURA, Hiroshi (nahi@keynauts.com) wrote:
> Not related to original problem but Syck should raise
> another exception not a LoadError I think.

I've changed it to raise an ArgumentError, as marshal does with
its parse errors.  In what case do I raise an ArgumentError and in what
case do I throw a TypeError?  What is the logic?  For now, I follow
http://rrr.jin.gr.jp/rwiki?cmd=view;name=Marshal%3A%3AUT-Result.

(This week I've been running your Marshal::UT-Results tests on Syck and
I hope to complete the requirements soon.)

_why

In This Thread