Since I'm in the country for the next couple of months, I'll come along.
On Fri, Jun 10, 2011 at 11:36, Brian Curtin wrote:
> On Fri, Jun 10, 2011 at 12:42, Jeff Hardy wrote:
>>
>> Hi all,
>> Is anyone in the Seattle area interested in an IronPython meetup, or
>> even a sprint? Anybody fancy a h
You should be able to use ctypes for this. For example, the following
works fine from CPython (I don't have IronPython handy on this
computer):
from ctypes import windll
windll.kernel32.CreateSymbolicLinkA("c:\\py.exe", "c:\\python27\\python.exe", 0)
The only difference may be calling CreateSymbo
The Productivity Power Tools extension
(http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/)
may be the better place for this sort of feature (it already includes
line highlighting), though I don't know whether it supports the shell
versions (IIRC, it's >=Professiona
Whichever version added support for .NET/C# 4.0 (the dmcs compiler was
in 2.6 but I think 2.8 was the first it'll work with). I've used
IronPython with no problems under 2.10 (both on OpenSUSE and Ubuntu
(built from source)).
Good luck. It'd be handy for Ubuntu to catch up here.
On Sun, Mar 20, 2
mmands for the
> individual assemblies
> if you don't want to disable strong name verification for everything w/ that
> key. That's the
> same key that all of the Visual Studio assemblies are signed with.
>
> If you'd like you can open bugs on pytools.codeplex.com
It's easiest if someone "donates" a personal certificate, which then
puts their name on the releases (as is done with TortoiseSVN and
TortoiseHG, for example). However, without a sponsor organisation it's
very hard to get hold of a "trustworthy" certificate (which a personal
one is generally not).
The tools problem seems to be to do with the installer. IPyTools
(PythonRuntimeHost.cs:89-100) tries to load the installed path from
HKLM\SOFTWARE\IronPython\2.7\(default). On my machine (Win7 x64, IPy
2.7 RC1 installed without IPyTools, which were built from source) this
is actually in HKLM\SOFTWA
Ubuntu doesn't have the latest version of Mono, which is required for
the .NET 4.0 equivalent compiler (dmcs). You would have to build Mono
from sources to get it. Alternatively, most other distributions seem
to use the latest version (in particular, OpenSUSE and RHEL are
actively supported by Mono
Just sharing something I discovered today that surprised me a little.
I use ScriptScopes extensively throughout my hosted code to try and
prevent interaction between separate scripts. In most cases, since I'm
dealing with user-provided keys, I don't cast them to dynamic but
access their contents t
There are two options here. You can either pass the function directly:
def do_something(self, myFunction):
myVar = someFunction(myFunction)
obj.do_something(obj.function)
Or you can pass the name as a string and use getattr:
def do_something(self, myFunction):
myVar
Hi everyone
I finally decided that it's time to share my work (towards a PhD in
intelligent systems) with the public, and since IronPython features
heavily I figured it was worth posting a short note to the list.
My main project is a Python framework called esec
(http://code.google.com/p/esec/) f
Going by the Windows documentation, I would expect REG_EXPAND_SZ to
_optionally_ expand when retrieving the value, but never expand when
setting it.
The main set of Windows functions don't expand the value - the type is
only an indicator that it may contain environment variables. That
said, the on
If you're using C# 4.0 (comes with VS 2010/.NET 4) you can use the
dynamic type to simplify this further:
dynamic scope = engine.CreateScope();
scope.hash = new Dictionary();
scope.hash["key"] = "value";
On Thu, Jan 6, 2011 at 07:11, Ron Lindsey wrote:
> Pascal,
>
> Well, I feel silly now. I was
Are IronPython and the DLR so closely coupled that you *need* the
source for both to work on it? Or can you simply develop/test
IronPython using the DLR in the GAC?
I'd rather have the standard library as a 'default' part of the
IronPython checkout than the DLR, primarily because a binary distro o
I'll add in a vote for Mercurial (voting always seems to be how to
decide on VCS), though I still believe that SVN works better for a
contribution/review/patch workflow.
Is the plan after 2.7 to start doing 3? That seems like a good
opportunity to "start fresh" in a new repository and leave the ol
Since we're all contributing here:
d = { key: (v1, v2) for key, v1, v2 in zip(seq[::3], seq[1::3], seq[2::3]) }
Or
d = dict((key, (v1, v2)) for key, v1, v2 in zip(seq[::3], seq[1::3], seq[2::3])
using Python 2.6. The first uses a dictionary comprehension, which is
new in 2.7/3 (but not IronPyth
contributions to the tools (and other parts of the project), but
as you'd suspect, there's lots of process for us to get to that point
:-)."
I guess that basically covers it for now.
On Tue, Jul 20, 2010 at 07:24, Steve Dower wrote:
> I'll throw in a quick second. I&
I'll throw in a quick second. I'm also interested in contributing
if/when possible.
Steve
On Tue, Jul 20, 2010 at 03:14, Jeff Hardy wrote:
> Hi all,
> This horse doesn't seem to have been beaten recently, so I thought I'd
> bring it up again :). What's the status, if any, on allowing people
> ou
gt; -Original Message-
> From: users-boun...@lists.ironpython.com
> [mailto:users-boun...@lists.ironpython.com] On Behalf Of Steve Dower
> Sent: Thursday, July 15, 2010 3:09 PM
> To: Discussion of IronPython
> Subject: [IronPython] IronPy Tools CTP3 - Bugs
>
> Hey
>
Hey
Thanks for the new version, it's much more stable and pleasant to use.
I've thrown together another list of bug/annoyance/enhancement ideas -
feel free to take or leave as appropriate.
- Closing parentheses doesn't hide parameter information when using a generator
For example, "sum(i for i in
I noticed this as well when one of the recent commits came through,
figured it was going to be dealt with in good time.
While the plan is to remove support for .NET 2.0 (which required some
extra classes) and make .NET 4.0 will be the official target, the
project files in IronPython_Main still hav
Sounds great. My next couple of weeks are put aside for documentation
purposes anyway, so there's not much coding on the cards anyway.
Cheers,
Steve
On Sat, Jun 5, 2010 at 04:46, Dino Viehland wrote:
> Steve wrote:
>> Just wondering what the outlook is for an update to IronPy Tools for
>> VS? N
Hi,
Just wondering what the outlook is for an update to IronPy Tools for
VS? Normally I don't bug developers about this, but my motivation for
asking this time is that I've actually stopped using it.
I've been working on a Word document that's in my project root folder
(-1 for putting binary file
Is it possible to have the directory based projects 'implied' when a
single file is opened (TextMate http://macromates.com/ style)? Because
I agree with Jeff here that loading existing projects is dead simple
when you can just add a pyproj. Though the '...from existing code'
option would be plenty
Just thought I'd put out some more thoughts on the automatic project
hierarchy that IronPy Tools has (for now?) in the Solution Explorer.
(I'll put out there right away that I would rather see it removed and
have the traditional project management instead. Everything else I
write should be read in
I don't believe I did anything to cause these exceptions (taken from
the /log file), but apparently it happened from a mouse-over event. I
couldn't figure out what I moused over, but I have included the two
exception messages. The second appears in the log 0.062 seconds after
the first one (only on
Another set, this time with some slightly more helpful repro steps (I hope).
An exception is added to the devenv log file when triggering a
completion on an 3rd-level import (ie. import
moduleA.moduleB. or from moduleA.moduleB import
):
System.NullReferenceException: Object reference not set to a
On Thu, May 6, 2010 at 08:56, Dino Viehland wrote:
> >
> > Completions should not start within strings (single-line strings
> > aren't recognised as strings until the closing quote is added).
>
> Can you give an example of exactly what you type to make this happen? I
> can't currently repro it.
>
I've been collating some little things into a single email rather than
spamming the list. These are roughly organised in order of annoyance,
and none are show-stoppers by any measure.
When completion auto-commits (Ctrl+Space --> word is completed, no
dropdown) Enter cannot be pressed until anothe
for funcb only includes the def and the pass (as expected).
Interestingly, two unbound functions (remove class, unindent) have the
correct regions
class A:
def funca(self):
if True:
pass
def funcb(self):
pass
On Tue, May 4, 2010 at 05:58, Dino Viehland wrote
> We have a plan to add the ability to hide individual files. Maybe we
> need to have a set of wildcards which get excluded? We could even
> have them both as project-level options as well as a VS-level option.
Automatically including all (relevant) files seems redundant unless
the files are bei
So, love having IronPy Tools (download from www.ironpython.net/tools/
for those who missed it) and very keen to help make it the best Python
IDE out there (and frankly, it's almost there already IMHO).
My first issue is with the project setup. While I really like it
automatically pulling in all my
32 matches
Mail list logo