Yeah, that's it.
Perhaps it's time to use %temp%\currentDirectory, or isolated storage?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Maly
Sent: Wednesday, May 18, 2005 9:01 PM
To: Discussion of IronPython
Subject: RE: [IronPython] [0.7.5] except
I have noticed that python-defined classes don't have doc strings.
foo.py:
class foo(object):
"Test one two"
def __init__(self):
pass
>>> import foo
>>> print foo.foo.__doc__
IronPython.Objects.PythonAttributeError: type object 'foo' has no
attribute '__doc__'
at IronPython.O
Yes, that make sense. Between 0.7.4 and 0.7.5 Jim made few
changes in the code that use features of .Net framework not available in Beta 1,
and only available in Beta 2.
M.
From: Anthony Tarlano
[mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18,
2005 9:26 AMTo: Martin Maly; D
This is because at the end of executin IronPython saves the compiled
code into snippets.dll into current directory (that would be C:\ I
guess) which you may not have access to as non-admin. Do you think that
may be it?
M.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL P
found: 'Boolean> > System.Collections.Gen > >
eric.IDictionary`2.TryGetValue(!0, !1 ByRef)'.> > at
IronPython.Objects.Importer.TryGetExistingModule(String fullName,>
> Object&> > ret)> > at
IronPython.Objects.Importer.Import (PythonModu
Just FYI:
C:\>MonoPy
C:\>mono "C:\Program
Files\IronPython-0.7.5\bin\IronPythonConsole.exe"
** (C:\Program
Files\IronPython-0.7.5\bin\IronPythonConsole.exe:616): WARNING **: Missing
method TryGetValue in assembly C:\Program Files\IronPython-0.7.5\bin\IronPython.dll,
type IDic
I installed 0.7.5, and started it up using the following batch file,
after setting PATH. I was running using a non-Admin account.
FePy.cmd
IronPythonConsole.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
I got an exception trying to exit. It triggered the send-to-Microsoft
dialog, which I did.
C:\>Fe
IronPython-0.7.5 requires .NET 2.0 beta 2 (or later). I'm sorry that we didn't
catch this sooner and at the very least made this prominent in the release
notes. We should also modify the config file so that a nice error will be
produced if you try to run on an earlier version. I suspect your
ed.> > >>> import StringIO> > System.MissingMethodException: Method not found: 'Boolean> > System.Collections.Gen
> > eric.IDictionary`2.TryGetValue(!0, !1 ByRef)'.> > at IronPython.Objects.Importer.TryGetExistingModule(String fullName,> >
en
> > eric.IDictionary`2.TryGetValue(!0, !1 ByRef)'.
> > at IronPython.Objects.Importer.TryGetExistingModule(String fullName,
> > Object&
> > ret)
> > at IronPython.Objects.Importer.Import(PythonModule mod, String fullName,
> > List
> > from)
> > at IronPython.Objects.Ops.Import(PythonModule mod, String fullName)
> > at input_0.Run(Frame frame)
> > at IronPython.Hosting.PythonEngine.DoOneInteractive(Frame topFrame)
> > at IronPython.Hosting.PythonEngine.RunInteractive()
> > >>>
> >
> >
>
-- next part --
An HTML attachment was scrubbed...
URL:
http://listserver.dreamhost.com/pipermail/users-ironpython.com/attachments/20050518/f6e9809f/attachment-0001.htm
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I encounter an error when building 0.7.5 (earlier
version build fine)
'IronPython.Objects.Dict.IEnumerable.GetEnumerator()':
containing type does not implement interface 'System.Collections.IEnumerable’’;
File:Dict.cs; Line: 189
'IronPython.Objects.CustomDict.IEnumerable.GetEnumerator(
Martin,
Just as a F.Y.I, IP-0.7.5 did fix it the problem, but as you can also see from below IP-0.7.4 with Beta 1 did work before.
IP-0.7.5 with Beta 2
IronPython 0.7.5 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import StringIO
>>> dir(StringIO)
['Valu
Bob Ippolito wrote:
>
> On May 17, 2005, at 10:42 PM, Curt Hagenlocher wrote:
>
> >> Is this bug known?
> >> That is, if a module fails to import, a second attempt to import
does
> >> not throw an exception. I think this is because
> >> Importer.LoadFromSource puts the module into sys.modules bef
I'm not sure if this is exactly what you're looking for but take a look at boo.
http://boo.codehaus.org/
On 5/18/05, Keith Tingle <[EMAIL PROTECTED]> wrote:
> I would like to embed a scripting language in a C# application.
>
> First looked at VSA, but found that support for VSA was dropped by
>
I would like to embed a scripting language in a C# application.
First looked at VSA, but found that support for VSA was dropped by
Microsoft.
Next looked at Lua, which works well but is not entirely managed code, which
I am told is bad.
IronPython appears ideal until we realized it requires the
http://zephyrfalcon.org/weblog2/arch_e10_00590.html
http://www.voidspace.org.uk/python/articles/upgrading_python.html#id25
Some people claim that 1.5.2 is the One True Python. I only started using it at
2.2, so my brain may be a little warped in that regard...
> Bob Ippolito writes:
>
> > On
16 matches
Mail list logo