I ran into a relatively similar problem with importing networkx into
IronPython, but was able to fix it by editing out a few of the lines.
It seems that the import behaviour in cpython and ironpython is slightly
different sometime.
I can post a list of the steps that I took if it is helpful
Mind showing showing me an example of using VirtualAlloc?
Thanks for your help
Quick Google Search reveals nothing Nothing to me on VirtualAlloc
*cheers
On Wed, Feb 9, 2011 at 12:37 PM, Dino Viehland di...@microsoft.com wrote:
So you want to generate the assembly in memory and then
Strange that a search would find nothing. Try searching for VirtualProtect
instead -- that's what you'd need to mark a block of memory as executable,
and you'd use it in conjunction with VirtualAlloc.
On Thu, Feb 10, 2011 at 8:17 AM, Andrew Evans evans.d.and...@gmail.comwrote:
Mind showing
Thanks a bunch will continue looking :-)
On Thu, Feb 10, 2011 at 8:24 AM, Curt Hagenlocher c...@hagenlocher.orgwrote:
Strange that a search would find nothing. Try searching for VirtualProtect
instead -- that's what you'd need to mark a block of memory as executable,
and you'd use it in
I am having trouble figuring out the correct way of doing this. I am using
the module cmd.
Anyway this is what I do
import myModule
class Example(cmd.Cmd):
def __init__(self):
cmd.Cmd.__init__(self)
self.prompt = ' '
def do_something(self, myFunction):
myVar =
There are two options here. You can either pass the function directly:
def do_something(self, myFunction):
myVar = someFunction(myFunction)
obj.do_something(obj.function)
Or you can pass the name as a string and use getattr:
def do_something(self, myFunction):
myVar
On Wed, Feb 9, 2011 at 2:42 PM, Dino Viehland di...@microsoft.com wrote:
In the case of IronPython the script is just pulling the files from
Languages/IronPython/StdLib/StdLib.pyproj so you could just go straight
to that MSbuild file to get the list of files to use.
StdLib.pyproj is generated
Andrew wrote:
On Wed, Feb 9, 2011 at 2:42 PM, Dino Viehland di...@microsoft.com wrote:
In the case of IronPython the script is just pulling the files from
Languages/IronPython/StdLib/StdLib.pyproj so you could just go
straight to that MSbuild file to get the list of files to use.
Okay, we're making some great progress here now. Last issue I see
immediately is that ir.exe crashes hard when trying to require a
library, also it looks for it in all the wrong places on mono. Ideally
(IMHO) it would first look under a Lib directory under the directory
ir.exe lives in.
What is your installation dir/file layout?
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Andrew Jorgensen
Sent: Thursday, February 10, 2011 2:52 PM
To: Discussion of IronPython
Cc: ironruby-c...@rubyforge.org
Subject:
Okay, I have filed codeplex issue 30143 for this, with a simple test
modulewhich demonstrates the problem.
This completely breaks adodbapi, and would probably kill many other imported
modules. I think someone should go in an jack up the priority to high.
IMHO it is a release breaker. Is not
If no one else steps up to look at it I can take a look this weekend. But let
me tell everyone fixing import bugs is awesome fun!
I thought adodbapi was still part of the test suite but I don't know how it
transitioned when MS gave the project to the community. It may have not been
pushed
First off, Thanks to all the developers! 2.7b1 and b2 have been
excellent so far, at least as far as my current needs go. The new
subprocess module is great. Came just in time. Great work!
Federico,
Your post caught my eye, as I also like good embeddable console apps.
Hadn't used IPython
On Thu, Feb 10, 2011 at 6:11 PM, Dino Viehland di...@microsoft.com wrote:
If no one else steps up to look at it I can take a look this weekend. But
let me tell everyone fixing import bugs is awesome fun!
That sounds like sarcasm to me...
I thought adodbapi was still part of the test suite
This is just a firendly reminder that the first IronPython Bug Weekend
is this weekend, February 12-13. You can find more information at
http://ironpython.codeplex.com/wikipage?title=first%20IronPython%20Bug%20Weekend.
Remember, you don't have to dedicate the whole weekend - even finding
a couple
15 matches
Mail list logo