com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *Hank Fay
> *Sent:* Tuesday, May 18, 2010 11:11 AM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] .Net attributes/decorators
>
>
>
> In reviewing the discussion of .Net decorators in the list (thank
ing change - so for example if some code as doing dir()
it's not going to freak out because there's some unexpected attributes.
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Hank Fay
Sent: Tuesday, May 18, 2010 11:11 AM
To: Di
n.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Hank Fay
Sent: Tuesday, May 18, 2010 11:11 AM
To: Discussion of IronPython
Subject: [IronPython] .Net attributes/decorators
In reviewing the discussion of .Net decorators in the list (thank you Google
Groups), I did not come acr
In reviewing the discussion of .Net decorators in the list (thank you Google
Groups), I did not come across a discussion of what I saw as the central
issue: is IronPython to be a Superset of Python (every Python program will
run in IronPython, not every IronPython program will run in Python), or is
* users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] *On Behalf Of *Lukas Cenovsky
*Sent:* Friday, November 13, 2009 5:42 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] .NET attributes for methods
This looks very promising but I cannot make it work. I h
13, 2009 5:42 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] .NET attributes for methods
This looks very promising but I cannot make it work. I have changed
product.py in DevHawk's example to:
#from clrtypeold import ClrMetaclass
import clrtype
class Product(object):
#__
operty(
fget=self.fget,
fset=newsetter,
fdel=self.fdel,
doc=self.__doc__)
From: Lukas Cenovsky [mailto:cenov...@bakalari.cz]
Sent: Thursday, November 12, 2009 11:01 AM
To: Shri Borde
Subject: Re: [IronPython] .NET attributes for methods
Shri Borde wrot
doc=self.__doc__)
*From:* Lukas Cenovsky [mailto:cenov...@bakalari.cz]
*Sent:* Thursday, November 12, 2009 11:01 AM
*To:* Shri Borde
*Subject:* Re: [IronPython] .NET attributes for methods
Shri Borde wrote:
So the new clrtype.py still works - cool!
Yep ;-)
I am not
fset=newsetter,
fdel=self.fdel,
doc=self.__doc__)
*From:* Lukas Cenovsky [mailto:cenov...@bakalari.cz]
*Sent:* Thursday, November 12, 2009 11:01 AM
*To:* Shri Borde
*Subject:* Re: [IronPython] .NET attributes for methods
Shri Borde wrote:
So the new c
t;
>
>
> *From:* Lukas Cenovsky [mailto:cenov...@bakalari.cz]
> *Sent:* Thursday, November 12, 2009 8:09 AM
> *To:* Shri Borde
> *Subject:* Re: [IronPython] .NET attributes for methods
>
>
>
> Thanks, that works!
>
> What do you think would be the best approach to
.html
use any feature not available in Silverlight?
From: Lukas Cenovsky [mailto:cenov...@bakalari.cz]
Sent: Thursday, November 12, 2009 8:09 AM
To: Shri Borde
Subject: Re: [IronPython] .NET attributes for methods
Thanks, that works!
What do you think would be the best approach to create notif
to inspect the object
and also make sure that no exceptions were thrown?
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Lukas Cenovsky
Sent: Tuesday, November 10, 2009 2:59 PM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET attribu
lf Of Lukas Cenovsky
Sent: Thursday, October 22, 2009 10:37 AM
To: Discussion of IronPython
Subject: [IronPython] .NET attributes for methods
Hi,
I have read all DewHawk blogposts about .Net attributes in IronPython
via __clrtype__ metaclass
(http://devhawk.net/CategoryView,category,__clrtype_
et a dll.
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Lukas Cenovsky
Sent: Monday, November 02, 2009 9:29 AM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET attributes for methods
I was thinking about this... Does ir mean that (af
d not get called")
This does not work today...
*From:* users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] *On Behalf Of *Lukas Cenovsky
*Sent:* Friday, October 30, 2009 10:41 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] .NET attributes f
cussion of IronPython
Subject: Re: [IronPython] .NET attributes for methods
Thanks.
I wanted to implement WCF service in pure Ironpython but I overlooked the
[OperationContract] method attribute is used in the interface declaration.
Anyway, thanks to class attributes it is now possible to impleme
utes for
(other than DllImport for pinvokes)...
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Lukas Cenovsky
Sent: Thursday, October 22, 2009 10:37 AM
To: Discussion of IronPython
Subject: [IronPython] .NET attributes
ethod attributes for
(other than DllImport for pinvokes)...
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Lukas Cenovsky
Sent: Thursday, October 22, 2009 10:37 AM
To: Discussion of IronPython
Subject: [IronPython] .NET attri
Hi,
I have read all DewHawk blogposts about .Net attributes in IronPython
via __clrtype__ metaclass
(http://devhawk.net/CategoryView,category,__clrtype__.aspx). He
describes how to add attributes to classes but not to methods. Is there
any example how to add attributes to a method. It looks li
ord
http://www.voidspace.org.uk/python/index.shtml
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Moad
> Sent: Friday, September 15, 2006 7:46 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] .NET attributes
>
> On
> Charlie's earlier point about all the different targets is a really good one
> though - worse than even properties are things like arguments, return types,
> etc... that won't fit in at all w/ decorators. You could imagine allowing
> the
> syntax anywhere, but there'd be no way to disambiguate
--
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Moad
Sent: Friday, September 15, 2006 7:46 AM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET attributes
On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
> Charlie Moad wrote:
> >> Take away
Charlie Moad wrote:
> On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
>
>> Charlie Moad wrote:
>>
Take away decorator support and you'll lose at least this Python
programmer...
Decorators and attributes have at least some commonality, which is why
this syntax ended
Charlie Moad wrote:
> On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
>
>> Charlie Moad wrote:
>>
Take away decorator support and you'll lose at least this Python
programmer...
Decorators and attributes have at least some commonality, which is why
this syntax ended
On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
> Charlie Moad wrote:
> >> Take away decorator support and you'll lose at least this Python
> >> programmer...
> >> Decorators and attributes have at least some commonality, which is why
> >> this syntax ended up in Python in the first place...
>
Charlie Moad wrote:
>> Take away decorator support and you'll lose at least this Python
>> programmer...
>> Decorators and attributes have at least some commonality, which is why
>> this syntax ended up in Python in the first place...
>> Allowing decorator syntax in places CPython doesn't is better
> Take away decorator support and you'll lose at least this Python
> programmer...
> Decorators and attributes have at least some commonality, which is why
> this syntax ended up in Python in the first place...
> Allowing decorator syntax in places CPython doesn't is better than not
> allowing it w
Charlie Moad wrote:
> On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
>
>> Charlie Moad wrote:
>>
>>> On 9/14/06, Dino Viehland <[EMAIL PROTECTED]> wrote:
>>>
>>>
We're tentatively thinking that this is a 2.0 feature but if we figured
out a syntax we really liked we'd
On 9/15/06, Michael Foord <[EMAIL PROTECTED]> wrote:
> Charlie Moad wrote:
> > On 9/14/06, Dino Viehland <[EMAIL PROTECTED]> wrote:
> >
> >> We're tentatively thinking that this is a 2.0 feature but if we figured
> >> out a syntax we really liked we'd try to get it into 1.1.
> >>
> >>
> >
> > It s
> >> We're tentatively thinking that this is a 2.0 feature but if
> >> we figured out a syntax we really liked we'd try to get it into 1.1.
> >>
> > It seems as if there are two clean ways to do this in my mind.
> >
> > 1. Use python2.4's decorator sytax and extend it to allow class and
> > class v
Charlie Moad wrote:
> On 9/14/06, Dino Viehland <[EMAIL PROTECTED]> wrote:
>
>> We're tentatively thinking that this is a 2.0 feature but if we figured out
>> a syntax we really liked we'd try to get it into 1.1.
>>
>>
>
> It seems as if there are two clean ways to do this in my mind.
>
>
On 9/14/06, Dino Viehland <[EMAIL PROTECTED]> wrote:
> We're tentatively thinking that this is a 2.0 feature but if we figured out a
> syntax we really liked we'd try to get it into 1.1.
>
It seems as if there are two clean ways to do this in my mind.
1. Use python2.4's decorator sytax and exten
cussion of IronPython
Subject: [IronPython] .NET attributes
What is the expected timeline for support for .NET attributes in IronPython?
--
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo
From: [EMAIL PROTECTED] On Behalf Of Charlie Moad
Sent: Wednesday, September 13, 2006 5:42 AM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET attributes
I have seen these examples, but my impression was that they are not
useable. The generic web site one may be, but I am pr
I have seen these examples, but my impression was that they are not
useable. The generic web site one may be, but I am pretty sure the
web service example does not expose any methods as services.
On 9/13/06, S H Yoon <[EMAIL PROTECTED]> wrote:
> "C:\Program Files\Visual Studio
> 2005SDK\2006.08\V
"C:\Program Files\Visual Studio 2005SDK\2006.08\VisualStudioIntegration\Samples\IronPythonIntegration\WebSiteProject\WebSiteProject.proj"Seems like here and below this tree. I see plenty of examples of IPY web including Webservice. Is there a good guide to these? I am compeletly ignorant about ASP.
On 9/13/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote:
> What is the expected timeline for support for .NET attributes in IronPython?
I know this has probably been brought up before, but I wanted to speak
up to maybe put a little more priority behind this. I personally feel
limited many times becau
What is the expected timeline for support for .NET attributes in IronPython?
--
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
OTECTED]] *On Behalf Of *Tim Riley> *Sent:* Wednesday, July 26, 2006 10:17 AM
> *To:* Discussion of IronPython> *Subject:* [IronPython] NET Attributes.>> Is it possible to use .NET attributes in IronPython? For example I> have C# code that looks like:>> [CommandMethod("MyC
:-(
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml
> Martin
>
>
>
> *From:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Tim Riley
> *Sent:* Wednesday, July 26, 2006 10:17 AM
> *To:* Discussion of IronPython
> *Subject:* [IronPython
.
Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Riley
Sent: Wednesday, July 26, 2006
10:17 AM
To: Discussion
of IronPython
Subject: [IronPython] NET
Attributes.
Is it possible to use .NET attributes in IronPython? For example I have
C# code that looks like
Is it possible to use .NET attributes in IronPython? For example I have C# code that looks like:[CommandMethod("MyCommand", CommandFlags.Modal)]public static void RunMyCommand(){ 'code here
}Can I do something similiar in IP? I'll take anything.
___
us
At 05:52 PM 3/28/2006, Dino Viehland wrote (in part)
>[snip]There's actually a lot of interesting problems [with] runtime vs.
>compile time. For example if we were to do a from __experimental__ import ...
>for optional static typing [snip]
At least one interpreter for a different dynamic langua
m: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernst, Nathan
Sent: Tuesday, March 28, 2006 5:42 AM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET Attributes
I wouldn't give up completely on using decorators for classes. True,
Python 2.4 doesn't support them on
, 28 March 2006 05:42
To: Discussion of IronPython
Subject: Re: [IronPython] .NET Attributes
I wouldn't give up completely on using decorators for classes. True,
Python 2.4 doesn't support them on classes, only functions. I think
consistency should be sought here.
After reading PEP 318 (
yntax.
-Nathan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland
Sent: Monday, March 27, 2006 11:45 PM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET Attributes
I like this too... It's interesting that while the syntax isn
this brings it all together.
From: [EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Monday, March 27, 2006 8:58 PM
To: Discussion of IronPython
Subject: Re: [IronPython] .NET Attributes
2006/3/28, Sanghyeon Seo <[EMAIL PROTECTED]>:
> I like __attribu
2006/3/28, Sanghyeon Seo <[EMAIL PROTECTED]>:
> I like __attributes__ solution.
As pointed out already, decorators can't be used with classes as of
2.4. But __attributes__ can be attached to classes or functions.
I agree that decorators would be nice. Perhaps something like the
following in clr m
2006/3/28, Dino Viehland <[EMAIL PROTECTED]>:
The second problem is also just as tough, but it's completely
different. How do you even express an attribute on a class? There's
no Python syntax for this so we'd have to add something new. It'd be
great if we could use decorators here, but they don
My only point is that new decorators shouldn't be included unless they are available in the language. I know Guido said something about them at PyCon but I can't remember what :)I have no problems with decorators by the way. Cherrypy (a web framework/library) uses a decorator-ish syntax, so if impl
For the purposes of consistency, the attribute decorators would need to apply
everywhere an attribute is able to exist in .NET: types, members, etc.
In the case of Serializable, merely subclassing ISerializable isn't necessarily
the best way, since a class can be decorated with SerializableAtt
:11
AM
To: Discussion
of IronPython
Subject: Re: [IronPython] .NET
Attributes
On the topic of
decorators and integrating with .NET, it seems that in order to keep IronPython
as close to CPython, it would be a good idea to consider adding .NET specific
pieces as a "library" ins
On the topic of decorators and integrating with .NET, it seems that in order to keep IronPython as close to CPython, it would be a good idea to consider adding .NET specific pieces as a "library" instead of an addition to the language. That way people could write python code that works in IronPytho
mic languages on CLR?
(http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrzej Krzywda
Sent: Monday, March 27, 2006 4:55 AM
To: users@lists.ironpython.com
Subject:
Hi,
When there will be support for .NET Attributes in IronPython?
Is there any way currently to mark my class as Serializable?
--
Andrzej
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
55 matches
Mail list logo