[IronPython] Users Digest, Vol 41, Issue 26

David Jensen davidjensen at usa.net
Tue Dec 25 21:02:11 CET 2007


I have not tried this yet, but this is very important.

------ Original Message ------
Received: Mon, 24 Dec 2007 04:52:51 PM EST
From: users-request at lists.ironpython.com
To: users at lists.ironpython.com
Subject: Users Digest, Vol 41, Issue 26

> Send Users mailing list submissions to
> 	users at lists.ironpython.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> or, via email, send a message with subject or body 'help' to
> 	users-request at lists.ironpython.com
> 
> You can reach the person managing the list at
> 	users-owner at lists.ironpython.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: [python] Difference in 1.1 and 2.0 with Dialog	Result
>       (Davy Mitchell)
>    2. How about IronPython for ASP.NET? ( Neil(???) )
>    3. Re: How about IronPython for ASP.NET? (Dody Gunawinata)
>    4. Re: How about IronPython for ASP.NET? ( Neil(???) )
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 23 Dec 2007 22:15:56 +0000
> From: "Davy Mitchell" <daftspaniel at gmail.com>
> Subject: Re: [IronPython] [python] Difference in 1.1 and 2.0 with
> 	Dialog	Result
> To: "Discussion of IronPython" <users at lists.ironpython.com>
> Message-ID:
> 	<20253b0c0712231415i14aa567dt293289a4a36c7c7c at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Yes my initial code was flat wrong :-)
> 
> I was using
>    if fbd.ShowDialog():
>       etc...
> 
> For reference, the IPY1.1 result:
>  >>> bool(DialogResult.OK)
> False
>  >>> DialogResult.OK.value__
> 1
> 
> > but it is still odd that this enumeration now evaluates to False.
> Yes, very odd but I guess it is never safe to rely on the value of an enum.
> 
> Davy
> 
> On Dec 23, 2007 5:05 PM, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> > Davy Mitchell wrote:
> > > import clr
> > > clr.AddReference('System.Windows.Forms')
> > > from System.Windows.Forms import DialogResult
> > > if DialogResult.OK:
> > >     print "Boo!"
> > >
> > > The above prints Boo! in 1.1 and early 2.0 Alphas i.e. DialogResult.OK
> > > resolves to TRUE.
> > >
> > > A6 and A7 (didn't try any others!) nothing is printed i.e.
> > > DialogResult.OK resolves to FALSE.
> > >
> > > Now, I am changing my dialog code anyway but is this a deliberate
change?
> > >
> > >
> >
> > Hmm.. (IP2.0 A7)
> >
> >  >>> import clr
> >  >>> clr.AddReference('System.Windows.Forms')
> >  >>> from System.Windows.Forms import DialogResult
> >  >>> bool(DialogResult.OK)
> > False
> >  >>> DialogResult.OK.value__
> > 1
> >
> > Odd.
> >
> > Of course the right thing to be doing is:
> >
> > if result == DialogResult.OK:
> >
> > but it is still odd that this enumeration now evaluates to False.
> >
> > Michael
> > http://www.manning.com/foord
> > > Cheers,
> > > Davy
> > >
> > >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> 
> 
> 
> -- 
> Davy Mitchell
> Blog - http://www.latedecember.co.uk/sites/personal/davy/
> Twitter - http://twitter.com/daftspaniel
> Skype - daftspaniel                                          needgod.com
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 24 Dec 2007 15:47:14 +0800
> From: " Neil(???) " <chenrong2003 at gmail.com>
> Subject: [IronPython] How about IronPython for ASP.NET?
> To: "Discussion of IronPython" <users at lists.ironpython.com>
> Message-ID:
> 	<26756bf60712232347i338c8d2aoe04b291ca0471223 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hello, IronPython team,
> 
> I'm quite interested in IronPython for ASP.NET, but after the CTP release
in
> last year, it seems that the project has stopped to move on. From a thread
> in this mailing list I know there are some bugs on static compilation. But
> what about other ways? Do you have any plan about IronPython with
> ASP.NETcombination in the near future ?
> 
> Thanks very much.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20071224/6c440759/attachment.html

> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 24 Dec 2007 10:40:16 +0200
> From: "Dody Gunawinata" <empirebuilder at gmail.com>
> Subject: Re: [IronPython] How about IronPython for ASP.NET?
> To: "Discussion of IronPython" <users at lists.ironpython.com>
> Message-ID:
> 	<8cd017b80712240040q4baf1531g9a675d1e02c58066 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-2022-jp"
> 
> Hi Neil,
> 
> Download ASP.Net 3.5 web extension or Asp.Net Futures July CTP. You can
find
> the DLR based IronPython for ASP.Net in those packages.
> 
> Dody G.
> 
> On Dec 24, 2007 9:47 AM, Neil(???) <chenrong2003 at gmail.com> wrote:
> 
> > Hello, IronPython team,
> >
> > I'm quite interested in IronPython for ASP.NET, but after the CTP
> > release in last year, it seems that the project has stopped to move on.
From
> > a thread in this mailing list I know there are some bugs on static
> > compilation. But what about other ways? Do you have any plan about
> > IronPython with ASP.NET combination in the near future ?
> >
> > Thanks very much.
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> >
> 
> 
> -- 
> nomadlife.org
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20071224/e04f9564/attachment.html

> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 24 Dec 2007 16:54:23 +0800
> From: " Neil(???) " <chenrong2003 at gmail.com>
> Subject: Re: [IronPython] How about IronPython for ASP.NET?
> To: dody at nomadlife.org, "Discussion of IronPython"
> 	<users at lists.ironpython.com>
> Message-ID:
> 	<26756bf60712240054u434f9686h87b0ec6ed32742be at mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
> 
> Thanks Dody, I'm going to try it now :)
> 
> Neil Chen
> 
> 
> 2007/12/24, Dody Gunawinata <empirebuilder at gmail.com>:
> >
> > Hi Neil,
> >
> > Download ASP.Net 3.5 web extension or Asp.Net Futures July CTP. You can
> > find the DLR based IronPython for ASP.Net in those packages.
> >
> > Dody G.
> >
> >  On Dec 24, 2007 9:47 AM, Neil(???) < chenrong2003 at gmail.com> wrote:
> >
> > >  Hello, IronPython team,
> > >
> > > I'm quite interested in IronPython for ASP.NET <http://asp.net/>, but
> > > after the CTP release in last year, it seems that the project has
stopped to
> > > move on. From a thread in this mailing list I know there are some bugs
on
> > > static compilation. But what about other ways? Do you have any plan
about
> > > IronPython with ASP.NET <http://asp.net/> combination in the near
future
> > > ?
> > >
> > > Thanks very much.
> > >
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at lists.ironpython.com
> > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> > >
> > >
> >
> >
> > --
> > nomadlife.org
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20071224/ea318462/attachment-0001.htm

> 
> ------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 
> 
> End of Users Digest, Vol 41, Issue 26
> *************************************
> 






More information about the Ironpython-users mailing list