On 9/23/06, anil <[EMAIL PROTECTED]> wrote:
> i have dotnet
> but i need help running this, if you can tell me how to do this
See the message I just posted a couple of hours ago - if those patches
don't make it work for you, please post the output of pybench --debug
and I'll look into fixing it.
_
i have dotnet
but i need help running this, if you can tell me how to do this
thanks
Anil
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>> import web
Traceback (most recent call last):
File , line 0, in ##22
File , line 0, in __import__##7
SyntaxError: from __future__ imports must occur at the beginning of the
file (C:
\Documents and Settings\Desktop\IronPython-1.0\Lib\web.py, line 9)
>>> import web
Traceback (most recent call
just installed visual studio C# express edition and then built release
wow was so easy
Michael Foord wrote:
> anil maran wrote:
> > hi guys
> > i m looking for ironpython community edition by seo sanghyeon built
> > with VS,
> > Is the one built with mono, comparable speed to the one wiht VS, i
> >
Just grab the latest Mono from the Mono website, and install it to a
different location (I use /app/mono/{version}/
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Just downloaded from seo sanghyons site
1.0 Iron python
1.1.14 Mono that comes packaged with Fedora core 5. i tried to update
to newer version using yumex and it gives errors saying it cant replace
the old version, let me figure out how to install newer version
Thanks
Getting excited about mono an
If you apply patches www.python.org/sf/1563842 and
www.python.org/sf/1563844, you can run the pybench benchmark under
IronPython. It requires a patched version of platform.py (the first of
the two patches) and a patched version of Pybench. The latter is
available in the Python source tree in Tools/
I probably can't help, but I know it matters to those who can (a) what version
of Mono; (b) what version of IronPython?
At 05:14 PM 9/22/2006, anil maran wrote
> mono ipy.exe
>
>=== ==
>Got a SIGSEGV while executing native code. This usu
2006/9/23, anil maran <[EMAIL PROTECTED]>:
> I got this error when I was trying to run ironpython in mono in fc5 pls help
> out
Do not use Mono 1.1.13.x, please, please.
You can't use Mono as packaged in FC5 to run IronPython 1.0. It has no
chance of working. Install Mono 1.1.17 or later.
--
S
The odd thing is that the third line did not allow me to do
from Microsoft.DirectX import Direct3DX
Not being terribly familiar with the DirectX 3D libs (I've only tinkered
with the managed DirectSound wrappers), I would suggest the explanation is
that the third assembly uses the same namespace.
Dave Fugate wrote:
> I believe you'll need the full SDK. If you try running the samples with only
> the DirectX runtime you'll see something similar to the following:
>
>ipy.exe demo1.py
>Traceback (most recent call last):
> File E:\Ip\IronPython\Samples\Direct3D\demo1.py, line 17, in
I believe you'll need the full SDK. If you try running the samples with only
the DirectX runtime you'll see something similar to the following:
ipy.exe demo1.py
Traceback (most recent call last):
File E:\Ip\IronPython\Samples\Direct3D\demo1.py, line 17, in Initialize
File , line 0
On 23/09/2006 1:41 AM, Martin Maly wrote:
[big snip]
>
> So the actual difference is that IronPython doesn't ship out of the box with
> the __future__.py module, otherwise, the behavior of both implementations is
> identical.
>
> Hope this sheds some light on the "from __future__" behavior.
A
mono ipy.exe=== ==Got a SIGSEGV while executing native code. This usually indicatesa fatal error in the mono runtime or one of the native librariesused by your application.=== =
anil maran wrote:
> hi guys
> i m looking for ironpython community edition by seo sanghyeon built
> with VS,
> Is the one built with mono, comparable speed to the one wiht VS, i
> read somewhere in oreilly forums that vs is about 50times faster than
> mono,
> please clarify
You should be able to
hi guysi m looking for ironpython community edition by seo sanghyeon built with VS, Is the one built with mono, comparable speed to the one wiht VS, i read somewhere in oreilly forums that vs is about 50times faster than mono,please clarifythanks a lotAnil___
The constructor is actually __new__, __init__ is merely an initializer
which runs after constructor – which has no real analog in the .NET world.
Therefore you’ll want to override __new__ and pass in the values to the base
__new__ that you want to use to construct the object with.
You can initialize the values on this like:
Array[Array[int]]( ( (1,2), (2,3) ) )
(any sequence will do here, e.g. a list work too).
If you want to create a true multi-dimensional array you can do:
x = Array.CreateInstance(int, Array[int]( (1,2,3)))
And then you can fill the values by hand:
x
Sorry, this is for UN*X users only, for now.
Let's assume that you have IronPython-1.0 directory with IronPython
release, and fepy directory with checkout of
https://svn.sourceforge.net/svnroot/fepy/trunk/
$ cd IronPython-1.0
$ ../fepy/script/setup
This will install (link) all my modules to Lib
http://fepy.sourceforge.net/
'Nuf said. Check out with your favorite SVN client now!
--
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Hi Martin
Not unless I'm blind :-)
Maybe only for developers of the project?
In any case Seo helped me:
server should be https://tfs01.codeplex.com
username should be your username + _cp
password as normal
domain should be SND
But not sure of the workspace name although this could just be a
permi
The question is relevant, but this isn't supported directly from IronPython in
1.0. The workaround is to write a small wrapper library in VB or C# and call
that from IronPython.
The limitation is rooted in the fact that 1.0 doesn't support .NET attributes,
like the DllImportAttribute. Possibl
If you go to the IronPython CodePlex "Source" page, in the upper right corner
you'll see the settings for server, user name, port ...
http://www.codeplex.com/SourceControl/ListDownloadableCommits.aspx?ProjectName=IronPython
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAI
On 9/17/06, Nick Coghlan <[EMAIL PROTECTED]> wrote:
> One of the biggest issues I have with the current AST is that I don't believe
> it really gets the "slice" and "extended slice" terminology correct (it uses
> 'extended slice' to refer to multi-dimensional indexing, but the normal
> meaning of t
Hello,
I want to connect through Telnet from Windows machine to
UNIX machine and run some scripts on the last one. My question is if that is
possible to work with Telnet from IronPython? Is there any API in IronPython
like telnetlib in Python2.4.3?
Thank you in advance for you answe
I'm customizing .NET ArrayList class like this:from System.Collections import ArrayListclass MyArrayList(ArrayList): def __init__(self): ArrayList.__init__(self, 256)test = MyArrayList()test.Capacity // return 0It seems like default constructor is always called. Did I incorrectly call
Is there a way to declare external API functions (non-assembly based) called
from Python code?
e.g., in VB, you'd do something like declare the following stub:
Private Declare Function FriendlyName Lib "kernel32" Alias
"ActualAPIFunctionName"(ByVal SomeString As String) As Integer
e.g., in C#, y
After a lot of googling on this, I'm still confused about .NET arrays (not
Python lists) in IronPython.
One dimensional arrays are clear:
foo = Array[int] ((1,2))
But how to set up jagged arrays and multidimensional arrays?
I know that IronPython is happy with the following (i.e., no error), but
this requires the directx sdk, which is 500mb, but if you only want to
run it, cant you get away with just the microsoft.directx assembly and
the directx runtime?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/
Actually, the special-casing of the construct "from __future__ import whatever"
is part of Python language definition and is detected by IronPython and CPython
alike by parser/compiler in order to change code generation of division
operator (for the division case), sometimes the __future__ impor
The exception that Anton is seeing means that the .NET runtime
cannot locate assemblies (IronPython.dll and IronMath.dll) which the compiled
executables depend on. They need to be in the same directory as the compiled
executable for it to work.
The executables created via the pyc sample
Thanks for the bug report Seo. It looks like we're just not doing the same
transform we do for the non-compiled case for the compiled case. I've opened
CodePlex bug #3560 to track the issue
(http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=3560).
-Original Mess
Hi
I was trying today to access the IronPython source code repository -
there doesn't seem to be much information online on CodePlex as to how
to do this without using the Visual tool.
Being more at home on the commandline and waiting for the 200MB+
download (doesn't seem to be possible to get the
>From the IronPython side you can look at Ops.UpdateTraceBack. This is called
>during fault blocks (catch & rethrow blocks in dynamic methods) to store line
>number information when we have code that PDBs (or whatever Mono uses here)
>don't provide the necessary debugging information. If this
On 9/22/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote:
> 2006/9/22, Anthony Baxter <[EMAIL PROTECTED]>:
> > Tracebacks appear to be missing line numbers on this install of
> > Ironpython (it's the IPCE 1.0 version, running against Mono 1.1.17).
> > Before I dig into this too far, is this a known issu
This only happens if you compile the pattern.
To Mono users who don't get the same result as below: it's normal.
Mono bug #79472. http://bugzilla.ximian.com/show_bug.cgi?id=79472
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import re
>>>
Anton!Look at Pyc sample:http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython&title=SamplesAlexander.
On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
How to make exe a file?ipy -X:SaveAssemblies wfdemo.pywfdemo.exe not work.Exception: Just-In-Time Debugging"An exception System.IO.
2006/9/22, Anthony Baxter <[EMAIL PROTECTED]>:
> Tracebacks appear to be missing line numbers on this install of
> Ironpython (it's the IPCE 1.0 version, running against Mono 1.1.17).
> Before I dig into this too far, is this a known issue?
Yes, it is a known *Mono* issue. On Windows (32 bit) it w
Tracebacks appear to be missing line numbers on this install of
Ironpython (it's the IPCE 1.0 version, running against Mono 1.1.17).
Before I dig into this too far, is this a known issue?
Traceback (most recent call last):
File chimp, line unknown, in Initialize
File chimp, line unknown, in m
39 matches
Mail list logo