[Ironpython-users] New Mailing List is now available

2011-06-16 Thread Jeff Hardy
Hi all, After the downtime yesterday, the new mailing list is now available. It appears that everyone has received unsubscribe notices; these were sent in error. Everyone who was subscribed to the old list should be subscribed to the new list. The page for the new list is http://mail.python.org/ma

[Ironpython-users] IronPython 2.7.1 Beta coming this weekend

2011-06-16 Thread Jeff Hardy
I'm planning to release a Beta of IronPython 2.7.1 for this weekend (June 18-19). I haven't decided on a timeline for the final release, but expect it to be about 3 weeks later. Bug fixes will still be accepted after the beta is released, but the sooner, the better. The main reason for this releas

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

2011-06-17 Thread Jeff Hardy
On Thu, Jun 16, 2011 at 10:58 PM, Markus Schaber wrote: > Fine, I'm looking forward to it. Is this release still compileable using > .NET 2.0? It should be, although I haven't tested that lately. > >> The main reason for this release is to get the newly supported modules >> (unicodedata, _ast, c

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

2011-06-17 Thread Jeff Hardy
On Fri, Jun 17, 2011 at 12:08 AM, Markus Schaber wrote: > Ok. But at least you should update the FileVersion then, or give some > other visible indicator that allows at least manual diagnostics which > version actually is installed. Oh, of course! Only AssemblyVersion will remain the same. > >>

Re: [Ironpython-users] Kinect and IronPython via Sho

2011-06-17 Thread Jeff Hardy
Hmm, looks like Sho is still on 2.6. I wonder if they plan on upgrading ... or if they even can (2.6.2 was the last MS release). - Jeff On Fri, Jun 17, 2011 at 7:10 AM, Curt Hagenlocher wrote: > Very cool: > http://blogs.msdn.com/b/the_blog_of_sho/archive/2011/06/16/connecting-to-kinect-from-sho

[Ironpython-users] IronPython 2.7.1 Beta 1 now available

2011-06-18 Thread Jeff Hardy
This is the first beta release of IronPython 2.7. Like IronPython 2.7, this release requires .NET 4 or Silverlight 4. The highlights of this release are: * Updated the standard library to match CPython 2.7.2. * Add the ast, csv, and unicodedata modules. * Fixed several bugs. * IronPython Tools fo

Re: [Ironpython-users] IronPython 2.7.1 Beta 1 now available

2011-06-18 Thread Jeff Hardy
On Sat, Jun 18, 2011 at 10:11 PM, Steve Dower wrote: > Seems the link is actually http://ironpython.codeplex.com/releases/view/68588 Whoops, you're right. > > And a quick note that this doesn't install side-by-side with 2.7 - the > earlier version is uninstalled. (I don't see this as an issue, b

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

2011-06-20 Thread Jeff Hardy
On Sun, Jun 19, 2011 at 11:07 PM, Markus Schaber wrote: > Are there no 3rd-party applications which embed and install IronPython > with their own installer? > > Being afraid of such scenarios was the main reason why we build > IronPython on our own (with changed assembly name and signing key) and

Re: [Ironpython-users] How can IronPython access a public static value defined in C#?

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 5:16 AM, Doug Blank wrote: > Yes, indeed. So, my question is: how to get a "public static property" > to be dynamically included with "from x import *"? You can't mark it > readonly, right? And it doesn't seem possible without enumerating the > static items myself and creat

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

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 9:43 AM, Jimmy Schementi wrote: > > Jeff, do you know what's blocking zipimport from working? Well, zipimport is a C module in CPython. There is a pure-Python version[1], but I've never tried it. Now that zlib is supported it should work fine. - Jeff [1] http://code.goog

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

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 9:30 AM, Vernon Cole wrote: > We Ubuntu users are still very inconvenienced by that quick "we don't build" > answer. Thanks for fixing the builder so that I can _try_ to home-build a > .NET 2 version.  After killing and reinstalling my Ubuntu system, I gave up > trying to a

Re: [Ironpython-users] How can IronPython access a public static value defined in C#?

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 9:35 AM, Jimmy Schementi wrote: > If we chose to map .NET property imports to module variables, then we'd have > to execute the getter when imported, which would break this example (random > numbers). We could do some magic of exposing the PropertyInfo itself as the > varia

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

2011-06-20 Thread Jeff Hardy
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 Yikes, that's a low number, and high votes. Anybody want to tackle this one? I've got a big sack of interne

[Ironpython-users] High-priority 2.7.1 issues

2011-06-20 Thread Jeff Hardy
Hi, The following issues are ones I would like fixed for 2.7.1. I'm not expecting all of them to be, of course, but as many as possible. If there's something you want added to the list, or if you want one the issues assigned to you, please reply to this message. 391 Implement zipimport module

Re: [Ironpython-users] How can IronPython access a public static value defined in C#?

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 11:27 AM, Dino Viehland wrote: > Jeff wrote: >> On Mon, Jun 20, 2011 at 9:35 AM, Jimmy Schementi >> wrote: >> > If we chose to map .NET property imports to module variables, then >> > we'd have to execute the getter when imported, which would break this >> > example (rando

Re: [Ironpython-users] How can IronPython access a public static value defined in C#?

2011-06-20 Thread Jeff Hardy
On Mon, Jun 20, 2011 at 12:04 PM, Jimmy Schementi wrote: > On Jun 20, 2011, at 2:59 PM, Keith Rome wrote: >> Evaluating a property could potentially introduce unexpected side effects. >> Best practices in OOP says that a property getter should never alter state, >> but it happens enough in the w

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

2011-06-27 Thread Jeff Hardy
On Mon, Jun 27, 2011 at 6:45 AM, Jimmy Schementi wrote: > It's a daily digest of the issues on ironpython.codeplex.com, not of this > mailing list. If it's not of interest we can put it on a smaller dev list. I turned it on as an experiment, in an attempt to get a little more visibility on the b

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

2011-06-27 Thread Jeff Hardy
On Mon, Jun 27, 2011 at 8:22 AM, Slide wrote: > Would you be creating a new list? The only list I see on the python.org > mailing list list (haha!) is the ironpython-users. Just want to make sure I > am not missing out on some excellent developer discussions. Yes, this is currently the only list.

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

2011-06-27 Thread Jeff Hardy
On Mon, Jun 27, 2011 at 8:19 AM, Jeff Hardy wrote: > I turned it on as an experiment, in an attempt to get a little more > visibility on the bug tracker. Unfortunately the only option is daily > - I would have preferred weekly, and I'll open a CodePlex issue to see > if th

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

2011-06-28 Thread Jeff Hardy
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 sys.cs in order to add the zipimporter to sys path_hooks. I > currently have zipimport.cs in the IronPython class library, but am > wondering if I should put it in

Re: [Ironpython-users] SQLite3

2011-06-29 Thread Jeff Hardy
You should be able to use IronPython.SQLite (https://bitbucket.org/jdhardy/ironpython.sqlite/). There's a 2.7-compatible build on the downloads page. It's not 100% compatible with CPython sqlite, but it's pretty darn close. - Jeff On Mon, Jun 27, 2011 at 2:26 PM, Steve Baugh wrote: > I am trying

Re: [Ironpython-users] Building a COM server with IronPython 2.7

2011-06-29 Thread Jeff Hardy
On Tue, Jun 28, 2011 at 10:57 AM, Jamal Mazrui wrote: > In the past, I have built a COM server with C# and the RegAsm.exe utility of > the .NET Framework.  If I use pyc.py to create a DLL with IronPython, will I > be able to build a COM server in a similar manner?  Are there any particular > issue

Re: [Ironpython-users] Assembly references: file does not exist?

2011-06-29 Thread Jeff Hardy
Hi Dave, Are you running on a 64-bit OS by any chance? Is the Assembly.Net.dll a x64 assembly? (the fact that it depends on the native runtime leads me to think it's not an AnyCPU assembly.) If so, can you try running it with ipy64.exe instead of ipy.exe? I'm kind of reaching, here, because if thi

Re: [Ironpython-users] SQLite3

2011-06-29 Thread Jeff Hardy
e > No module named _sqlite3 error with an import statement. > > The IronPython 2.7 installed to Program Files (x86) as it is a 64 bit > system. I have also tried with with a Win XP 32 bit system. > > I am encouraged that you said it should work, but I seem to be doing &

Re: [Ironpython-users] SQLite3

2011-07-05 Thread Jeff Hardy
sense, if SharpDevelop still embeds 2.6. > BTW do I need sqlite3.dll as well? Nope. IronPython.Sqlite uses the csharp-sqlite library (http://code.google.com/p/csharp-sqlite/) so it doesn't depend on native code at all. - Jeff > > Thanks > > Steve > > > On Fri, 20

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

2011-07-05 Thread Jeff Hardy
Hi Dave, Can you forward me one of your digest emails (directly, not to the list) so that I can see them? The (poorly-named) digests sent to the list are supposed to just be an issue tracker summary (which, sadly, Codeplex gives very limited options for), and not the digest of the list itself. If

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Jeff Hardy
Hi Chaim, My guess is that it can't find the wpf module - which, in 2.7 at least, is IronPython.Wpf.dll. You'll probably need to put that file (from the DLLs directory of IronPython) into the same folder as your .exe. - Jeff On Tue, Jul 5, 2011 at 6:59 AM, Chaim Krause wrote: > Runs fine in Iron

Re: [Ironpython-users] Using pyc.py get import error on minimal WPF app

2011-07-05 Thread Jeff Hardy
On Tue, Jul 5, 2011 at 10:21 AM, Chaim Krause wrote: > If I copy the dll into the same directory as the exe AND modify the code > to... > > import clr > clr.AddReferenceToFileAndPath("IronPython.Wpf.dll") > import  wpf > > THEN it works. So, yes. It appears that something is wrong with the import.

Re: [Ironpython-users] codeplex member

2011-07-15 Thread Jeff Hardy
On Fri, Jul 15, 2011 at 7:22 AM, Jimmy Schementi wrote: >> Also, is the plan to stick with codeplex issues or possibly move to github's >> issue system? >> >> slide > > Moving to GitHub might be nice, but we lose voting. In the past voting seemed > to help. Anyways, I say we stay on CodePlex for

[Ironpython-users] IronPython 2.7.1 Beta 2 Coming

2011-07-15 Thread Jeff Hardy
Hi all, I'm planning on doing a beta 2 release of 2.7.1 next weekend (probably late Saturday, July 23). If you have a bug you want fixed and it's not in the list[1], please let me know and I'll bump it up. If you really want it fixed, I recommend sending a patch. If you need any help preparing a p

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

2011-07-20 Thread Jeff Hardy
On Wed, Jul 20, 2011 at 7:14 AM, Jimmy Schementi wrote: > By the way, you're correct that Microsoft.Scripting.AspNet doesn't support > loading code-behind from DLLs produced from clr.CompileModules. If anyone > really wants this, patches are welcome: > https://github.com/IronLanguages/main/tree

[Ironpython-users] IronPython 2.7.1 Beta 2 Now Available

2011-07-23 Thread Jeff Hardy
I'm pleased to announce the second beta release of IronPython 2.7. Like IronPython 2.7 , this release *requires .NET 4 or Silverlight 4.* This release will replace any existing IronPython install

Re: [Ironpython-users] run ipy.exe in 32-bit mode

2011-07-24 Thread Jeff Hardy
On Sun, Jul 24, 2011 at 2:43 AM, Kuno Meyer wrote: > Hi, > > What is the recommended way of running ipy.exe in 32-bit mode? > > ipy.exe should always run in 32-bit mode. ipy64.exe is AnyCPU, so it will run in whatever the native mode is (so ipy64.exe would run in 32-bit mode on a 32-bit OS). - J

Re: [Ironpython-users] IronPython 2.7.1 Beta 2 Now Available

2011-07-25 Thread Jeff Hardy
riate Tag in the web source browser. > > ** ** > > Thanks! > > ** ** > > Grüße, > > Markus > > ** ** > > *Von:* [email protected][mailto: > ironpython-users-bounces+m.schaber=3s-software@pyt

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-27 Thread Jeff Hardy
On Wed, Jul 27, 2011 at 9:01 AM, Vernon Cole wrote: > I am using this as a renewal of my request/suggestion that we revisit > the decision to not supply a .NET 2.0 version of IronPython 2.7. I'm considering doing a zip-only release of 2.7.1 for .NET 2 for the reasons that you give. I need to fix

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-27 Thread Jeff Hardy
Also, there might be some changes that require 3.5 (use of Linq, etc.) since I don't know if anyone was testing on plain-old .NET 2.0 (I think the v2 targets are actually set for 3.5). There are supposed to be targets on the build server that build .NET 2, but I'm not sure if they're working. Of co

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-28 Thread Jeff Hardy
On Thu, Jul 28, 2011 at 6:40 AM, Jimmy Schementi wrote: > I'm a little confused about the issues, as with this simple patch: > https://gist.github.com/557 > > I'm able to build IronPython (using IronPython.Mono.sln as that still > has v2Debug build configurations): > msbuild Solutions\IronPyth

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-28 Thread Jeff Hardy
On Thu, Jul 28, 2011 at 12:44 AM, Doug Blank wrote: > It was rumored that Ubuntu might be getting a more recent Mono soon, > but it would still be nice to clean this up a bit. Is v2Release really > v3.5Release? Yes. - Jeff ___ Ironpython-users mailing

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-28 Thread Jeff Hardy
On Thu, Jul 28, 2011 at 12:07 AM, Markus Schaber wrote: > Hi, > >> [Compiling IPy 2.7 for a pure .NET 2.0] > > I did try to patch some of the problems > > [email protected]:markusschaber/IronLanguages.git (2.7-maint branch) > > Now I have about 270 problems mostly relating to extension methods, > ma

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

2011-07-31 Thread Jeff Hardy
Sounds good. - Jeff On Fri, Jul 29, 2011 at 5:11 PM, Slide wrote: > 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.

Re: [Ironpython-users] external libraries

2011-08-02 Thread Jeff Hardy
Unfortunately, I'm not entirely sure. We do include the Python & Ruby stdlibs, which have their own licenses, and zlib.net, which is MIT/BSD. I'm going to hazard a guess that you're thinking of #ZipLib, which is GPL + Classpath, which isn't as scary as it sounds, but still makes me slightly nervous

Re: [Ironpython-users] external libraries

2011-08-02 Thread Jeff Hardy
the way). > Thanks, > slide > > On Tue, Aug 2, 2011 at 8:41 AM, Jeff Hardy wrote: >> >> Unfortunately, I'm not entirely sure. We do include the Python & Ruby >> stdlibs, which have their own licenses, and zlib.net, which is >> MIT/BSD. I'm going t

Re: [Ironpython-users] AccessViolationException on Python.CreateEngine() call

2011-08-08 Thread Jeff Hardy
Hi Igor, The exception is occurring somewhere in IronPython's COM interop code, but I'm not exactly sure why - the code where the exception occurred pulls COM types out of interop assemblies. You'll have to (somehow) figure out what assembly is getting loaded in the AppDomain when the exception ha

Re: [Ironpython-users] AccessViolationException on Python.CreateEngine() call

2011-08-08 Thread Jeff Hardy
27;ll need to build a custom IP build with some log4net logging >> of that method, since live debugging is not a realistic option here. >> Thanks for your help, >> Igor >> >> On Mon, Aug 8, 2011 at 6:12 PM, Jeff Hardy wrote: >>> >>> Hi Igor, >>>

Re: [Ironpython-users] AccessViolationException on Python.CreateEngine() call

2011-08-08 Thread Jeff Hardy
gt; the worksheet. >                                     // >                                     // They both have the same GUID though. >                                     _comTypeCache[type.GUID] = type; >                                 } >                             } else >                             {

[Ironpython-users] Who's using IronPython?

2011-08-08 Thread Jeff Hardy
I'd like to create a 'Who's using IronPython?' to show the IronPython is being used and maybe help drive adoption. (See http://www.boost.org/users/uses_open.html for an example). What I need: Company Name [commercial] Product [commercial] or Project [OSS] Name URL Description of product/project I

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

2011-08-22 Thread Jeff Hardy
On Fri, Aug 19, 2011 at 2:15 PM, Slide wrote: > 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. Yeah, the

Re: [Ironpython-users] Working Directory

2011-08-26 Thread Jeff Hardy
On Fri, Aug 26, 2011 at 7:56 AM, Paul Grenyer wrote: > Yeah, that feels like quite a hack. It's odd you can't set the working > directory for the python executable. It's not that odd - very few console programs let you set their working directory from the command line. If you need temporarily swi

[Ironpython-users] IronPython test results now available

2011-08-28 Thread Jeff Hardy
At long last, the current IronPython test results can be viewed on the CI server. Go to http://teamcity.codebetter.com/viewLog.html?buildId=30746&buildTypeId=bt365&tab=buildResultsDiv and then select 'login as guest'. There's currently 185 passes, 150 failures, and 177 ignored. Many of the failure

Re: [Ironpython-users] BerkeleyDB and other licenses

2011-09-26 Thread Jeff Hardy
Licence.StdLib.txt is a straight copy of CPython's LICENCE.txt, since IronPython's stdlib is more-or-less a copy of CPython's. The BDB licence could probably be removed; with it being dropped from 3, IP will never include it. I'm not sure what the deal is with xmlrpclib.py, since I thought that th

Re: [Ironpython-users] IronPython 2.7.1 release Question

2011-10-03 Thread Jeff Hardy
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 the SSL patches), an RC on the 15th, and then the final 2.7.1 on the 21st. I'm setting the 21st as the hard deadline (unless the RC is completely FUBAR) because otherwis

Re: [Ironpython-users] IronPython 2.7.1 release Question

2011-10-03 Thread Jeff Hardy
(I haven't decided on 3 or 4 month cycles). - Jeff > 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 > > the SSL

[Ironpython-users] IronPython 2.7.1 Beta 3 now available

2011-10-04 Thread Jeff Hardy
The third and final beta release of IronPython 2.7.1 is now available from http://ironpython.codeplex.com/releases/view/74454. Like IronPython 2.7, this release *requires .NET 4 or Silverlight 4.* This release will replace any existing IronPython

Re: [Ironpython-users] Help Change Python Engine Options inside Python

2011-10-06 Thread Jeff Hardy
I'm pretty sure that once the Python Engine has started, the options cannot be changed. If you have VS available you could attach to the ipy process and debug using that. Calling System.Diagnostics.Debugger.Break() in your python code will trigger a breakpoint. - Jeff On Wed, Oct 5, 2011 at 3:19

Re: [Ironpython-users] Help Change Python Engine Options inside Python

2011-10-07 Thread Jeff Hardy
On Fri, Oct 7, 2011 at 6:18 AM, Mark Wilson wrote: > Thanks Jeff for the help. > I do have vs2010. The ipy process is embedded in a commercial software, > ANSYS.  Do you know how to trigger vs2010 debugging from python  script? The > console is launched by ANSYS program. Add the following to your

Re: [Ironpython-users] Warn user when using old print syntax

2011-10-11 Thread Jeff Hardy
I think you'd have to patch the code to add the print check to the -3 warnings. Dino might be able to point out where you would do that. - Jeff On Tue, Oct 11, 2011 at 9:13 AM, Markus Schaber wrote: > Hi, > > What is the easiest way to detect and warn the user when he uses the old > print synta

Re: [Ironpython-users] Patch: Warn user when using old print syntax

2011-10-12 Thread Jeff Hardy
Thanks! Can you make this a pull request on GitHub? It's much easier to manage patches from there. - Jeff On Wed, Oct 12, 2011 at 7:44 AM, Markus Schaber wrote: > Hi, > > Von: Markus Schaber >> Von: Dino Viehland [mailto:[email protected]] >> > So you want to warn if the file contains a print

Re: [Ironpython-users] Retrieving Ironpython variables within .NET

2011-10-12 Thread Jeff Hardy
On Wed, Oct 12, 2011 at 9:04 AM, Luis Vallejo wrote: > And I want to retrieve the variable "x" from C# change its value and inject > it back to Ironpython the problem I face is that well.. i dont know how. I > have tried with the scope.GetItems() but it returns 0. the only time it > returns the va

[Ironpython-users] IronPython 2.7.1 RC Released

2011-10-16 Thread Jeff Hardy
The first release candidate of IronPython 2.7.1is now available. Like IronPython 2.7 , this release *requires .NET 4 or Silverlight 4.* This release will replace any existing IronPython installat

[Ironpython-users] IronPython 2.7.1 Released!

2011-10-22 Thread Jeff Hardy
On behalf of the IronPython, I'm happy to announce the release of IronPython 2.7.1 . Like IronPython 2.7 , this release *requires .NET 4 or Silverlight 4.* This release will replace any existing

Re: [Ironpython-users] how to uninstall IronPython Tools for Visual Studio 1.0?

2011-10-23 Thread Jeff Hardy
On Sat, Oct 22, 2011 at 5:26 PM, Don Arnold wrote: > I'm quite interested in trying out the new PTVS, but i cannot for the life > of me figure out how to uninstall the old "IronPython Tools for Visual > Studio 1.0". Does anyone have a (relatively simple) step-by-step guide on > how to do so? 1. U

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Jeff Hardy
On Mon, Nov 21, 2011 at 10:55 AM, Slide wrote: > > > On Mon, Nov 21, 2011 at 11:07 AM, Cesar Mello wrote: >> >> Hi, >> Is there support for running ironpython in Windows 8 Metro style >> applications? If not, will it be too difficult to implement? >> Just watched this Build 2011 presentation and

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Jeff Hardy
On Mon, Nov 21, 2011 at 10:07 AM, Cesar Mello wrote: > Hi, > Is there support for running ironpython in Windows 8 Metro style > applications? If not, will it be too difficult to implement? > Just watched this Build 2011 presentation and it seems DLR was not included > in the Metro profile. > Thank

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Jeff Hardy
On Mon, Nov 21, 2011 at 11:33 AM, Keith Rome wrote: > I specifically asked during the Q&A after that session about DLR support. > With the changes to the type system, they seem to really want to push away > from IDMOP. I also got the impression that "dynamic" in C# 4.5 will not be > quite the s

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Jeff Hardy
On Mon, Nov 21, 2011 at 12:51 PM, Steve Dower wrote: > Given IronPython runs on Mono/*nix as-is (ie. lack of PInvokes), there > shouldn't be too much preventing it from being hosted in a managed > Metro app, depending on exactly which .NET APIs have been removed -- > there will be WinRT substitute

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Jeff Hardy
Also, I've opened #31783 (http://ironpython.codeplex.com/workitem/31783) to track this. Feel free to vote for it. - Jeff On Mon, Nov 21, 2011 at 2:14 PM, Jeff Hardy wrote: > On Mon, Nov 21, 2011 at 12:51 PM, Steve Dower wrote: >> Given IronPython runs on Mono/*nix as-is (ie. la

Re: [Ironpython-users] Setting __name__ to __main__

2011-11-23 Thread Jeff Hardy
Your best bet is to look at the source to ipy.exe, which has to do the same thing. - Jeff On Mon, Nov 21, 2011 at 9:21 AM, Markus Schaber wrote: > Hi, > > I want to set the __name__ variable to "__main__" in the script I execute. > However, it seems that the __name__ variable always is overridd

Re: [Ironpython-users] Scripting Ansys with IronPython - Unable to call values from dictionary

2011-11-25 Thread Jeff Hardy
On Thu, Nov 24, 2011 at 11:12 PM, Ossi Heinonen wrote: > Hi again > > Could it be possible to use some sort of wildcard method in this one? Like > >    verifiedValues['*P1*'] > > or > >    verifiedValues['?P1?'] > > Just a thought that seems intuitive, but is it doable? No, that won't work with a

Re: [Ironpython-users] abstract class conversion?

2011-12-01 Thread Jeff Hardy
On Thu, Dec 1, 2011 at 10:14 AM, Michael Colonno wrote: >     In VB.NET, this works just fine: > > > > Dim A As Type > Dim Name As String > Dim Option As Boolean > Dim Err As Integer > Dim value As Object > > value = A.function(Name, Option, Err) > >     In IronPython I am trying (

Re: [Ironpython-users] Beginner question.

2011-12-02 Thread Jeff Hardy
I wouldn't be surprised if you were one of the first people to try this particular combination. However, anything that works from C# should work from IronPython (except possibly unsafe code). Translating C# to IronPython is fairly straightforward: remove most of the punctuation :) You may have to

Re: [Ironpython-users] abstract class conversion?

2011-12-02 Thread Jeff Hardy
01 00 5b 00 00 00 00 00 > >   ) > > > >     I confess this does not mean a whole lot to me, though both Type > and function are declared as abstract. Hopefully this sheds light on the > behavior in IronPython. > > > >     Thanks, > >     ~M

Re: [Ironpython-users] IronPython 2.7.1 Missing Prompts with -i parameter

2011-12-08 Thread Jeff Hardy
On Thu, Dec 8, 2011 at 5:28 AM, Daniel Fernandez wrote: > Hi All, > > I'm running the latest IronPython 2.7.1 and I'm not seeing the prompts with > the -i parameter. It works without the -i but not luck trying execute a > script then continuing to interactive mode. > > I notice that in the PythonC

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

2011-12-11 Thread Jeff Hardy
Does anyone have an objections to removing the IronPython Tools for VS from 2.7.2? They're already disabled by default, they're a small annoyance to keep building, and the Python Tools for VS are so much better that I see no point in continuing to include them. - Jeff _

Re: [Ironpython-users] FW: How to install Scipy and Numpy for .net offline?

2011-12-13 Thread Jeff Hardy
2011/12/12 : > Hi Jason, > > I used your recommended way to install the numpy and scipy packages. It > works fine for numpy but failed on scipy. I put the python source file under > lib/site-packages and the dlls under the folder IronPython 2.7.1/DLLs.  The > error messgae reads as follows: > > Tr

[Ironpython-users] IronPython 2011 Survey

2011-12-13 Thread Jeff Hardy
The IronPython team would like some feedback on how IronPython is being used and what areas need to improved. Take the survey at bit.ly/ipy-2011-survey! - Jeff ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/l

[Ironpython-users] IronPython foundations work

2011-12-18 Thread Jeff Hardy
IronPython's foundations have been a minor issue since it was split off from MS, and I never really found the time to address them. I've made some progress, and these improvements should make the project better in the long run. I've mainly been working on an improved build system for IronPython an

Re: [Ironpython-users] bug / issue tracking for ironpython releases

2011-12-20 Thread Jeff Hardy
On Tue, Dec 20, 2011 at 7:36 PM, Peter Schwalm wrote: > Hi ironpython, > > I have a question regarding issues for ironpython. Where should I place > indications for (possible) errors in the latest release? (I use 2.7.1) > > I have found an issue tracker at > >    http://ironpython.codeplex.com/wor

Re: [Ironpython-users] Reload module within embedded C# app

2011-12-20 Thread Jeff Hardy
On Tue, Dec 20, 2011 at 6:33 PM, Daniel Fernandez wrote: > Hi All, > > I have an embedded Python engine in my C# app that executes python scripts. > I have a filewatcher watching if any python scripts have been modified.  I > am trying to perform a reload within my C# app but I didn't couldn't fig

Re: [Ironpython-users] Reload module within embedded C# app

2011-12-21 Thread Jeff Hardy
On Wed, Dec 21, 2011 at 11:32 AM, Daniel Fernandez wrote: > Hi Jeff, > > I downloaded NWSGI and see where you call engine.ImportModule in > the WsgiApplication.GetApplicationInfo method. It works great with that > module changes. > > I couldn't get modules that were changed from the entry module t

[Ironpython-users] IronPython for Android

2011-12-21 Thread Jeff Hardy
In what must have been a fit of insanity, I decided to try porting IronPython to Mono for Android. Surprisingly, it wan't that hard to get it to compile, and the new build system makes it much easier to add more platforms (this is not a coincidence, of course). Unfortunately, I don't know enough a

Re: [Ironpython-users] [Ironruby-core] Cannot build IronRuby or IronPython MSI's

2012-01-03 Thread Jeff Hardy
The IronPython ones should be working, and nothing I did should change IronRuby's installer builds. However, the old build script may reference IronPython installers that no longer exist. - Jeff On Tue, Jan 3, 2012 at 8:14 PM, Tomas Matousek wrote: > Yes, the installer is broken. Jeff is working

Re: [Ironpython-users] How to use extension type with C# Extension Methods?

2012-01-09 Thread Jeff Hardy
The way to do it in 2.7 is to use e.g. clr.ImportExtensions(System.Linq). I'm not sure this is documented anywhere. - Jeff On Mon, Jan 9, 2012 at 12:58 AM, 刘振海 <[email protected]> wrote: > Hello everyone, > > I follow > the http://blogs.msdn.com/b/saveenr/archive/2008/11/14/consuming-extension-

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland wrote: > I would think you could make your own NTEventLogHandler which wraps this, > you could probably contribute it back to the std lib under an if sys.platform > == 'cli': > so that on IronPython you get the .NET NTEventLogHandler. At the very li

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 9:54 AM, Hernán Foffani wrote: > > El 13/01/2012, a las 18:49, Jeff Hardy escribió: > >> On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland wrote: >>> I would think you could make your own NTEventLogHandler which wraps this, >>> you could p

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 11:24 AM, Dino Viehland wrote: > Douglas wrote: >> Speaking of IronPython's use of the standard Python Library, how does one go >> from IronPython source to an installation with Lib set up properly? >> >> I see that there are parts of the standard lib in github... a couple

Re: [Ironpython-users] Memory Allocation in Iron Python

2012-01-23 Thread Jeff Hardy
There are a couple of known bugs in ctypes. Can you produce a self-contained example, perhaps using a libc on Windows API function as the target? - Jeff On Sun, Jan 22, 2012 at 3:50 PM, Jim Pattee wrote: > I am trying to allocate memory in Iron Python to receive text from a DLL. > The allocated

Re: [Ironpython-users] COM Interop argument convert error

2012-01-24 Thread Jeff Hardy
Check out http://ironpython.net/documentation/dotnet/dotnet.html#ref-and-out-parameters - IronPython treats ref/out parameters a bit differently than VBA does. - Jeff On Tue, Jan 24, 2012 at 8:06 PM, Kamu wrote: > Hi All, > > Having a problem passing 'None' to a COM Interop method that can > ac

Re: [Ironpython-users] Extension Methods (was: COM Interop argument convert error)

2012-01-25 Thread Jeff Hardy
On Tue, Jan 24, 2012 at 11:44 PM, Markus Schaber wrote: > Hi, > > Von: von Jeff Hardy > >> Check out >> http://ironpython.net/documentation/dotnet/dotnet.html#ref-and-out-parameters > - IronPython treats ref/out parameters a bit differently than VBA does. > > Ju

[Ironpython-users] IronPython 2.7.2 Alpha 1 released

2012-01-29 Thread Jeff Hardy
On behalf of the IronPython team, I'm happy to announce the first preview release of IronPython 2.7.2, available at http://ironpython.codeplex.com/releases/view/81331. Like all IronPython 2.7-series releases, .NET 4 is required to install it. Installing this release will replace any existing IronP

Re: [Ironpython-users] type for unicode and str

2012-02-01 Thread Jeff Hardy
In IronPython str and unicode are the same type, which is .NET's System.String. It's easily the biggest difference between CPython 2 and IronPython. The distinction goes away for Python 3, where strings are always Unicode. - Jeff On Tue, Jan 31, 2012 at 8:54 PM, Daniel Fernandez wrote: > Hi All,

Re: [Ironpython-users] binary strings in 2.7.2 alpha?

2012-02-03 Thread Jeff Hardy
On Fri, Feb 3, 2012 at 5:00 PM, Daniel Fernandez wrote: > Hi All, > > I'm playing with open source package  and I am getting an error with prefix > "b" with a string literal with expected str and got bytes. Here is a simple > example, IronPython 2.7.2 alpha I get the following > type(b"/") >

Re: [Ironpython-users] binary strings in 2.7.2 alpha?

2012-02-04 Thread Jeff Hardy
On Fri, Feb 3, 2012 at 5:39 PM, Daniel Fernandez wrote: > I was trying to get Requests package to work with IronPython. I just briefly > started playing with it and I like the HTTP api syntax.  I'm actually > starting to look for open source python packages instead of .NET :)  Well > its been a go

Re: [Ironpython-users] Exception handling in VS 2008

2012-02-06 Thread Jeff Hardy
The VS2008 integration is old, awful, was built by the VS Integration team and not the IronPython team, and based in IronPython 1.0. That version of IronPython predates the `except ... as ...:` syntax, which is why it's a syntax error. You can run Python Tools for Visual Studio (pytools.codeplex.c

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Jeff Hardy
On Fri, Feb 10, 2012 at 10:04 AM, Igor Brejc wrote: > Hi, > > I'm running embedded IronPython scripts (2.6, .NET 3.5) and I was wondering > what happens with the stuff allocated within the script after the script has > finished? For testing purposes I've been executing the following script > > s =

Re: [Ironpython-users] fix for problem with lost working directory in compiled ironPython

2012-02-13 Thread Jeff Hardy
On Sun, Feb 12, 2012 at 4:09 PM, Peter Schwalm wrote: > How can I submit it to the developpers so that it can be included in the > next release of IronPython? Ideally, the steps are similar to http://www.hanselman.com/blog/GetInvolvedInOpenSourceTodayHowToContributeAPatchToAGitHubHostedOpenSource

[Ironpython-users] IronPython 2.7.2 Alpha 2 Available

2012-02-13 Thread Jeff Hardy
On behalf of the IronPython team, I'm happy to announce the second preview release of IronPython 2.7.2 is available at http://ironpython.codeplex.com/releases/view/81331. Like all IronPython 2.7-series releases, .NET 4 is required to install it. Installing this release will replace any existing Ir

[Ironpython-users] IronPython Mobile Support

2012-02-13 Thread Jeff Hardy
The latest version of IronPython includes support for Android and Window Phone 7.5 devices. These are some rough notes for anyone who's interested: Android -- Supports full code generation and almost every feature. WP7 - Does not support creating types at runtime. The biggest limitati

Re: [Ironpython-users] IronPython Mobile Support

2012-02-14 Thread Jeff Hardy
On Tue, Feb 14, 2012 at 12:23 AM, Markus Schaber wrote: >> iOS >> --- >> Not supported - MonoTouch supports NO runtime code generation at all (not >> even DynamicMethod). I need to look deeper to see if it's possible to run >> without it. > > The problem with the runtime code generation is a leg

Re: [Ironpython-users] IronPython Mobile Support

2012-02-14 Thread Jeff Hardy
't had a chance to dig into yet. - Jeff >> -Original Message- >> From: [email protected] >> [mailto:[email protected]] On >> Behalf Of Tomas Matousek >> Sent: Tuesday, February

Re: [Ironpython-users] IronPython Mobile Support

2012-02-15 Thread Jeff Hardy
On Wed, Feb 15, 2012 at 2:07 AM, Bernd Viehmann wrote: > Hello. > > Is there any web-resource to get an idea how to develop mobile solutions > with iron-python. That would be very interesting for me. Sort of, but not really. Embedding IronPython in a mobile app is exactly like embedding it in a

  1   2   3   4   5   >