Re: [IronPython] Type.GetType returns None

2007-03-10 Thread J. Merrill
SimpleTest { public static Type getType(string typename){ return Type.GetType(typename); } } Michael Foord http://www.voidspace.org.uk/ironpython/ J. Merrill / Analytical Software Corp ___ users mailing list users

Re: [IronPython] array.fromfile

2007-02-22 Thread J. Merrill
.MDF', mode 'rb' at 0x0337843A}object {IronPython.Runtime.PythonFile} length 260759 object {int} Thanks again, Joe [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com

Re: [IronPython] Pickle-Serialization integration

2007-02-08 Thread J. Merrill
== newobj Does it make to sense to do the reverse? That is, making picklable Python objects serializable by, I guess, implementing ISerializable? I have no idea how to go about that. Any suggestions welcome. -- Seo Sanghyeon J. Merrill / Analytical Software Corp

Re: [IronPython] Can IronPython help

2007-02-08 Thread J. Merrill
. Can we use IronPython to write the web service? Is this a feasible scenario? Or do we have to go with a C# implementation? Thanks in advance. - -- Tom Jenkins Senior Systems Analyst Devis - http://www.devis.com J. Merrill / Analytical Software Corp

Re: [IronPython] __builtins__

2007-01-27 Thread J. Merrill
): seq = seq[:] seq.sort() return seq This lets one to keep compatibility with CPython versions before 2.4, while still using 2.4-introduced sorted() builtin. Here are some existing usages: http://www.google.com/codesearch?q=%22in+__builtins__%22 J. Merrill / Analytical

Re: [IronPython] Feedbackneeded for bug fix:Import pre-compiledmodules

2007-01-24 Thread J. Merrill
of the app can recompile with (and deliver) the new version. It is a sign of the relative immaturity of IronPython that its developers (correctly IMO) are not willing to do the extra work involved in installing in the GAC. Someday, IP will be in the GAC (or part of the framework). J. Merrill

Re: [IronPython] Feedback needed for bug fix:Import pre-compiledmodules

2007-01-22 Thread J. Merrill
than lib.exe, and lib.py does not exist, we should expect an exception? Yes [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Python Command Line Compiler issues and questions

2007-01-02 Thread J. Merrill
target market includes programmers in business environments), but we have an issue with startup time - mainly caused by the parsing of the Python files. Precompilation could solve that. Hmmm Michael Foord J. Merrill / Analytical Software Corp

Re: [IronPython] New IronPython Section

2006-12-29 Thread J. Merrill
again soon? -- Patrick K. O'Brien [snip] J. Merrill / Analytical Software Corp___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] New IronPython Section

2006-12-17 Thread J. Merrill
to read this entry and more. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.22/590 - Release Date: 16/12/2006 J. Merrill / Analytical Software Corp___ users mailing list users

Re: [IronPython] Build/Install the SDK?

2006-10-09 Thread J. Merrill
to sucessfully build the projects? I'm kind of new to this, so I'm not really sure what details are needed or if this is a normal problem that is resolved by tweaking some line of code or config file. Thanks in advance. -Pete Schott J. Merrill / Analytical Software Corp

Re: [IronPython] Problems with PythonSyntaxErrorException

2006-10-06 Thread J. Merrill
locate the correct line and column within the text I've given the engine to parse, but it'd be nice to be able to use the LineText property instead. Thanks for any help. Mike. J. Merrill / Analytical Software Corp ___ users mailing list users

Re: [IronPython] socket for IronPython update

2006-10-05 Thread J. Merrill
, September 15, 2006 10:11 AM To: Discussion of IronPython Subject: Re: [IronPython] socket for IronPython update Dino Viehland wrote: Unfortunately we cannot currently accept changes back into the IronPython core right now. :( Not at all? What are the issues? David J. Merrill / Analytical

Re: [IronPython] What PythonEngine called my C# code? (was: custom ConfigurationSection in IronPython)

2006-10-05 Thread J. Merrill
the full blown PythonEngine. It'd be interesting to hear if those are sufficient or if you really do need the engine in this case (and how horrible you think the 2 solutions are :) ). J. Merrill / Analytical Software Corp ___ users mailing list

Re: [IronPython] I got this error when I was trying to run ironpython in mono in fc5 pls help out

2006-09-22 Thread J. Merrill
. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. === == Stacktrace: [snip] J. Merrill / Analytical Software Corp ___ users mailing list

Re: [IronPython] Question for Sanghyeon Seo on porting projects

2006-09-15 Thread J. Merrill
to be extraordinarily difficult. J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] ScrollBarsEnabled problem

2006-09-15 Thread J. Merrill
??? [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] socket for IronPython update

2006-09-15 Thread J. Merrill
(makefile should be trivial, hopefully ssl will be just as trivial). J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] socket for IronPython update

2006-09-15 Thread J. Merrill
we cannot currently accept changes back into the IronPython core right now. :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill Sent: Friday, September 15, 2006 9:58 AM To: Discussion of IronPython Subject: Re: [IronPython] socket for IronPython

Re: [IronPython] A SourceForge project?

2006-09-14 Thread J. Merrill
veto At 10:05 PM 9/14/2006, Kevin Chu wrote workspaces at GotDotNet maybe is ok. J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] A SourceForge project?

2006-09-14 Thread J. Merrill
outside of the subversion. Mark J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Alternative to ironpythonconsole.exe

2006-09-08 Thread J. Merrill
outputs. Oh, and it supports history ;-) Szymon Kobalczyk. J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] IDE status info

2006-09-07 Thread J. Merrill
/forums/thread/3770.aspx This gentleman Andy Tao appears to be working on IPY IDE and hit some problems, [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users

Re: [IronPython] Zlib

2006-08-23 Thread J. Merrill
in to CPython? I believe I remember Dino mentioning that they don't support CPython's plugin model. -- Later, JoeSox It's no wonder that truth is stranger than fiction. Fiction has to make sense. -Mark Twain J. Merrill / Analytical Software Corp

Re: [IronPython] Getting a line number of error (RC2)

2006-08-21 Thread J. Merrill
ValueError: invalid integer number literal How do I get the line number of this runtime error? MattB J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] What are plans concerning pre-runtime compilation?

2006-08-21 Thread J. Merrill
), there would be other methods with specific relevant signatures, and type-specific code generated for those. Is this in line with what's being discussed? Where is the discussion taking place? Thanks for listening. J. Merrill / Analytical Software Corp

Re: [IronPython] Debugging support PythonEngine

2006-08-18 Thread J. Merrill
does. [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] profiling ipy apps

2006-07-26 Thread J. Merrill
? Understandably, the cpython profile module doesn't work (no sys.setprofile). Also, CLR Profiler isn't geared towards performance analysis. So, do I need to somehow run my ipy applications under VS 2005 Team Suite? Thanks, -arman J. Merrill / Analytical Software Corp

Re: [IronPython] When does data binding occur?

2006-07-26 Thread J. Merrill
, by calling it (on the DataGridView). At 02:10 PM 7/26/2006, jeff sacksteder wrote Do you call DataBind ? No, Call it on what? The Datagridview? J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http

Re: [IronPython] Dict convertion question

2006-07-20 Thread J. Merrill
array Value gets. Maybe there's something we can do to improve pickle's performance for you. Thanks, I'm sure it would benefit some others also. -- Later, Joe J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com

Re: [IronPython] Can not use httplib in ironpython beta9?

2006-07-18 Thread J. Merrill
the article I just read, you reimplement almost all python standard library in dot.net 2.0, is that right? It's a unbelievably huge job. Big thank to you guys there. Best regards Peter J. Merrill / Analytical Software Corp ___ users mailing list users

Re: [IronPython] Getting a call stack from an exception?

2006-07-16 Thread J. Merrill
release, the latest package available on codeplex (http://www.codeplex.com) does include the updated tutorial. Martin From: [EMAIL PROTECTED] [ mailto:[EMAIL PROTECTED]] On Behalf Of J. Merrill Sent: Saturday, July 15, 2006 1:01 PM To: Discussion of IronPython Subject: Re: [IronPython] Getting

Re: [IronPython] Getting a call stack from an exception?

2006-07-15 Thread J. Merrill
for IronPython which I would like to run “out of the box” (that is, not have the end user install CPython as a dependency of the tutorial). This is the only reason I was looking for a “pure” IronPython solution. -Lee From: J. Merrill Sent: Thursday, July 13, 2006 10:22 AM To: Discussion of IronPython Subject

Re: [IronPython] IronPython 1.0 Beta 9 on Mono

2006-07-13 Thread J. Merrill
FYI, some of us who are watching are ready to nominate you as an honorary member of that I IP T. Thanks for all you do on this! At 11:13 PM 7/12/2006, Sanghyeon Seo wrote (in part) Again, many thanks to hard-working Mono team, in addition to incredible IronPython team. Seo Sanghyeon J

Re: [IronPython] How to get System.Single[]?

2006-06-22 Thread J. Merrill
shouldn't there be an automatic conversion to an array of singles? J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Choosing the right overload

2006-06-17 Thread J. Merrill
At 01:21 PM 6/16/2006, Jonathan Jacobs wrote (in part) J. Merrill wrote: (in part) I don't know if C# allows overloads that are identical except for out-ness -- can you have both int Foo(string x, out int blah) and int Foo(string x, int blah) ??? Apparently you can. If that's

Re: [IronPython] Choosing the right overload

2006-06-17 Thread J. Merrill
'Device', Microsoft.DirectX.Direct3D.ExtendedMaterial[]) J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Choosing the right overload

2006-06-17 Thread J. Merrill
Never mind, it seems that there's been work done in this area At 12:28 PM 6/17/2006, J. Merrill wrote (in part) If that's the case, then it's possible that the design of __overloads__ needs to be changed -- the current key defn of tuple of types without indication of out-or-ref may

Re: [IronPython] Choosing the right overload

2006-06-16 Thread J. Merrill
, out int blah) and int Foo(string x, int blah) ??? J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] remoting from IronPython

2006-06-15 Thread J. Merrill
. Can someone tell me if its possible to use remoting from IronPython or does any one has an idea what I am doing wrong? Many thanks! Ralph Soons J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http

Re: [IronPython] IronPython support In Visual Studio 2005 April VSSDK?

2006-06-01 Thread J. Merrill
= a.GetTypes() for Types in Types: ... print Types ... Mapack.CholeskyDecomposition Mapack.EigenvalueDecomposition Mapack.LuDecomposition Mapack.Matrix Mapack.QrDecomposition Mapack.SingularValueDecomposition [snip] J. Merrill / Analytical Software Corp

Re: [IronPython] Optimized methods and serious performance issues

2006-05-25 Thread J. Merrill
a man who is not a poet, do not show him your poem. -- Rinzai, ninth century Zen master J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users

Re: [IronPython] Line numbers in snippets...

2006-05-17 Thread J. Merrill
-Original Message- From: [EMAIL PROTECTED] [mailto:users- [EMAIL PROTECTED] On Behalf Of J. Merrill Sent: Wednesday, 17 May 2006 3:50 a.m. To: Discussion of IronPython Subject: Re: [IronPython] Line numbers in snippets... Shouldn't all Python errors (not just Synax) provide

Re: [IronPython] Line numbers in snippets...

2006-05-16 Thread J. Merrill
could then you could do: [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] unicode bug?

2006-05-01 Thread J. Merrill
the same str, in IP, an exception is thrown, UnicodeDecodeError: Unable to translate bytes [B2] at index 0 from specified code page to Unicode. regards, cheemeng J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http

Re: [IronPython] IronPython on the .NET Compact Framework

2006-03-30 Thread J. Merrill
that knows the answer ;o) Can IronPython be used on the .NET Compact Framework? I am interested in purchasing a Windows 5.0 smartphone and I was wondering if I could use IronPython to do some development. TIA, Anthony J. Merrill / Analytical Software Corp

Re: [IronPython] Updating globals()

2006-03-29 Thread J. Merrill
of the module is still relatively expensive). [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Updating globals()

2006-03-28 Thread J. Merrill
Sanghyeon J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] IronPython 1.0 Beta 3 Released!

2006-02-21 Thread J. Merrill
) { AddReference(strRef); return; } } [snip] J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] howto access interface method?

2006-02-21 Thread J. Merrill
)(this.dataGridView1)).BeginInit(); this.dataGridView1.BeginInit() above code gives this error, AttributeError: 'DataGridView' object has no attribute 'BeginInit' thks regards cheemeng J. Merrill / Analytical Software Corp ___ users mailing list users

Re: [IronPython] Using IronPython classes in C#...

2006-02-07 Thread J. Merrill
At 12:00 PM 2/7/2006, Dino Viehland wrote (in part) Unfortunately this isn't an easy problem to solve, so there's on ETA on when exactly we'd have this support. Did you mean no ETA (vs on ETA)? J. Merrill / Analytical Software Corp ___ users mailing

Re: [IronPython] Newbie question: can I build .NET assemblies from Python code?

2006-01-16 Thread J. Merrill
At 03:36 AM 1/15/2006, Devin Ganger wrote J. Merrill wrote: Actually, I just took a look and the RADIUS library is _not_ C-based. However, it relies on at least one Python standard library that is not yet implemented in IronPython. So you're in the same situation -- the RADIUS library

Re: [IronPython] Comparing enum to None

2005-12-21 Thread J. Merrill
a workaround or not a bug, because Thanks. At 09:01 AM 12/21/2005, William Reade wrote (in part) Hi, we have a bug report. [snip] Incidentally, should we be bothering the list with these things, or should we put them directly into the bug tracker? J. Merrill / Analytical Software Corp

Re: [IronPython] Simpy not working on IronPython because of type(generator) problem

2005-12-21 Thread J. Merrill
(contains no 'yield')) However, in IronPython: import types def gentest(): for i in range(0,10): yield i print type(gentest) type '__main__+gentest0' whereas in CPython it returns type 'generator' Any idea if we can fix this easely? thanks, Stan. J. Merrill / Analytical

Re: [IronPython] MSDB

2005-11-27 Thread J. Merrill
framework which is instailed from MSDN site. Can u tell me the steps before building the project. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J. Merrill Sent: Sunday, November 27, 2005 10:35 AM To: Discussion of IronPython Subject: Re: [IronPython] MSDB

Re: [IronPython] Need help in learning.

2005-11-04 Thread J. Merrill
: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5DisplayLang=en Martin J. Merrill / Analytical Software Corp ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users

RE: [IronPython] Any have one good reason to use .NETFramework v2.0 with IronPython

2005-06-02 Thread J. Merrill
Last I checked, the betas don't work side-by-side? From: [EMAIL PROTECTED] on behalf of J. Merrill Sent: Thu 6/2/2005 8:56 AM One other point I forgot to make -- MS works terribly hard to make it so that you can have as many different versions of .NET on your

Re: [IronPython] Re: IronPython 0.7.4 released

2005-05-09 Thread J. Merrill
the wheel. Anthony J. Merrill / Analytical Software Corp ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com