[Ironruby-core] [IronPython] Telling .NET classes from Python objects

Tomas Matousek Tomas.Matousek at microsoft.com
Tue Apr 28 14:04:46 EDT 2009


Would you consider Bignum to be a .NET type or Ruby type?

Tomas

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dino Viehland
Sent: Tuesday, April 28, 2009 10:41 AM
To: Discussion of IronPython; ironruby-core
Subject: Re: [IronPython] Telling .NET classes from Python objects

Check to see if the object implements IPythonObject.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Ivan Porto Carrero
Sent: Tuesday, April 28, 2009 10:38 AM
To: Discussion of IronPython; ironruby-core
Subject: Re: [IronPython] Telling .NET classes from Python objects

+1 for this question only I need it to implement different binding strategies in IronMVC.


IronRuby in Action (http://manning.com/carrero)

Winston Churchill<http://www.brainyquote.com/quotes/authors/w/winston_churchill.html>  - "The best argument against democracy is a five-minute conversation with the average voter."
On Tue, Apr 28, 2009 at 7:35 PM, Michael Foord <fuzzyman at voidspace.org.uk<mailto:fuzzyman at voidspace.org.uk>> wrote:
Hello guys,

I'm continuing my work on generating pi files for the Wing IDE. Actually everything I encounter will be a .NET type, but in general what is the best way of telling if an object is a .NET type or a Python type?

Obviously for the primitives it is a moot point - but I'm talking about user defined classes.

Michael

--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Users mailing list
Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090428/79f96ffe/attachment.html>


More information about the Ironruby-core mailing list