The speed improvements you're seeing here are likely the usage of our Reflect
Optimizer for all C# methods now. This gives a huge speed improvement in the
time it takes to call arbitrary C# code (previously we only optimized methods
in IronPython, as the optimizer was not able to handle a large
ok, retested using beta6:
C# previously referenced in this thread button4_Click() test: {.1875,
.078125, .078125, .062500, .078125}
sum = 0.484375
beats the previous beta5 sum of .608
IronPythonConsole test(file): {.03, .06, .05, .14, .05}*
sum = .33
2nd run (new IronPythonConsole instance)
{.17
Yay! The calc.xaml loads with Beta 6. I think the EID issue maybe something else altogether.Thanks!-VamshiOn 4/20/06, Martin Maly <
[EMAIL PROTECTED]> wrote:
The WinFX is still undergoing changes
that often result in the tutorial not working. We are actually resolving all
these incomp
Yeah, that's part of the FxCop cleanup - internally all of our methods should
be named using the .NET naming guidelines, and we expose them out to Python via
a PythonName attribute that gives it the name "append".
Do you want to help develop Dynamic languages on CLR?
(http://members.microsoft.c
Ok, looks like its now .Append?
lol :)
On 4/20/06, JoeSox <[EMAIL PROTECTED]> wrote:
> Dino,
>
> When I rebuild my project referencing beta6 dll I received
> Error 6 'IronPython.Runtime.List' does not contain a definition for
> 'append'
>
>
> --
> Joseph
__
Dino,
When I rebuild my project referencing beta6 dll I received
Error 6 'IronPython.Runtime.List' does not contain a definition for
'append'
--
Joseph
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/
Hello IronPython Community,
We have just released
IronPython 1.0 Beta 6. This release focuses primarily on fixing bugs and
improving compatibility with CPython. Major cleanups includes supporting
__metaclass__ at the module level, using __mro__ for new-style class method
resolution, a
I completed one more IronPythonConsole.exe test. I added the below
method to CNUDB.py
===
def test(self,thefile):
time1=time.time()
self.load_predicates_file(thefile)
time2=time.time()
print "-- test took",str(round(time2-time1,2)),'seconds. --\n'
===
The resul
Nope, no guaranteed order... The problem here is it could be a problem w/ the
order of two unmanaged objects which are being "finalized" in some arbitrary
order because the GC is cleaning them up.
Another possibility that occurred to me is that there could be a violation of
COM rules by WMF wh
It was late for me when I composed this last night. So some
corrections are in order...
> On 4/19/06, JoeSox <[EMAIL PROTECTED]> wrote:
> > Results from IDLE 1.1.2
> > ran 5 times = {.03, .03, .03, .05, .03} seconds
> > sum = .008
> >
sum = .17
> > Results from Wing IDE 2.1
> > r
Ok, I had enough time to test this in IronPythonConsole.exe
IronPython 1.0.2280 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys,time
>>> sys.path.append('E:\\')
>>> import CNUDB
>>> file = 'E:\\machine_All.txt'
>>> def test(thefile):
...
OK, I pretty much get what you're aiming for.
You are saying that since there is no deterministic order for Finalization
the COM object (which implements IWMMetaDataEditor) may be disposed of
BEFORE my "Wrapper" Finalizer get's called.
But shouldn't the order be enforced by someone (CLR that is) s
Thanks for the report. This is another issue we've already fixed for beta 6 -
inheriting from a mix of new-style classes as well as old-style classes.
This was part of a large cleanup around __metaclass__ defined at the module
scope, support for __metaclass__ being a function, support for __mro
The WinFX is still undergoing changes
that often result in the tutorial not working. We are actually resolving all
these incompatibilities right now to make sure that the tutorial released with
Beta 6 works with the February CTP of WinFX. As for possible differences
between Feb CTP of WinFX
Hi,
I'd like to use IP to run test sequences on a machine. My C# program
will start a python file, which will do the tests. When the tests are
running I'd like to update the program's desktop.
So I'm looking for two features:
- is it possible to get the current line counter from the python engine?
Hello,Just wanted to let you know that LoadXaml in avalon.py in 1.0 Beta 5 imports System.Windows.Serialization, but this has been renamed from the Feb CTP of WinFX onwards to System.Windows.Markup.Had some trouble figuring it out! Still having trouble using LoadXaml though. It seems there is some
Example code:
class CompatMixin:
def __getattr__(self, attr):
if attr == 'string':
return self
else:
raise AttributeError, attr
class CompatString(str, CompatMixin):
pass
s = CompatString('abc')
print s
print s.string
s.error
The intent is to prov
17 matches
Mail list logo