"Basically, there's a mismatch between what .NET provides and what Python
needs for perfect compatibility."
Yes. I think I remember implementing this and that's exactly the problem I
ran into. I think we looked into incorporating a modified version of the
BCL code directly into IronPython, but at
I could probably look this up, but I'm feeling lazy :). Does IronPython
have code yet to support protocol format 3 for pickling?
Thanks,
-Curt
___
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpytho
Web: codesys.com <http://www.codesys.com>|
> CODESYS store:
> store.codesys.com
> CODESYS forum: forum.codesys.com
>
> *Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner* | *Trade
> register: Kempten HRB 6186* | *Tax ID No.: DE 167014915** *
>
> *Von
You can get precise values of these without depending on the compiler's
ability to convert text to floating point values by saying
sys.float_info.min =
System.BitConverter.Int64BitsToDouble(0x0010) # i.e. 2^-1023
sys.float_info.epsilon =
System.BitConverter.Int64BitsToDouble(0x3cb
Can you use corflags.exe to confirm that your ipy64.exe is actually not
marked for 32-bit execution? Your output should look like this:
PS D:\Program Files\Sho\bin> corflags .\ipy64.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 3.5.30729.1
Copyright (c) Microsoft Corporation
The culprit here is actually Powershell, which likes to convert text output
to UTF-16. I bet you won't see this if you run from cmd.exe.
On Wed, Apr 3, 2013 at 11:32 PM, Markus Schaber wrote:
> Hi, Slide,
>
> Hi, Malcolm,
>
> ** **
>
> Both Python and .NET itself have some heuristics to
How was __socketFile created? Is there a possibility that it's looking for
"\r\n" but only getting "\n"? (I can't remember anything about IronPython's
handling of eol.)
On Thu, Mar 28, 2013 at 3:53 PM, Claudio C wrote:
> Hello everybody,
>
> I'm calling this method with IronPython but this never
It's possible that this is a consequence of the TargetFrameworkAttribute
that's on the assemblies. It's set to
[assembly: TargetFramework(".NETFramework,Version=v4.0",
FrameworkDisplayName = ".NET Framework 4")]
rather than
[assembly: TargetFramework(".NETFramework,Version=v4.0,Profile=Client",
Fr
Is it possible to launch the application directly and then attach the
debugger to it before the code in question executes?
How is the background thread created?
On Tue, Jan 15, 2013 at 3:51 AM, Zsidó Zoltán wrote:
> Hi Jeff,
>
>
>
> You were right.
>
> On windows 7 I managed to reproduce the
When you add a reference to something in the GAC, don't add ".dll" to the
name. That is,
clr.AddReference('System.ServiceProcess')
On Thu, Jan 3, 2013 at 6:34 AM, Peter Schwalm wrote:
> Hello,
> I am trying to convert an Ironpython filewatcher program into a windows
> service. I started by tra
t; Thanks for the suggestion. I believe you are right. I no longer get the
> error message, but the command itself is not successful.
>
> Is there any other way in IronPython to run commands ?
>
> ** **
>
> Cheers,
>
> Jackie
>
> ** **
>
> *Fro
p://www.3s-software.com
> CoDeSys internet forum:
> http://forum.3s-software.com<http://forum-en.3s-software.com/>
> Download CoDeSys sample projects:
> http://www.3s-software.com/index.shtml?sample_projects
>
> *Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manf
This doesn't directly address your question, but as I recall,
DefineDynamicAssembly is only used under very particular circumstances. It
can be avoided most of the time in non-debug usage of IronPython. The only
way to release some of the memory usage forced by DefineDynamicAssembly is
to tear down
...as opposed to one of a set of predefined types whose source is compiled
into IronRuby.
On Tue, Aug 28, 2012 at 1:38 PM, Tomas Matousek <
tomas.matou...@microsoft.com> wrote:
> That's correct, new types can't be generated at runtime and hence it is
> not possible to inherit from an arbitrary CL
I would argue that this is a bad idea. How Python-compatible do you want
this simple Excel-like language to be? If it's really just a small subset
of the full Python language, you may be better off writing a simple parser
that emits Python text as its back end and prevents the users from doing
anyt
This looks like a bug in IronPython when deriving a class from int. Here's
a simple repro; file a bug!
In IronPython 2.7.1,
>>> class Integer(int):
... def __init__(self, value):
... int.__init__(value)
...
>>> Integer(10)
10
>>> Integer('10')
Traceback (most recent call last):
File
I don't think you can replicate Python's semantics exactly, because Python
compiles an entire block at once but your scope would only see reads and
writes sequentially as they happen. For instance, in Python, the following
code will generate an error:
a = 1
def test():
print(a)
a = 2
That
NumPy and SciPy aren't particularly suitable for use from non-Python
environments, because a considerable amount of glue logic is actually
implemented in Python. If you do an internet search for "svd .net", there
doesn't seem to be a shortage of other implementations. Two I'm personally
familiar wi
VS is a mixed native / managed program, so Mono isn't sufficient to make it
run on a non-Windows OS. If your goal is to host IronPython in a C# program,
you should definitely be able to use the Express version to develop that.
But you won't be able to use any of the Python tooling inside that copy
If the C# app is in the same directory as the assembly you're trying to load
from Python, it would automatically find dependent assemblies in that
directory. ipy.exe probably isn't in that directory, so the managed loader
(which is largely driven by the directory containing the launching
executable
>
>….
>
> ** **
>
> I’ve tried ( 2 ) as well, and while some of the known dependencies load
> successfully – showing that the process works – some do not. This could
> mean I’m confused on my dependencies – is there a tool which will show what
> a
Very cool:
http://blogs.msdn.com/b/the_blog_of_sho/archive/2011/06/16/connecting-to-kinect-from-sho.aspx
-Curt
___
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users
22 matches
Mail list logo