Re: [Ironpython-users] New Mailing List is now available

2011-06-16 Thread Slide
d for > the erroneous unsubscribe messages. > > - Jeff > ___ > Ironpython-users mailing list > [email protected] > http://mail.python.org/mailman/listinfo/ironpython-users > Jeff, Thanks to you also for your continued work to improve the I

Re: [Ironpython-users] IronPython 2.7.1 Beta coming this weekend

2011-06-20 Thread Slide
x27;t be an issue, right? > > - Jeff > ___ > Ironpython-users mailing list > [email protected] > http://mail.python.org/mailman/listinfo/ironpython-users > I didn't see an issue filed for the zimport missing, am I

Re: [Ironpython-users] IronPython 2.7.1 Beta coming this weekend

2011-06-20 Thread Slide
On Mon, Jun 20, 2011 at 10:18 AM, Jeff Hardy wrote: > On Mon, Jun 20, 2011 at 9:59 AM, Slide wrote: > > I didn't see an issue filed for the zimport missing, am I just missing it > in > > the bug tracker? > > http://ironpython.codeplex.com/workitem/391 > > Y

Re: [Ironpython-users] IronPython 2.7.1 Beta coming this weekend

2011-06-21 Thread Slide
Markus > ___ > Ironpython-users mailing list > [email protected] > http://mail.python.org/mailman/listinfo/ironpython-users > slide -- slide-o-blog http://slide-o-blog.blogspot.com/ _

Re: [Ironpython-users] FW: IronPython, Daily Digest 6/23/2011

2011-06-27 Thread Slide
Would you be creating a new list? The only list I see on the python.orgmailing list list (haha!) is the ironpython-users. Just want to make sure I am not missing out on some excellent developer discussions. Thanks, slide -- slide-o-blog http://slide-o-blog.blogspot.com/ __

[Ironpython-users] location for zipimport.cs

2011-06-28 Thread Slide
this sort of thing? Thanks, slide -- slide-o-blog http://slide-o-blog.blogspot.com/ ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] location for zipimport.cs

2011-06-28 Thread Slide
Ok, that was the direction I was going, just wanted to make sure. Thanks Slide On Jun 28, 2011 10:40 PM, "Jeff Hardy" wrote: > On Tue, Jun 28, 2011 at 10:31 AM, Slide wrote: >> I am working on an implementation of zipimport.cs, there are some changes >> needed to s

Re: [Ironpython-users] Undesired Side Effects of sending digests to the list as emails

2011-07-04 Thread Slide
The daily digest is just the digest of the bug tracker for the day, not the normal messages. On Jul 4, 2011 9:22 AM, "David Bagby" wrote: > Hi List, > > I've been reading the list for a couple of months as part of an effort > to learn more about Iron Python. > > I thought I'd speak up about the re

Re: [Ironpython-users] Importing .NET Lib Error

2011-07-11 Thread Slide
The next version of IP should have csv module support in it...I know that doesn't help you NOW, but should in the future.If the DLL is in the DLLs directory, you should be able to load by just using the clr.AddReference method I believe. Thanks, slide On Mon, Jul 11, 2011 at 12:16 PM,

[Ironpython-users] codeplex member

2011-07-15 Thread Slide
How does one become a member of the project on codeplex so that issues can be assigned to them? Also, is the plan to stick with codeplex issues or possibly move to github's issue system? slide -- slide-o-blog http://slide-o-blog.blogspo

Re: [Ironpython-users] Q: Protecting my source in an ASP.NET IronPython application possible?

2011-07-20 Thread Slide
_**_ > Ironpython-users mailing list > [email protected] > http://mail.python.org/**mailman/listinfo/ironpython-**users<http://mail.python.org/mailman/listinfo/ironpython-users> > You can modify the permissions on the source files in IIS so th

[Ironpython-users] IronPython Tools (NOT Python Tools For VS2010)

2011-07-29 Thread Slide
Are the IronPython Tools officially deprecated in favor of the Python Tools for VS2010? Thanks, slide -- slide-o-blog http://slide-o-blog.blogspot.com/ ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman

Re: [Ironpython-users] IronPython Tools (NOT Python Tools For VS2010)

2011-07-29 Thread Slide
Ok, so do we want to clear out any issues in the tracker having to do with ip tools? On Jul 29, 2011 5:06 PM, "Jimmy Schementi" wrote: > Yes, which is why the tools are not enabled by default in the latest installer. > > ~Jimmy > > > On Jul 29, 2011, at 7:59 PM

[Ironpython-users] external libraries

2011-08-01 Thread Slide
What are the guidelines for bringing in part or all of an external library? What licenses are compatible with the rest of the IP source code so it won't be tainted by anything? Thanks, slide -- slide-o-blog http://slide-o-blog.blogspo

Re: [Ironpython-users] external libraries

2011-08-02 Thread Slide
No, I was actually thinking of pulling something in from Mono which has nothing to do with zlib or zipimport :-) I am planning on reusing the existing decompression that is currently used in the zlib module for zipimport (which is coming along nicely by the way). Thanks, slide On Tue, Aug 2

[Ironpython-users] Mako

2011-08-16 Thread Slide
I found this discussion from a few years ago and was wondering if anyone knew if everything needed for Mako to work with IronPython was integrated now https://groups.google.com/d/topic/mako-discuss/SGYx6rjb6OY/discussion Thanks, slide -- slide-o-blog http://slide-o-blog.blogspot.com

Re: [Ironpython-users] IronPython 3 in new mono 2.10.4

2011-08-19 Thread Slide
This same question was asked a couple days ago. The Mono team grabbed a tag from git and it had been updated to version 3.0.0. It's just the based on the tag the Mono team grabbed, not an official release from the IronPython project. Thanks, slide On Thu, Aug 18, 2011 at 2:35 AM, Sven

Re: [Ironpython-users] Working Directory

2011-08-26 Thread Slide
ent problem? > > Can you show the console output that makes you think it's pulling the second argument as a python file to execute? Thanks, slide ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] Working Directory

2011-08-26 Thread Slide
py", > line 100, in loadTestsFromNameAttributeError: 'module' object has no > attribute 'parameter' > > > -- > Thanks > Paul > > Paul Grenyer > e: [email protected] > b: paulgrenyer.blogspot.com > t: pjgrenyer > What does your if __name__ == "__m

Re: [Ironpython-users] Working Directory

2011-08-26 Thread Slide
7;s not an IronPython issue at all, it's unittest doing what it is supposed to do. Inside unittest.main it pulls out the command line parameters and uses them to determine what unittests to run. You could do something like (not tested): import os, sys if __name__ == '__main__': os.

Re: [Ironpython-users] IronPython 2.7.1 release Question

2011-10-03 Thread Slide
I still need to sit down and finish my zipimport implementation, I know that was something you wanted in for 2.7.1. On Oct 3, 2011 11:07 AM, "Jeff Hardy" wrote: > Weird, I was just going to post that this afternoon :) > > The current plan is to cut another beta today or tomorrow (once I fold in >

Re: [Ironpython-users] IronPython 2.7.1 release Question

2011-10-03 Thread Slide
I'll do my best :-) On Mon, Oct 3, 2011 at 11:18 AM, Jeff Hardy wrote: > On Mon, Oct 3, 2011 at 11:14 AM, Slide wrote: >> >> I still need to sit down and finish my zipimport implementation, I know >> that was something you wanted in for 2.7.1. > > If you can ge

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Slide
s point as far as I know. If you try it out (DLR can be found here http://dlr.codeplex.com/) it would be interesting to know what does and does not work. slide -- slide-o-blog http://slide-o-blog.blogspot.com/ ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Slide
n some form, but I don't have the time to see it > though right now. > > - Jeff > ___ > Ironpython-users mailing list > [email protected] > http://mail.python.org/mailman/listinfo/ironpython-users > I'll see what I can do, I had a Win8 VM sitting around

Re: [Ironpython-users] Removal of IronPython Tools for Visual Studio from 2.7.2

2011-12-11 Thread Slide
that I see no point in continuing to include them. > > - Jeff > ___ > Ironpython-users mailing list > [email protected] > http://mail.python.org/mailman/listinfo/ironpython-users > I'd say definitely do it. -

Re: [Ironpython-users] Visual studio C# "no module named ssl" import error

2011-12-12 Thread Slide
socket is provided via IronPython.Modules, but only _ssl (the "native" module) is implemented in IronPython.Modules. You would need the Python stdlib which has the ssl module (which uses _ssl). Thanks, slide 2011/12/12 楊 鈞凱 > Hello Everyone, I want to use Ironpython to call

[Ironpython-users] __package__

2011-12-14 Thread Slide
;, '__file__', '__loader__', '__name__', '__path__'] I see in the code that there are references to __package__, but following where it it set is proving to be a bit difficult. Can someone point me in the right direction? Thanks, slide Website: http://earl-of-code.com ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] __package__

2011-12-15 Thread Slide
compatible with CPython in that respect :-) I'll continue to dig into import.c and see what I can determine about __package__ Thanks, slide On Wed, Dec 14, 2011 at 10:19 PM, Dino Viehland wrote: > It happens in Importer.cs – there’s a comment saying “// explicit > relative i

[Ironpython-users] Codeplex Issues

2011-12-21 Thread Slide
issues at [1] and see if you can run a quick test to verify if it is still an issue or not. Thanks, slide [1] http://ironpython.codeplex.com/workitem/list/advanced?keyword=&status=Open%2b%28not%2bclosed%29&type=All&priority=All&release=All&assignedTo=All&component=All&a

[Ironpython-users] TestRunner

2012-01-03 Thread Slide
Is there a specific reason that IronPython is using TestRunner as opposed to just extending something like xUnit or NUnit? ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

[Ironpython-users] TryGetNonInheritedValueHelper/TryGetNonInheritedMethodHelper

2012-02-08 Thread Slide
While looking a little bit into [1] I found that the two methods above in UserTypeOps.cs stop when they get to .NET types. If I remove the condition to stop at .NET types, the issue no longer appears. Is there a reason that these two methods are not looking at .NET types? Thanks, slide [1

Re: [Ironpython-users] TryGetNonInheritedValueHelper/TryGetNonInheritedMethodHelper

2012-02-09 Thread Slide
[email protected] [ > mailto:[email protected]] > *On Behalf Of *Slide > *Sent:* Wednesday, February 08, 2012 7:56 PM > *To:* [email protected] > *Subject:* [Ironpython-users] > TryGetNonInheritedValueHelper/TryGetNonInheritedMeth

[Ironpython-users] Work Item 19249

2012-02-14 Thread Slide
I'd like to get the thoughts of the community on work item 19249 [1]. I am thinking we want to either make it an option, or just leave it as is. I prefer the latter. Thanks, slide [1] http://ironpython.codeplex.com/workitem/19249 -- Website: http://earl-of-cod

Re: [Ironpython-users] Work Item 19249

2012-02-14 Thread Slide
o: > [email protected]] *On Behalf Of * > Slide > *Sent:* Tuesday, February 14, 2012 4:02 PM > *To:* [email protected] > *Subject:* [Ironpython-users] Work Item 19249 > > ** ** > > I'd like to get the thoughts of the comm

Re: [Ironpython-users] [IronPython] NuGet packaging

2012-02-18 Thread Slide
The short answer is yes :-) I think Jeff is working on this, we had lost the nuget packaging file at one point but were able to retrieve it. Jeff would be able to give you a better idea as to when and so forth. On Fri, Feb 17, 2012 at 9:33 PM, Leo Carbajal wrote: > Sorry to revive an old thread,

[Ironpython-users] Pyc.py dependencies

2012-02-22 Thread Slide
Currently pyc.py only uses .NET imports and classes, I'm looking at adding support for an embedded icon and win32 (native) resources in general. Are people opposed to adding a dependency on the struct module, or ctypes to accomplish that stuff? Thanks,

Re: [Ironpython-users] Pyc.py dependencies

2012-02-22 Thread Slide
missing something. slide On Wed, Feb 22, 2012 at 12:07 PM, Jeff Hardy wrote: > On Wed, Feb 22, 2012 at 9:44 AM, Slide wrote: > > Currently pyc.py only uses .NET imports and classes, I'm looking at > adding > > support for an embedded icon and win32 (native) resources in

Re: [Ironpython-users] Understanding CPython and IronPython linkage

2012-02-22 Thread Slide
If the module is a C based module, it will not import into IronPython. The compatibility is in most of the standard library, pycurl is not part of the standard library. There are even issues in parts of the standard library as you can see if you look at the bug tracker on CodePlex. slide On Wed

Re: [Ironpython-users] Understanding CPython and IronPython linkage

2012-02-22 Thread Slide
Be careful with that too :-) IronPython is obviously still a work in progress and we're trying hard to implement features and become more CPython compatible; we've still got a lot of work to do, but you can do some really cool stuff with IronPython. slide On Wed, Feb 22, 2012 at 3:06

Re: [Ironpython-users] Pyc.py dependencies

2012-02-23 Thread Slide
n order to redistribute with IP, I am terrible with licenses. slide On Wed, Feb 22, 2012 at 2:07 PM, Jeff Hardy wrote: > On Wed, Feb 22, 2012 at 11:22 AM, Slide wrote: > > The icon has to be part of unmanaged resources, which can be defined > using > > DefineUnmanagedResource, but that

Re: [Ironpython-users] Pyc.py dependencies

2012-02-23 Thread Slide
On Thu, Feb 23, 2012 at 9:28 AM, Jeff Hardy wrote: > On Thu, Feb 23, 2012 at 7:05 AM, Slide wrote: > > I'm feeling pretty masochistic lately, so maybe I'll write it in pure > Python > > :-) The other option is pulling in something like wrc.exe from WINE > > de

[Ironpython-users] Patch

2012-02-23 Thread Slide
Just wanted to get this out for review before I push it. I would have done it through my fork on github and issued a pull request, but my fork is currently messed up. Let me know if you see anything out of the ordinary. Fixes 32288 and 26706 Thanks, slide -- Website: http://earl-of-code.com

Re: [Ironpython-users] Patch

2012-02-24 Thread Slide
Good point, I'll make the change before pushing. On Thu, Feb 23, 2012 at 9:32 PM, Jeff Hardy wrote: > On Thu, Feb 23, 2012 at 7:55 PM, Slide wrote: > > Just wanted to get this out for review before I push it. I would have > done > > it through my fork on github and iss

Re: [Ironpython-users] Patch

2012-02-24 Thread Slide
t; > +1 on what Jeff said as well, I’d just add an overload instead of doing > the default value thing. > > ** ** > > Now I’m going to have to think more about pyc support for PTVS. > > ** ** > > *From:* [email protected] [m

Re: [Ironpython-users] Patch

2012-02-24 Thread Slide
*On Behalf Of *Dino > Viehland > *Sent:* Thursday, February 23, 2012 10:16 PM > *To:* Slide; [email protected] > *Subject:* Re: [Ironpython-users] Patch > > ** ** > > This is awesome, a couple comments: > > Can AssemblyRes

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread Slide
Do we currently have a wiki? On Fri, Mar 2, 2012 at 9:37 AM, Jeff Hardy wrote: > On Fri, Mar 2, 2012 at 7:37 AM, wrote: > > Apologies in advance for the newbie question, especially if this has > > been covered 73 times already (I did spend a hour searching online and > > in the IPy documentati

Re: [Ironpython-users] IronPython 2.7.2 RC Available

2012-03-04 Thread Slide
Jeff, As always a big thanks for your continued hard work in keeping IronPython alive and well! Thanks! Slide On Mar 4, 2012 4:53 AM, "Jeff Hardy" wrote: > On behalf of the IronPython team, I'm happy to announce the first (and > probably only) release candidate for I

[Ironpython-users] setuptools

2012-03-07 Thread Slide
Just as an FYI, I committed some fixes today that should allow setuptools to be used with IronPython. I was able to bootstrap setuptools correctly with these fixes. https://github.com/IronLanguages/main/commit/f975d2f68412fd761939d19f0bfbb44fffea0fcc -- Website: http://earl-of-code.com

[Ironpython-users] exceptions

2012-03-08 Thread Slide
s all tied in with the runtime and not extendable in this way, am I completely wrong? Thanks, slide -- Website: http://earl-of-code.com ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] IronPython 2.7.2 Released

2012-03-12 Thread Slide
This is a great idea, this functionality does not currently exist, could you please file a new issue at http://ironpython.codeplex.com? Thanks, slide On Sun, Mar 11, 2012 at 11:23 PM, Keith Rome wrote: > Thanks for the great work! > > Regarding the new zipimport functionality - is it

Re: [Ironpython-users] sys.version_info in 2.7.2

2012-03-12 Thread Slide
FYI, I filed an issue on this today as I ran into it while trying to get Trac working with IronPython. http://ironpython.codeplex.com/workitem/32400 slide On Mon, Mar 12, 2012 at 8:45 PM, Jeff Hardy wrote: > On Mon, Mar 12, 2012 at 10:19 AM, Daniel Munch > wrote:

Re: [Ironpython-users] setuptools

2012-03-13 Thread Slide
It does not seem to work with distribute (it exits with a StackOverflowException). I'll dig into it a little more. slide On Wed, Mar 7, 2012 at 3:59 PM, Jeff Hardy wrote: > On Wed, Mar 7, 2012 at 2:54 PM, Slide wrote: > > Just as an FYI, I committed some fixes today tha

Re: [Ironpython-users] (no subject)

2012-03-13 Thread Slide
If you remove IronPython from the app and do the same thing, do you still get the error? I've never seen that error before. On Mar 13, 2012 6:21 PM, "surangika ranathunga" wrote: > Hi All, > I am using Ironpython (2.7) to call a python script from my C# console > application. The code executes f

[Ironpython-users] __future__.py

2012-03-13 Thread Slide
ure__.py. Thanks, slide -- Website: http://earl-of-code.com ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Slide
There is no need to use the CPython stdlib, the IP installer comes with a stdlib that has some mods for it to work better. Check the Lib directory where you installed IP. Also, you can set IRONPYTHONPATH to have it find things. On Mar 15, 2012 5:49 AM, wrote: > Thursday, March 15, 2012, 3:49:36

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Slide
that pyc can do a better job... > > Will also file an issue later on today. > > > D. > > # Dominique de Waleffe > # ddewaleffe -at- gmail -dot- com > # domi -at- dewaleffe -dot- org > > > > On Thu, Mar 15,

Re: [Ironpython-users] Startup performance

2012-03-16 Thread Slide
How long does it take if you run in script form? Just wondering for comparison. slide On Fri, Mar 16, 2012 at 8:55 AM, wrote: > Since the question of performance with regard to zipimport was just > raised, it prompted me to ask a related question. > > I have a script that I'

Re: [Ironpython-users] Run a WPF application written in IronPython on the client computer without the install IronPython

2012-03-16 Thread Slide
Getting more information about the errors would be necessary. Thanks, slide On Fri, Mar 16, 2012 at 9:09 AM, wrote: > I have a need to run a WPF application written in IronPython on the client > computer without the install IronPython. > I try to create a C # thin client (. Ex

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-17 Thread Slide
I'm just glad to see more people engaged in using IronPython! Thanks, Slide On Mar 17, 2012 5:16 PM, "Doug Blank" wrote: > On Sat, Mar 17, 2012 at 6:51 PM, Dino Viehland > wrote: > > > > > > Jeff wrote: > >> IronPython's conversion code

Re: [Ironpython-users] Run a WPF application written in IronPython on the client computer without the install IronPython

2012-03-19 Thread Slide
Setting /target:winexe should not show any console window. Are you sure its a console window that is being shown? Thanks, slide 2012/3/19 > Thank you, Matt Ward :). > It worked :)). You're a real expert. > Just one more thing, a window appears and then disappears. I guess,

Re: [Ironpython-users] Run a WPF application written in IronPython on the client computer without the install IronPython

2012-03-19 Thread Slide
Hmmm, do you have Visual Studio installed so that you could possibly debug the application when it fails at the end and pinpoint the spot of failure? Thanks, slide 2012/3/19 > Hello). > With the advice Matt Ward, thanks to him, the problem was solved as > follows: > 1) had to chan

Re: [Ironpython-users] Sandbox support for IronPython console

2012-03-19 Thread Slide
Cesar, I think this sounds like a pretty good idea for debugging stuff. Are you familiar with how we work with patches should you get something going? Thanks, slide On Mon, Mar 19, 2012 at 1:35 PM, Cesar Mello wrote: > Hi, > > I would like to know if someone other than me would fi

Re: [Ironpython-users] Sandbox support for IronPython console

2012-03-19 Thread Slide
Yes, a pull request would be preferred. It makes it very easy to review the code and then incorporate it into the master. As for the command line argument, -X:Sandbox or something like that. I think the name of the parameter is less of a concern until its all up and working. slide On Mon, Mar

[Ironpython-users] Why does this happen?

2012-03-24 Thread Slide
__cmp__ method if I try adding a call to x.sort() instead of cSharpMethod, but from inside cSharpMethod, __cmp__ is never called and I can't figure out why. Any ideas on why this might be occuring? Thanks, slide -- Website: http://earl-of-cod

Re: [Ironpython-users] [main] -X:Sandbox command line argument (#61)

2012-03-27 Thread Slide
Moving this to the mailing list Are you (the OP) developing something that is going to run in ASP.NET? For this type of thing, I believe you can host the ASP.NET runtime in an application, so that may be the way to go for that. slide On Tue, Mar 27, 2012 at 8:14 AM, Jeff Hardy < repl

Re: [Ironpython-users] Why does this happen?

2012-03-29 Thread Slide
p__ either), so I think there is a bug somewhere. On Sat, Mar 24, 2012 at 8:51 PM, Slide wrote: > > I am implementing a module in C#. This module does some comparison > operations. One of the tests for this module has something like the following: > > class CmpErr: >

Re: [Ironpython-users] Why does this happen?

2012-03-30 Thread Slide
value(IronPython.Runtime.CodeContext), Convert($arg1} Is there more information from the DynamicMetaObject that would be helpful? Thanks for your time, I appreciate you helping out those like me who don't know much about the internals of IronPython. slide On Thu, Mar 29, 2012 at 10:07 PM, Dino Viehl

Re: [Ironpython-users] Why does this happen?

2012-03-30 Thread Slide
going to file an issue on this, because its looks like a compatibility problem. Thanks, slide On Fri, Mar 30, 2012 at 5:26 PM, Dino Viehland wrote: > First off just to make your life easier in the future the DebugView > property on the expression is much better than the other view - it pro

Re: [Ironpython-users] Resource-based ZIP importer / meta_path importer

2012-04-02 Thread Slide
Also, even if its not python compatible, its a good feature idea and so filing an issue would be appreciated. IronPython is in between .NET and Python, you can import .NET namespaces and use them, so something like this is not out of character and provides a benefit. slide On Mon, Apr 2, 2012 at

Re: [Ironpython-users] Resource-based ZIP importer / meta_path importer

2012-04-02 Thread Slide
I actually started implementing the zipimport updates to support res:// urls, I haven't run into the same issue you have, I get the call to zipimporter with the res:// just fine. Where specifically were you running into issues with this? slide On Mon, Apr 2, 2012 at 1:20 PM, Keith Rome

Re: [Ironpython-users] scope get/set variable and invoking python function

2012-04-04 Thread Slide
The Test1 inside the function is not the same as the Test1 outside the function, you need to make the Test1 in the function a reference to the global Test1 for the scope. Try this def TestFunction() global Test1 Test1 = 4 On Wed, Apr 4, 2012 at 9:38 PM, Bill wrote: > I am having a proble

Re: [Ironpython-users] scope get/set variable and invoking python function

2012-04-04 Thread Slide
FYI, if you only want to READ the global variable, you don't need to do what I said below, but to write to it, you have to "declare" it as a global before writing to it inside the function. On Wed, Apr 4, 2012 at 9:40 PM, Slide wrote: > The Test1 inside the function is not the

Re: [Ironpython-users] Startup performance

2012-04-10 Thread Slide
Hardy wrote: > On Fri, Mar 16, 2012 at 9:12 AM, Slide wrote: >> How long does it take if you run in script form? Just wondering for >> comparison. > > Yeah, that would be a good comparison - .NET will have to JIT all of > IronPython as it loads, which can take some time.

[Ironpython-users] Module as member of another module

2012-04-16 Thread Slide
how to achieve that since PythonModule's are generally static classes in C#. Should I just generate the module on the fly and fill in the __dict__? Thanks, slide -- Website: http://earl-of-code.com ___ Ironpython-users mailing list Ironpython-

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Slide
Please make sure you have 2.5.2.1 and not just 2.5.2. On Wed, Apr 18, 2012 at 12:16 PM, Mattias Ahlenius wrote: > Thanks for your quick reply Keith, > > Tried you code and I still get the same Exception: > > "Attempt by security transparent method > 'IronPython.Modules.SysModule.GetPrefix()' to a

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Slide
This really sounds like the assemblies you are referencing are not really the SL assemblies, can you open the assembly in ILSpy and decompile GetPrefix and see what you have? slide On Wed, Apr 18, 2012 at 1:44 PM, Mattias Ahlenius wrote: > Same exception even if I use the 2.7.2.1 bins:

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Slide
You shouldn't need to use the IronPython.Mono.sln file anymore, you should be able to use the vanilla IronPython solution file. Does that not work for you? Thanks, slide On Wed, Apr 18, 2012 at 4:16 PM, Eddy Pronk wrote: > I'm trying to build IronPython on mono 2.10 (Debian) &

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Slide
You probably want to set the configuration you want to build via /p:Configuration=Debug /p:Platform="Any CPU" or if you want a release version, try /p:Configuration=Release. The full solution builds a large number of configurations which may not work to build on mono. slide On Wed, Ap

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
>> } >> catch (ArgumentException >> <http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:5.0.5.0:7cec85d7bea7798e/System.ArgumentException>) >> { >> return string >> <http://www.aisto.com/roeder/dotnet/Default.asp

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
It's not throwing a SecurityException, its throws a MemberAccessException (which does NOT inherit from SecurityException either). slide On Thu, Apr 19, 2012 at 10:05 AM, Jeff Hardy wrote: > > On Thu, Apr 19, 2012 at 7:45 AM, Slide wrote: >> >> No, that is correc

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
om > > www.wintellect.com > > ** ** > > *From:* Mattias Ahlenius [mailto:[email protected]] > *Sent:* Thursday, April 19, 2012 2:16 PM > *To:* Slide > *Cc:* Keith Rome; [email protected] > *Subject:* Re: [Ironpython-users] Problem with embedding IronPyth

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
I am unable to reproduce this, I am also running Win7 x64 Running with ipy64.exe IronPython 2.7.2.1 (2.7.0.40) on .NET 4.0.30319.261 (64-bit) Type "help", "copyright", "credits" or "license" for more information. >>> from ctypes import * >>> class foo(Union): ... __fields__ = [("t", c_uint),

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
As I mentioned, I ran both ipy64.exe and ipy.exe (you can see from my output that is shows a 64-bit runtime for ipy64 and a 32-bit runtime for ipy.exe and it made no difference. They both worked for me. slide On Fri, Apr 20, 2012 at 1:46 PM, Bruce Bromberek wrote: > Looks like you are runn

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
Just a question, is the CPython stdlib in your IRONPYTHONPATH or added to sys.path? slide On Fri, Apr 20, 2012 at 2:18 PM, Dino Viehland wrote: > I'd suggest running w/ -X:ExceptionDetail and sending back the stack trace > that you > get as that'll tell us where the excep

[Ironpython-users] Welcome Aboard

2012-04-23 Thread Slide
Looks like we have a new contributor KeithJRome. Welcome aboard! slide -- Website: http://earl-of-code.com ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] Mono and Ironpython

2012-04-23 Thread Slide
figurations and platforms. slide On Mon, Apr 23, 2012 at 12:25 PM, Pratik Paranjape wrote: > I am trying to install IronPython over Mono, on CentOS in my Home folder. > > > Trying to follow instruction here: > https://github.com/IronLanguages/main/wiki/Building > > > > >

Re: [Ironpython-users] Mono and Ironpython

2012-04-23 Thread Slide
Do you have the 4.0 BCL and what not installed? slide On Mon, Apr 23, 2012 at 2:58 PM, Pratik Paranjape wrote: > Thanks for reply. > > command I was using: > $> xbuild /p:Configuration=Release Solutions/IronPython.sln > > I checked common.proj, but I am not sure what platf

Re: [Ironpython-users] Mono and Ironpython

2012-04-24 Thread Slide
[email protected]] > Sent: Tuesday, April 24, 2012 12:27 PM > To: Tomas Matousek; Keith Rome; [email protected]; Slide > Cc: [email protected] > Subject: RE: [Ironpython-users] Mono and Ironpython > > > > Fixed. > > > > There is one remaining e

Re: [Ironpython-users] Mono and Ironpython

2012-04-25 Thread Slide
't even notice the existence of that property before. >> >> >> Keith Rome >> Senior Consultant and Architect >> MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS >> Wintellect | 770.617.4016 | [email protected] >> www.wintellect.com >> >

Re: [Ironpython-users] Mono and Ironpython

2012-04-25 Thread Slide
64-bit or 32-bit? On Wed, Apr 25, 2012 at 6:19 AM, Pratik Paranjape wrote: > On Wed, Apr 25, 2012 at 5:58 PM, Slide wrote: >> >> What version of CentOS and Mono? > > > CentOS : 5.8 (Final) > Mono: 2.10.2 > > > >> >> On Apr 25, 2012 4:56 AM,

Re: [Ironpython-users] Codeplex says "No Documentation"

2012-04-30 Thread Slide
This sounds like a great idea Jeff. Let me know if there is anything I can do to help out. Thanks, slide On Mon, Apr 30, 2012 at 8:57 AM, Jeff Hardy wrote: > Here's what my thinking has been on documentation for the past little > while. I just haven't had a chance to put

Re: [Ironpython-users] Mono and Ironpython

2012-04-30 Thread Slide
oaded > method match for > `System.Collections.Generic.HashSet.Add(System.Reflection.MethodInfo)' > has some invalid arguments >     Utils/ReflectionUtils.cs(495,37): error CS1503: Argument `#1' cannot > convert `object' expression to type `System.Reflection.MethodInfo&#x

Re: [Ironpython-users] Codeplex says "No Documentation"

2012-05-02 Thread Slide
I have seem to have access, I haven't tried pushing anything yet. I'll take a look at the Extending section and what I can do help out there. Thanks, slide On Mon, Apr 30, 2012 at 12:00 PM, Jeff Hardy wrote: > On Mon, Apr 30, 2012 at 9:05 AM, Slide wrote: >> This sounds lik

[Ironpython-users] RuntimeReflectionExtensions

2012-05-19 Thread Slide
ivate && (!member.IsStatic || flattenHierarchy)) { return true; } return false; } Looking at RuntimeReflectionExtensions on MSDN it says its only supported in 4.5? slide -- Website: http://ear

Re: [Ironpython-users] RuntimeReflectionExtensions

2012-05-19 Thread Slide
Nevermind on this, it looks like my solution and projects got corrupted somehow so the wrong preprocessor items were being defined. On Sat, May 19, 2012 at 7:05 AM, Slide wrote: > It looks like Microsoft.Dynamic was updated to use something that is > only available in 4.5. I'm

Re: [Ironpython-users] Poor performance of a c# - Ironpython

2012-05-23 Thread Slide
Hmmm, you are right of course. :-) On Wed, May 23, 2012 at 10:45 AM, Jeff Hardy wrote: > On Wed, May 23, 2012 at 10:22 AM, Alex Earl wrote: >> Dynamic is pretty slow as well since it involves reflection. What is >> the real type of the object you are returning, is it a function or >> something?

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Yes, I understand, but AddReference is just basically a wrapper around Assembly.Load, which does not search. You can try using clr.AddReferenceToFile with the directory you get from the find method added to sys.path. slide On Tue, May 29, 2012 at 12:04 PM, Furqan Malik1E07 wrote: > Hi A

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
What version of IP are you using? Also, what do you get if you do a dir(clr) in the interactive console? slide On Tue, May 29, 2012 at 1:05 PM, Furqan Malik1E07 wrote: > Thanks Slide, > > I am getting following error now, > > clr.AddReferenceToFile('MicrosoftVisualStudioTe

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Can you give the full version displayed when you run ipy.exe or ipy64.exe? slide On Tue, May 29, 2012 at 1:28 PM, Furqan Malik1E07 wrote: > I am using Python 2.7 > And that's what I get when I run dir(clr) > ['AddReference', 'FindAssembly', 'ListAssemblie

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Wait, you are trying to use the clr module in normal CPython? On Tue, May 29, 2012 at 1:42 PM, Furqan Malik1E07 wrote: > Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on > win32 > > -Original Message----- > From: Slide [mailto:[email protected]

  1   2   3   >