[Ironpython-users] .NET Foundation

2014-04-03 Thread Keith Rome
- in that it relies heavily on (and accepts) >pull requests from non-Microsoft persons. The others seem to often follow more >of a "top down" contributions model. Keith Rome Principal Architect @ Wintellect (www.wintellect.com<http://www.wintellect.com>) 770.617.4016 | kr...

Re: [Ironpython-users] CodePlex Issues (Was: IronPython 3 Update)

2014-03-21 Thread Keith Rome
relevant" would be enough to catch the things that fall through the cracks. Keith Rome Principal Architect @ Wintellect (www.wintellect.com<http://www.wintellect.com>) 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> [cid:2DEFD770-1220-4AAA-A244-9FE29A4C2

Re: [Ironpython-users] Launch ipy.exe from Host

2014-03-14 Thread Keith Rome
ation about the source code file and line number too. It requires some effort to get advanced debugging features, but it is certainly possible. Keith Rome Principal Architect @ Wintellect (www.wintellect.com<http://www.wintellect.com>) 770.617.4016 | kr...@wintellect.com<mailto:r...@

Re: [Ironpython-users] multi-core programming with iron-python

2014-01-17 Thread Keith Rome
f you pre-import the modules prior to forking then it's fine - using a cached module is OK, it's just adding newly loaded modules to the cache that causes trouble. And I'm sure there are other similar situations. Actual execution of scripts that are side-effect-free is perfectl

Re: [Ironpython-users] description for a property

2013-12-08 Thread Keith Rome
. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com > On Dec 8, 2013, at 4:44 PM, "Lee Armeanu" wrote: > > Hi all, > I am trying to populate a simple Property

Re: [Ironpython-users] Issues with multithreading, ironpython and numpy

2013-10-18 Thread Keith Rome
a service threading model if you aren't experienced in such things. Keith Rome Principal Architect @ Wintellect (www.wintellect.com<http://www.wintellect.com>) 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> [cid:DB4B3CED-8E4A-4404-A5B0-2853E1AA014D] Register today<

Re: [Ironpython-users] Vedr: issue with ironpython and silverlight

2013-06-24 Thread Keith Rome
Sounds like it might be a problem with your Intranet security zone settings in IE (assuming you are using IE). We use IP in Silverlight, but it is a secondary compilation target (WPF is primary). It still works as far as I know. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA

Re: [Ironpython-users] need assistance with IronClad project

2013-02-18 Thread Keith Rome
2.7 or 3.0 at this point (2.7 has been out for quite a while). So that is probably a big part of the reason you haven't seen much response. But yeah, it looks like that last activity on IronClad was at least 3.5 years ago. I didn't even know what it was and had to look it up. Ke

Re: [Ironpython-users] need assistance with IronClad project

2013-02-15 Thread Keith Rome
"I added the correct search paths from the working command-line output" Can you elaborate on this? The error message seems to point toward a bad search path or a faulty importer as it tries to import a module. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF

Re: [Ironpython-users] Debugging with CLR in Web App

2013-02-13 Thread Keith Rome
me information about the problem. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -Original Message- From: Ironpython-users [mailto:ironpython-users-bounces+rome=wintellect

Re: [Ironpython-users] crash on Win8 64bit at IronPython expression evaluation

2013-01-09 Thread Keith Rome
at is done for you when the scripting runtime is initialized. How are you creating the script runtime? Running from a background thread shouldn't have any bearing on it, unless this were a race issue. And since the crash is happening in a static ctor, that pretty much rules out thread race

Re: [Ironpython-users] No module named datetime

2012-12-18 Thread Keith Rome
= engineInstance.GetSysModule(); sys.meta_path.append(importer); sys.path = new List(); return engineInstance; } Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -Original Messa

Re: [Ironpython-users] Analyzing the Memory Leak

2012-10-25 Thread Keith Rome
in WinDBG/SoS, I find SciTech to be the most powerful and stable (ANTS tends to be particularly unstable). http://memprofiler.com/ Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wint

Re: [Ironpython-users] Restrict referencing of assemblies in hosted environment

2012-10-17 Thread Keith Rome
isted for your host environment. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com<http://www.wintellect.com/> From: Ironpython-users [mailto

Re: [Ironpython-users] Separating return values from printed values?

2012-09-20 Thread Keith Rome
dColor = Color; _inner.Write(value); Console.ForegroundColor = original; } public override Encoding Encoding { get { return _inner.Encoding; } } } } Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MC

Re: [Ironpython-users] Separating return values from printed values?

2012-09-19 Thread Keith Rome
_inner.Write(value); Console.ForegroundColor = original; } public override Encoding Encoding { get { return _inner.Encoding; } } } } Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect

Re: [Ironpython-users] Gradually executing a python script

2012-07-23 Thread Keith Rome
ooldown"). And you can imagine numerous additional mechanics that build on the general principle... but the main idea is that you have one model (the "state machine") that ensures that the AI must adhere to the rules of your game. In other words, making sure a robot is not able to

Re: [Ironpython-users] Gradually executing a python script

2012-07-23 Thread Keith Rome
d by the script then they will be raised in the hosting runtime environment - ultimately bubbling up to where you made the call to execute the script. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@win

Re: [Ironpython-users] Gradually executing a python script

2012-07-23 Thread Keith Rome
also eliminate the problem of having variant outcomes since the program will become deterministic. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintelle

Re: [Ironpython-users] WP7 & Silverlight Support in IronPython

2012-07-06 Thread Keith Rome
on't be able to move to it. This is further complicated because we are also exploring concepts for supporting the Android, WinRT and (perhaps) iOS platforms - and I would be very worried about 2.7's stability on those once v3 becomes the norm. Keith Rome Senior Consultant and Archit

Re: [Ironpython-users] Debugging IronPython

2012-05-31 Thread Keith Rome
ated by the editor on a background thread. So yes, it is certainly possible to do what you want. But the coding effort is relative to the feature set you want to expose. There are several people on the mailing list like myself who have done similar implementations who I am sure would have pro

Re: [Ironpython-users] Mono and Ironpython

2012-04-24 Thread Keith Rome
Yes, it seems that is a much better way to go, and appears to work for SL4/5 and v2 profiles where dynamic was causing issues. Even though I know my way around a little, there is still a lot to be learned. I didn't even notice the existence of that property before. Keith Rome S

Re: [Ironpython-users] Mono and Ironpython

2012-04-24 Thread Keith Rome
onary)context.LanguageContext.SystemState.__dict__.get("modules") Is there a better way to reach sys.modules when all I have is a CodeContext? Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintelle

Re: [Ironpython-users] Mono and Ironpython

2012-04-24 Thread Keith Rome
s\krome\main\Runtime\Microsoft.Dynamic\Utils\ReflectionUtils.cs(495,41): error CS0103: The name 'RuntimeReflectionExtensions' does not exist in the current context Perhaps this might help shed light on the issue. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-W

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

2012-04-19 Thread Keith Rome
from GetPrefix()? I am not familiar with the importance of that call. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com<http://www.wintellect.com/&

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

2012-04-18 Thread Keith Rome
work: var options = new Dictionary(); ScriptRuntimeSetup setup = Python.CreateRuntimeSetup(options); _runtime = new ScriptRuntime(setup); _python = Python.GetEngine(_runtime); This code should work exactly the same on desktop CLR and Silverlight. Keith Rome Senior Consultant and Architect MCPD

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

2012-04-02 Thread Keith Rome
302. In addition to everything zipimport does, I am also setting __file__ to "", and setting __path__ to an empty List. I also ensure that the module is added to sys.modules before executing the initialization code, and I check sys.modules at the very start of my load_module() me

[Ironpython-users] NuGet packaging of IronPython

2012-03-29 Thread Keith Rome
rely? And related to my first question, does it also include a Silverlight version of the binary? Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com

[Ironpython-users] Detecting source code origination in SetTrace() callbacks

2012-03-29 Thread Keith Rome
er way to solve this problem? Or failing that, is this the type of update that could ever make its way back into the main distribution? Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wi

Re: [Ironpython-users] IronPython hosting - providing syntax highlighting (and intellisense?!) to customers

2012-03-12 Thread Keith Rome
in our WPF / Silverlight products. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com<http://www.wintellect.com/> From: ironpython-users-b

Re: [Ironpython-users] IronPython 2.7.2 Released

2012-03-12 Thread Keith Rome
mport, as well as much easier to maintain (and the distributed assembly would also be much smaller due to zip compression). Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -

Re: [Ironpython-users] Dotted assembly names and import

2012-02-18 Thread Keith Rome
l (or Foobar.dll) and then simply rename the resulting assembly file to Foobar.Snafu.dll, does your consuming code work? Also, what is the name of the py file you are compiling, and what does the import statement that is failing look like? Keith Rome Senior Consultant and Architect MCPD-EAD,

Re: [Ironpython-users] Dotted assembly names and import

2012-02-18 Thread Keith Rome
n the assembly into scope. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com<http://www.wintellect.com/> From: ironpython-users-bounce

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

2012-02-12 Thread Keith Rome
If you implement IDisposable, then it is generally expected that you would also implement a finalizer. Implementing one without the other is usually not a good idea. http://msdn.microsoft.com/en-us/library/b1yfkh5e(v=vs.100).aspx Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD

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

2012-02-12 Thread Keith Rome
right thing to do. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com<mailto:r...@wintellect.com> www.wintellect.com<http://www.wintellect.com/> From: ironpython-users-bounces+rom

Re: [Ironpython-users] Metro Profile support

2011-11-21 Thread Keith Rome
27;t exist. The official response seemed to always fall back to "you can still do it in 'classic' non-metro desktop apps in win8 if you need to". Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@winte

Re: [Ironpython-users] Manipulating/Reversing the Ironpython AST

2011-10-28 Thread Keith Rome
oblem writing out a new python file that includes the modified parameters / items. Hack? Yes. But far simpler than dealing with AST and generic code emit. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellec

Re: [Ironpython-users] ErrorListener

2011-10-12 Thread Keith Rome
u can also intercept via the script engine's IO property. Perhaps that kind of trace output is what you are looking for? Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -O

Re: [Ironpython-users] instropection in an embedded engine

2011-09-27 Thread Keith Rome
eturn new string[] { }; } } Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -Original Message- From: ironpython-users-bounces+rome=wintellect@python.org [mailto:ironpython-us

Re: [Ironpython-users] instropection in an embedded engine

2011-09-26 Thread Keith Rome
sual tree (really a grid with indentation), and as they drill down into those objects I just walk down one step further into the data structure. It isn't the fastest thing in the world, but then again it doesn't have to be - the script is effectively paused until I allow the breakpoint to

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

2011-06-27 Thread Keith Rome
I don't mind seeing them. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -Original Message- From: ironpython-users-bounces+rome=wintellect@pytho

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

2011-06-20 Thread Keith Rome
. Keith Rome Senior Consultant and Architect MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS Wintellect | 770.617.4016 | kr...@wintellect.com www.wintellect.com -Original Message- From: ironpython-users-bounces+rome=wintellect@python.org [mailto:ironpython-users-bounces+rome=wintellect