de, FileAccess access, FileShare share, Int32 bufferSize, Boolean
isAsync, Boolean anonymous)
in <0x0005e> System.IO.Directory:Exists (System.String path)
System.IO.IOException: Win32 IO returned ERROR_INVALID_NAME. Path: -X:
Mono 1.1.9.1: (command line) mono
&quo
Right.. it's just a pattern for metaprogramming. The current implementation
just has a little bit of compiler assist.
There are the underlying extension methods (which are defined in a very
Pythonic way: static Foo Bar(this Baz, Gleep)), which can be used directly, or
wrapped in sugar. Of c
kes a Func<> or an Expression<>.
So I would say you were close, but not quite accurate. Take a few
passes through the spec -- it's much more interesting than it seems at
first.
-
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[E
All the fun Linq bits run on beta 2. All that's needed is a way to make use of
extension method attributes, which is remarkably Pythonic: foo.Bar(baz) ->
Gleep.Bar(foo, baz). Python already has lambdas, but could use a means to
generate expression trees rather than functions.
The release notes for the latest drop of Mono (1.9.0) says it runs
IronPython 0.9 (0.9.1 as well, perhaps?), with some caveats regarding
the unit tests.
-
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lloyd
It's okay to interchange 'i' and 'y' .. so you can go through each combination
of i/y that occurs in each part.
From: [EMAIL PROTECTED] on behalf of Thane
Sent: Wed 8/31/2005 2:00 PM
To: 'Discussion of IronPython'
Subject: RE: [IronPython] RE: Numpy port
essen
"Pynet".. then instead of "Pythonistas", we could call ourselves "goobers".
(that's okay..)
From: [EMAIL PROTECTED] on behalf of Anthony Tarlano
Sent: Wed 8/31/2005 11:02 AM
To: Discussion of IronPython
Subject: Re: [IronPython] RE: Numpy port
I was thinking a
Python's got a fairly good following in the sciences. I think having a
good port of a familiar numerics library would help bring in some
devotees.
-----
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paul Barrett
Title: RE: [IronPython] Environment.Platform? and a bug
It’s been ages; all I remember is
Numpy.
-
Keith J. Farmer
[EMAIL PROTECTED]
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thane
Sent: Saturday, 27 August 2005
15:24
There are two
While I encountered the bug initially using tab completion, I think I found it
also just typing beyond the edge of the console.
Environment.Platform: yeah, I asked BradA, and he forwarded on to others. I
figure it'll be needed before Orcas comes out, and by then it'll be really
annoying.
M
m.ArgumentOutOfRangeException: The value must be greater than or
equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was 300.
-
Keith J. Farmer // [EMAIL PROTECTED]
___
user
tell IronPython to generate a GUI app, rather than a console
app?
-
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Maly
Running the generated exes ... the error you are getting, I believe,
means tha
And when is that? ;)
-
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Zoltan Varga
Try 1.1.9 when its released.
___
users-ironpython.com mailing list
users
>= 1;
}
return result;
}
-
Keith J. Farmer
[EMAIL PROTECTED]
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
rights reserved.
>>> a = 1j
>>> a ** 2
(-1+0j)
>>> a ** 1
1j
>>> a ** 0
(1+0j)
>>> a ** 3
-1j
>>> a ** 4
(1+0j)
-
Keith J. Farmer
[EMAIL PROTECTED]
public Complex64 Power(Complex64 y)
{
That should be “what CPython returns”.
-
Keith J. Farmer
[EMAIL PROTECTED]
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith J. Farmer
Sent: Wednesday, 24 August 2005
02:56
I
don’t know why CPython returns in this case
I don’t
know why CPython returns in this case, but I wonder if it’d be possible
to improve the accuracy for certain calculations?
>>>
a = 1j
>>>
a ** 2
(-1+1.22464679914735E-16j)
>>>
pow(a,2)
(-1+1.22464679914735E-16j)
-
Keith
mblyByName('System.Drawing')
-----
Keith
J. Farmer
[EMAIL PROTECTED]
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Got
bored, decided to run TestAll.py under IronPython (0.9 and 0.9.1), under Mono
(0.8.3), under Monad, under x64…
In
contrast, TestAll.py passes when run under MS CLR.
Could
the could-not-load errors be a matter of strong-name bindings going on in
IronPython?
-
Keith
J. Farmer
line. If I run a second time, after compiling the solution,
all tests pass.
If I try to run TestAll.exe, I get the same stand-alone .exe error noted
above.
Also, I see an x.txt document containing "Hello"? snippets.dll is back
-- do I need to build using Release to hide it again?
-
Incidentally, I note that my original email shows, in OWA, a proper ellipsis:
"... which is incorrect, but I believe Queen Elizabeth would forgive you."
From: [EMAIL PROTECTED] on behalf of Thane
Sent: Mon 8/22/2005 12:20 PM
To: 'Discussion of IronPython'
Subjec
Corrected I am, and corrected in rhyme:
'Tis the best nitpick I've read in my time.
From: Thane [mailto:[EMAIL PROTECTED]
Sent: Mon 8/22/2005 1:00 PM
To: Keith J. Farmer
Subject: RE: [IronPython] using ironpython write a code editor
If you don'
I meant what I said, and I said what I meant:
My *ellipsis* is short, by thirty-three percent.
From: [EMAIL PROTECTED] on behalf of Thane
Sent: Mon 8/22/2005 12:20 PM
:)
And yet another minor correction:
".. which is incorrect, but I believe Queen Elizabeth wou
:)
A minor correction to your english:
"i'm english is not good." -> "my english is not good"
What you had written said:
"I am English. To be English is not good."
... which is incorrect, but I believe Queen Elizabeth would forgive you.
From: [EMAIL PRO
I'm not worried about compiling -- just execution.
And I'm just allergic enough to not want to install cygwin and an svn browser
just to recompile the latest mono. Really, I'm just checking mono + fepy for
kicks. The fact that it runs at all makes me snigger behind the back of the
Anti-MS Le
Not terribly exciting, but if nobody's noticed:
C:\IronPython-0.9\Scripts>mono \IronPython-0.9\bin\IronPythonConsole.exe
.\TestAll.py
** (\IronPython-0.9\bin\IronPythonConsole.exe:316): WARNING **: The class
System.StringSplitOptions could not be loaded, used in
\IronPython-0.9\bin\IronPython.
By calling "C", you mean calling "CPython bytecode", right, since Python only
calls C by virtue of having stubs available (eg, such as those produced by
SWIG). IronPython could have these even more directly, I think (via DllImport,
and no need for SWIG)
As far as CPython bytecode, someone cou
I've been asked:
Are there hopes for 1.0 release at PDC, or (as I think more likely)
DevConnections/Whidbey release?
From: [EMAIL PROTECTED] on behalf of Martin Maly
Sent: Mon 8/15/2005 1:10 PM
We surely want to find the right answer before 1.0
<>__
I'm not certain a separate IDE would be the way to go. Perhaps add-ins for
SharpDevelop, MonoDevelop, Eclipse, and VS2k5 would be the better way?
From: [EMAIL PROTECTED] on behalf of Freddie Witherden
Sent: Sun 8/7/2005 6:36 AM
Does anyone know if there is curr
I take it that:
from System import Type
from System import DateTime
Type.GetType(DateTime).GetProperties()
Isn't what you're looking for? It is, admittedly, not what *I* would
expect for the DateTime type.
Perhaps DateTime.__dict__ ?
-----
Keith J. Farmer
[EMAIL
, etc).
-
Keith J. Farmer
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anthony Tarlano
>>> t = Threading.Thread(Threading.ParameterizedThreadStart(echo))
___
users-ironpython.com mail
nericType(Type[] instantiation, Boolean
verify)
at input_11.Run(Frame frame)
-
Keith J. Farmer
[EMAIL PROTECTED]
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I think this raises the question of how to best flag a script as requiring a
certain set of features (generics, 32 vs 64 bit assemblies, etc).
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com
om: [EMAIL PROTECTED] on behalf of Keith J. Farmer
Sent: Thu 8/4/2005 2:44 PM
To: Discussion of IronPython
Subject: IronPython in ASP.NET
[Python.. ASP.. the combination seems natural to me ;)]
Got this reponse from Scott Guthrie. So I suppose it's a matter of digging
around and seeing exactly
, and can be configured in your
machine.config and web.config files.
Hope this helps,
Scott
-Original Message-
From: Keith J. Farmer [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Thursday, August 04, 2005 12:47 PM
To: Scott Guthrie
Subject: RE: Atlas -- CodeDOM? (vi
Yeah, I think you've got the priority right for my tastes: CPython parity
before CLR producer status.
Somehow, I don't think it'll take much longer for y'all.
From: [EMAIL PROTECTED] on behalf of Martin Maly
Sent: Thu 8/4/2005 12:21 PM
To: Discussion of IronPy
ou should be able to subclass Pages in IronPython, and then
modify the aspx page to inherit from your IronPython class. Of course, we'd
need to have compilation running (is that on the list for 1.0?).
-
Keith J. Farmer
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
at we are at the
start of a line, such that the _expression_ buffer is clear, could we insert a
tab? I know others out there love their space bar, but I’m a tab
guy, myself J
-----
Keith J. Farmer
[EMAIL PROTECTED]
___
users-ironp
/fwlink/?linkid=14202'
C:\Program Files
(x86)\IronPython-0.9\IronPython\Objects\ReflectedPackage.cs line 72 column
25
…..
Tab completion’s cool J
Have you been able to run the tests on XP
x64 yet? I tried TestAll.py and it skipped Pystone, ParrotBench, and Python
Regression.
I'm sure it will ;) I'm starting to think of some winfx projects to apply IP
and MSH to.
I'm assuming the planned release is OsCon -- what can we look forward to?
From: [EMAIL PROTECTED] on behalf of Martin Maly
Sent: Tue 7/26/2005 2:41 PM
very fair question
I recall, way-back-when, that 2-week
release cycles were planned. What are things looking like now?
-
Keith J. Farmer
[EMAIL PROTECTED]
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Maly
Sent: Monday, 25 July 2005 20:50
To: Discussion
of
(We've secretely replaced Keith's AP English training with a demented chimp..
Let's see if anyone notices.)
From: [EMAIL PROTECTED] on behalf of Keith J. Farmer
Sent: Mon 7/25/2005 2:02 PM
To: Discussion of IronPython
Subject: RE: [IronPython]
It's pretty cool. I'm not entirely warmed up to the language part of MSH, but
then it's been a while since I was big on batch files, but it's very powerful.
A buddy and I have been talking the last hour or so about how to extend the
power by allowing multiple named output streams. This could a
I haven't used Ruby, but my experience with Python would say the syntaxes are
very different. In particular, I don't know of syntax in Python that says:
* "Take a stream, apply lambda to each element, and send the output to a
stream."
* "Attach the output of this stream to the input of this o
rights to one of the C# script engines.
Just my observations…
-
Keith J. Farmer
[EMAIL PROTECTED]
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony Tarlano
Sent: Monday, 25 July 2005 04:41
So, the question is, Why have both? If MSH is focused at
Looks like it's using the .NET RegEx library. Here's the reference, in
case there are syntax differences in the RegEx language used:
http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconRegularExpres
sionsLanguageElements.asp
Grouping Constructs:
http://msdn.microsoft.com/library/en-us/cpge
Interesting, but this seems to be purely for decorating method definitions, not
method calls, and I'm not sure how any similar syntax would help.
The only thing I could think of would be to hint the parser, which may be what
you had in mind.
def foo(int)
def foo(string)
def bar[T](T, int)
def
I think my objection to the pipe would be that it's a stretch to type, and has
visual conflict with I, 1, and l, depending on the display font. Perhaps
colon, rather than semicolon? I can still see conflict potential unless Guido
agrees to allow CPython to safely parse some new delimiters for
hon
Subject: Re: [IronPython] Plans for overloads?
On Tue, Jul 19, 2005 at 04:03:56PM -0700, Keith J. Farmer wrote:
> Perhaps ; instead of | ...
CPython couldn't parse that, so you couldn't write modules that worked
on both platforms that
It'd have to be later tonight, if I remember. My 2k5 install's at home and
I've been spending my nights there learning how to use Exchange as a document
source for a website rewrite I'm doing.
Of course, I may take the night off for a personal James Doohan memorial movie
fest, instead.
e int type, and then executing the delegate returned to get a Foo
object to store in x.
(forgive the C# bias in the typeof.. I can't recall the equivalent in
python)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Keith J. Farmer
Sent: Wednesday, July
I didn't see a second set of square brackets. Also, what if what you
have is an indexer, in which case the parameter is supplied also with
square brackets?
Of course it's not very pretty. Do you have a suggestion that addresses
my concern?
-Original Message-
From: [EMAIL PROTECTED]
[mai
Perhaps ; instead of | ...
From: [EMAIL PROTECTED] on behalf of Keith J. Farmer
Sent: Tue 7/19/2005 4:02 PM
Foo[T1, T2 | T1, T3](x1, x3)
Foo[T1, T2, T3]()
Foo[T1, T2 | T3](x3)
Foo[T1 | T2, T3](x2, x3)
Foo[ | T1, T2, T3](x1, x2, x3
How would you specify:
T4 Foo(T1, T3)
T4 Foo()
T4 Foo(T3)
T4 Foo(T2, T3)
T4 Foo(T1, T2, T3)
...? In other words, generic methods with overloads. I'm pretty sure this is
legal, but I don't have 2k5 in front of me to check.
I think you may need to add something to specify this, eg:
Foo[T1,
In C# 2, there is now a root namespace identifier which you can use to
disambiguate. That may not yet be supported in IronPython, but I
imagine it's probably straightforward to add.
from __global__ import *
.. or the like
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
You can -- at least in asp.net 2
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan Jacobs
Sent: Saturday, July 16, 2005 12:19 PM
To: IronPython List
Subject: [IronPython] Python extensions
sure if you can just declare a C# class without a namespac
These are plans for 0.8, right?
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
As I recall, MyXaml has successfully been used with IronPython, and work has
been done on a MyXaml designer, though I don't know how it goes about its
business.
From: [EMAIL PROTECTED] on behalf of Richard Hsu
Sent: Tue 7/12/2005 1:26 PM
To: users-ironpython.com
It's not a "strange tag" .. it's an attribute.
Attributes are classes representing metadata which can be inspected at runtime.
They're very powerful -- see "Applied .NET Attributes" by Bock & Barnaby.
They're used to mark classes as serializable, by the serializer to adjust how
serialization
I see problems with #3, at least using those precise keywords.
A variant of #3, perhaps
reference
from System.Drawing import *
rather than muddying up "import" and "from" would be suitable for non-standard
libraries. "import foo from bar" and "from bar import foo" doesn't really sa
Out of curiosity, would it be possible to get IronPython to make a best-guess
attempt at automatically loading an appropriate assembly, if it discovers that
it doesn't know the namespace?
This could alleviate the problems people have with remembering
sys.LoadAssemblyByName.
__
Good intro to implementation details for dynamic languages under the CLR, from
Joel Pobar's blog:
http://blogs.msdn.com/joelpob/archive/2005/07/01/434728.aspx
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.
I was just running IronPython from the Monad command line, when a friend
suggested an interesting idea.
Given the object nature of Monad, it's a shame that you can't simply
pass an object to an external program. But what if IronPython offered
an alternative to the standard Main function, which co
"1.0 release" ?
From: [EMAIL PROTECTED] on behalf of Martin Maly
Sent: Fri 6/17/2005 5:44 PM
On Thursday, August 4th, 2005, Jim will be giving a talk on IronPython,
see here for details:
http://conferences.oreillynet.com/cs/os2005/view/e_sess/6862
<>__
Python/etc scripting support?)
Feel free to respond directly...
-- Keith J. Farmer, [EMAIL PROTECTED]
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Thoughts on when .NET attributes will appear, and what form they may take?
This would have some bearing on Craig's asmx work, as well as serialization in
general. You could write NUnit tests for IronPython using IronPython -- that
would be slick.
This is all great work. Thanks for letting us
Out of curiosity, how are __doc__ strings being compiled? As a member, or
perhaps as an attribute in the same vein as XML comments in C#?
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/lis
No worries.. vacations are Good Things.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Maly
The list of changes for 0.7.6 is not finalized yet. Jim and I are still
working on the 0.7.6 release which was delayed a bit due to my recent
vacation. We
Is there a list of changes for 0.7.6 yet?
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Last I checked, the betas don't work side-by-side?
From: [EMAIL PROTECTED] on behalf of J. Merrill
Sent: Thu 6/2/2005 8:56 AM
One other point I forgot to make -- MS works terribly hard to make it so that
you can have as many different versions of .NET on your ma
Getting archive corruption errors from WinZip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jon Cosby
Sent: Sunday, May 29, 2005 11:22 AM
To: users-ironpython.com@lists.ironpython.com
Subject: [IronPython] Cmath
If anyone is interested, I have a cmath m
Not by me.. Perhaps Miguel did?
NB: the first item seemed to be a security issue related to saving
snippets.dll. The second item (the import bug) would be the one to verify.
From: [EMAIL PROTECTED] on behalf of Michael Taylor
Sent: Wed 5/25/2005 1:20 PM
Did
Ah.. I was thinking it may have been an analog to leaving pyc files alongside
their source py.
It was fun reflecting through the snippets.
From: [EMAIL PROTECTED] on behalf of Jim Hugunin
Sent: Thu 5/19/2005 12:49 PM
To: Discussion of IronPython
Subject: RE: [I
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
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
Title: RE: [IronPython] Road Map for IronPython
I wouldn’t expect it to be.
But would it be a do-it-in-a month project, or a do-it-in-a-year-with-help
project?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Wednesday, May 11, 2005 7:51
PM
To: 'D
I guess not.. lock protects reference types
From: [EMAIL PROTECTED] on behalf of Keith J. Farmer
Sent: Wed 5/11/2005 3:54 PM
To: Discussion of IronPython
Subject: RE: [IronPython] Array Access Problem
In the case of multi-threaded use, shouldn't valu
In the case of multi-threaded use, shouldn't valuetype modifications be locked
to prevent simultaneous writes? If so, couldn't IronPython encapsulate the
change in a lock block in the background?
From: [EMAIL PROTECTED] on behalf of Jim Hugunin
Sent: Wed 5/11/2
I think part of the question involved time? eg, 1.0 = next 6 months, next
year, ...
Incidentally, does anyone here have an idea of the difficulty involved in
creating a language module for VS? Being able to create a .proj, have
access to intellisense, etc would be good for 3rd-party language
So when do you add the turtle to Avalon? :)
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Ask Gossman -- I just forward the URL.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Travis Watkins
Screenshot?
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.iro
IronPython + Avalon experiment …
http://blogs.msdn.com/johngossman/archive/2005/05/08/415505.aspx
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.c
ava world crashing around everything.)
From: [EMAIL PROTECTED] on behalf of Keith J. Farmer
Sent: Wed 5/4/2005 3:19 PM
I'm not all that worried about short-term -- C# is a very lovely language, and
I'm holding out hopes to see C-omega either released or fol
The proliferation of custom config files has been the bane of my existance,
lately. :) And I just spent another night wrestling around with the
propagation of environment variables.
My boss keeps saying that computers and programming are hard. I don't see that
as an excuse for keeping it tha
I'm not all that worried about short-term -- C# is a very lovely language, and
I'm holding out hopes to see C-omega either released or folded into C#. I've
waited a couple years for generics, and I'll wait a couple years for sql, xml,
and object streams as first-class constructs. I'm perfectly
I’m noticing as I use IronPython that my disk is
getting littered with site.* and snippets.* files. I realize this allows
for different sets of snippets, but could a more centralized cache be used?
IronPython/Cache//
.. or the like
…..
Gave up on trying to use the global en
Have you tried:
from Microsoft.Win32 import *
dir()
...?
From: [EMAIL PROTECTED] on behalf of Kirk Olynyk
Sent: Tue 5/3/2005 3:01 PM
I have tried everything that I can think of to access the Microsoft.Win32
assembly, but I can'
.. So how would I do such configuration for non-command-line programs? Do I
need to always front the executable with a bat file? Such a requirement
presents a big wart for those not living in the command line, and I don't see
any good reason to let it remain. I think this is a point where Pyt
Title: RE: [IronPython] Executing a python source from C#
In fact…
http://blogs.msdn.com/johngossman/archive/2005/04/30/413735.aspx
http://blogs.msdn.com/johngossman/archive/2005/04/30/413743.aspx
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith J
.NET Attributes have a similar calling mechanism in C#:
[FooAttribute(1, 2, A=3, B=4)]
To use the named parameters, I believe FooAttribute must implement A and B as
properties. Since attributes are classes, one can instantiate them, and set
properties at that time.
Not exactly the way I th
and-line console, in
IronPython.
Thanks - Jim
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith J. Farmer
Sent: Friday, April 29, 2005 10:35 AM
To: Discussion of IronPython
Subject: RE: [IronPython] Executing a python source from C#
What hap
What happens if we send in a partial block, as might happen when creating an
embeddable console?
string stmt = "for i in range(6):";
engine.Execute(stmt);
Or is it expected that we ensure that such things don't happen?
<>___
I agree that the env vars and the .pth present a migration path -- and that's a
good thing I don't intend to disagree with.
Freezing of modules: funny you should mention that. I recall a somewhat
undermentioned feature of assemblies being composable from several seperate
files, referred to a
I'd set a user-level environment variable as well, checking that out, but it
seemed a kludge at best. In a multi-user environment it'd be a hassle. For
deployment to multiple machines, it'd be annoying at best.
With respect, I'll maintain my stance of using .config files as the mechanism
sup
Actually, it was Michael who brought it up originally, so maybe ask him? I
just butted in.
But...
There is a reason I'm not overly fond of environment variables -- they tend to
get onerous to manage, and they don't necessarily propagate to user accounts
after the admin sets them, as I disco
Perhaps (to at least keep the .NET way) a .config file instead of an
environment variable?
That file *could* specify one or more startup files, to maintain the Python
mystique.
From: [EMAIL PROTECTED] on behalf of Michael Spencer
Sent: Tue 4/26/2005 3:52 PM
To
Out of curiosity, is there a feel for when 1.0 should be reached (excluding bug
fixes), or some other roadmap?
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.c
Nonetheless, it does present some basis from which to start.
I also suspect, specifically regarding the Starkiller paper, that some
of the problems aren't all that relevent. For example, dynamic method
creation: is that something that is going to be exposed outside of
IronPython? If not, then do
I just came across Starkiller:
http://www.python.org/pycon/dc2004/papers/1/paper.pdf
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
1 - 100 of 125 matches
Mail list logo