Many thanks for the quick response!

The "get_" functions are only a bug?  I guess I have some code to change...

-Phil

On Fri, Oct 24, 2008 at 2:55 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote:
> "UtcNow" returns a DateTime, so when you import it into your namespace,
> you're importing a DateTime instead of some kind of property reference.
>  This is by design.  The proper usage is
> from System import DateTime
> DateTime.UtcNow
> This is also consistent with usage under C#.
> I think the ability to import "get_UtcNow" was a bug that has been fixed for
> the RC.
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to