$ python
Python 2.4.4 (#2, Oct 20 2006, 00:23:25)
[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1 + \
... 2
3
This causes SyntaxError on IronPython.
--
Seo Sanghyeon
_
I downloaded IronPython-1.1a1-Src.zip and Bin.zip, and found that they
extract to IronPython-1.1. I expected them to extract to
IronPython-1.1a1, not to be confused with "final" IronPython 1.1.
--
Seo Sanghyeon
___
users mailing list
users@lists.ironpyt
..you want to look at __getattr__ and/or __getattribute__
On 12/13/06, Hamilton Verissimo <[EMAIL PROTECTED]> wrote:
Appologies for not being specific. I was really looking forward to the
ability to allow invocations on undeclared methods. I'm not fluent in
python, but I think __call__ is the w
Appologies for not being specific. I was really looking forward to the
ability to allow invocations on undeclared methods. I'm not fluent in
python, but I think __call__ is the way to support that, for instance:
class Proxy(object):
def __call__(self, method, arguments):
record(method, argu
Yes, IronPython is completely duck typed, but I'm not certain how your x.bar &
x.foo ties into that.
It almost sounds like you want foo and bar to be properties. You can do that
with:
class baz(object):
@property
def foo(self):
print "I've been called"
Does IronPython support any form of duck typing? Ideally I want somethign like
x.foo
x.bar
And record this invocations to generate, well, other things.
Thanks
--
Cheers,
hamilton verissimo
[EMAIL PROTECTED]
http://www.castlestronghold.com/
___
users
Gotcha.
Thanks both of you for the help that makes much more sense.
~ Anders
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
On 12/13/06, Miguel de Icaza <[EMAIL PROTECTED]> wrote:
> Hello,
>
> > IPCE on Mono 1.1.17 works really nicely in interactive mode. Backspace
> > works, ^D to exit works, the lot. On 1.2.2, however, it's a world of
> > broken. Backspace is just insane, ^D stopped working again... it's
> > pretty mu
On 12/13/06 Miguel de Icaza wrote:
> > IPCE on Mono 1.1.17 works really nicely in interactive mode. Backspace
> > works, ^D to exit works, the lot. On 1.2.2, however, it's a world of
> > broken. Backspace is just insane, ^D stopped working again... it's
> > pretty much unusable. I'm not sure whethe
On 12/09/06 Anthony Baxter wrote:
> On 12/8/06, Paolo Molaro <[EMAIL PROTECTED]> wrote:
> > The bug is fixed in svn (at least on non-win32): Process didn't handle
> > the case when only the filename is set in ProcessStartInfo.
>
> Fabulous! Thanks for the quick response. This will be in the 1.2.3
10 matches
Mail list logo