Re: [Ironpython-users] pyodbc

2011-06-19 Thread Vernon Cole
ich is what the pyodbc example is used for. Are there any other pyodbc features you were specifically attracted to? (Patches and/or requests are often accepted.) -- Vernon Cole On Sun, Jun 19, 2011 at 12:46 PM, Paul Grenyer wrote: > > Hi All > > I was wanting to use pyodbc with IronPy

Re: [Ironpython-users] IronPython 2.7.1 Beta coming this weekend

2011-06-20 Thread Vernon Cole
a current version of IronPython on my preferred workstation ... and therefore cannot do much IPy testing. (I only use Windows when I must, or when someone pays me to.) -- Vernon Cole (Typed on Ubuntu Linux 11.04) On Mon, Jun 20, 2011 at 9:53 AM, Jeff Hardy wrote: > On Sun, Jun 19, 2011 at 1

Re: [Ironpython-users] FW: IronPython, Daily Digest 6/23/2011

2011-06-27 Thread Vernon Cole
+1 ... I like to see the digest, too. On Mon, Jun 27, 2011 at 8:27 AM, Keith Rome wrote: > I don't mind seeing them. > > Keith Rome > Senior Consultant and Architect > MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS > Wintellect | 770.617.4016 | [email protected] > www.wintellect.com > >

Re: [Ironpython-users] Compiling IronPython for .NET 2.0

2011-07-27 Thread Vernon Cole
I am using this as a renewal of my request/suggestion that we revisit the decision to not supply a .NET 2.0 version of IronPython 2.7. The current shipping version of Ubuntu has the .NET 2.0 compatible version of MONO, and cannot easily be upgraded. It cannot be used to build IronPython, so user

[Ironpython-users] Recommended IDE for IronPython on Linux? (Advise for the poverty stricken)

2011-09-04 Thread Vernon Cole
the same laptop) and Moonlight. Q1) Is there an IDE which runs IronPython on Linux? Q2) If I do have to use Windows, is there an Express (that is free) compiler which will run the new IronPython integration stuff? -- Vernon Cole ___ Ironpython-users

[Ironpython-users] IPy 2.7 on Ubuntu -- YES!

2011-09-06 Thread Vernon Cole
Good news: I loaded Ubuntu 11.10 Beta 1 yesterday and was pleased to see that the upgrade to mono 2.10 was indeed present. I downloaded the zipped executable version of 2.7.1 Beta and it ran -- not perfectly, and I'll be filing some bug reports -- but it did in fact execute. I read today that Ubu

Re: [Ironpython-users] Ccalling c# from python script

2011-10-07 Thread Vernon Cole
Justin: May I humbly suggest that rather than calling a very nasty Visual Basic routine, you could do the entire thing in Python more simply. The following example uses an SQL query to obtain the same information as the VB you supplied (if I understood the VB correctly.) I think you'll find the P

Re: [Ironpython-users] Ccalling c# from python script

2011-10-07 Thread Vernon Cole
I spotted the error just after I hit "Send" ... line 4 should have escaped the backslashes in the Windows-format filename string, like: dbFile = r"C:\MyPath\MyGDB.mdb" or alternatively, use forward slashes dbFile = "C:/MyPath/MyGDB.mdb" -- Vernon On Fri, O

[Ironpython-users] How can I detect whether I am running ipy.exe or ipy64.exe?

2012-02-13 Thread Vernon Cole
I am testing adodbapi with IPy 2.7.2a2 -- using my new laptop which I have set up as an everything in 64-bit test bed. My default test database is an .mdb (so-called ACCESS database) file. Microsoft has decided that the JET engine, which has historically been used to read and write that format is

[Ironpython-users] should 64 bit sys.maxsize be fixed?

2012-02-15 Thread Vernon Cole
Should this be fixed in a future version? C:\Users\vernon>c:\python32\python.exe Python 3.2.2 (default, Sep 4 2011, 09:07:29) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.maxsize 9223372036854775807 >>> exit()

Re: [Ironpython-users] should 64 bit sys.maxsize be fixed?

2012-02-15 Thread Vernon Cole
It's actually correct. Arrays in .NET 64-bit are still limited to > 2147483647 elements[1], so the value is accurate. > > - Jeff > > [1] > http://stackoverflow.com/questions/2338778/what-is-the-maximum-length-of-an-array-in-net-on-64-bit-windows > > On Wed, Feb 15, 2012

[Ironpython-users] How can I detect whether I am running a 64.bit version of Windows?

2012-02-18 Thread Vernon Cole
[email protected] [mailto: > [email protected]] *On Behalf Of *Vernon > Cole > *Sent:* Monday, February 13, 2012 1:38 PM > *To:* [email protected] > *Subject:* [Ironpython-users] How can I detect whether I am ru

Re: [Ironpython-users] Implicit conversion of objects to float

2012-02-27 Thread Vernon Cole
08. Somebody by him a beer!] I would agree that implicit conversions should also be included in the fix. Any data which is "decimalish" should be handled as a decimal to avoid the necessity for the programmer to specify back-and-forth conversions. -- Vernon Cole _

Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-01 Thread Vernon Cole
Err, ummm, ... Are you perhaps trying to reinvent Resolver 1 -- a spreadsheet written in Python? Maybe I misunderstand what you are trying to do, but you may want to look at it, unless you cannot use a commercial product. On Mar 1, 2012 7:58 PM, "Curt Hagenlocher" wrote: > I would argue that this

Re: [Ironpython-users] DataSet --> SQLite

2012-03-14 Thread Vernon Cole
I would suggest opening both databases in their native form, then do the comparison using Python code rather than a complex SQL query. It may take a while to run, but should work okay. SQLite select statements are quite fast. Trying to do the whole thing in one swallow may be too much. Better to do

Re: [Ironpython-users] Mono and Ironpython

2012-04-25 Thread Vernon Cole
Ummm... reality check... Patrik: I have been lurking on the django developers list (along with IronPython) for several years hoping for exactly the combination you are suggesting. I am unaware that anyone has tackled the project of making django run on IronPython yet, on either Windows or mono.

Re: [Ironpython-users] IronPython 2.7.3 Alpha 1 Available

2012-04-29 Thread Vernon Cole
Jeff, we have a problem! When I try the download link, I get: " Project Access Violation I'm sorry, but you tried to access a page or operation that is not permitted with your current credentials. For example, you need to be a member of a project to edit its work items. " I am only an editor, not

[Ironpython-users] Codeplex says "No Documentation"

2012-04-29 Thread Vernon Cole
sensus of replies to this message. -- Vernon Cole ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

[Ironpython-users] Work started on django-mssql for django 1.4

2012-05-17 Thread Vernon Cole
ne may want to work with him on the project, so that any IPy edits do not get lost. -- Vernon Cole ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] Poor performance of a c# - Ironpython application

2012-05-23 Thread Vernon Cole
Carles: Are these lags happening _when_ the .NET image is first started (from the command shell) or _after_ it starts, during operation. All .NET programs, written in any language, seem to take forever to get started initially. A lot of work has been done on IronPython to try to mitigate startup a

[Ironpython-users] django on IronPython -- one more step

2012-05-26 Thread Vernon Cole
When discussing running django on IronPython a while back, a suggestion was made to use the Python3 branch of django, which IMHO is a great. This announcement came in this morning on the django developers list: Python 3 port - now available on GitHub

Re: [Ironpython-users] Considering IronPython for a new project

2012-06-18 Thread Vernon Cole
Avi: Here's a little statistic which make help... I maintain a project called adodbapi -- a PEP 249 database api module. It is already included in the pywin32 package for CPython users, so the only folks who would normally need to download it from its own project site are IronPython users. Last

[Ironpython-users] Fwd: [python-win32] Python implementations on Windows 8rt

2012-06-19 Thread Vernon Cole
Can anyone here on the IronPython group answer this? -- Forwarded message -- From: "Marcell Vazquez-Chanlatte" Date: Jun 19, 2012 12:25 PM Subject: [python-win32] Python implementations on Windows 8rt To: Hey, Does anyone here know about python implementations for windows on Arm.

Re: [Ironpython-users] WP7 & Silverlight Support in IronPython

2012-07-06 Thread Vernon Cole
I am really sorry to hear about this happening. The combination of IronPython and Silver(Moon)light was going to be (I thought) my ticket to writing Python code rather than Javascript for browser based code. So: My question for the group -- is Jython a viable alternative? Do we think that SL5 wil

Re: [Ironpython-users] How to use __ getattr__ to the current module?

2012-09-17 Thread Vernon Cole
#more-on-defining-functions __getattr__ is only used within classes to emulate methods which do not actually exist. That does not appear to be what you are wanting. -- Vernon Cole On Mon, Sep 17, 2012 at 4:42 AM, wrote: > Hello. > For example in the text of the module meets the command: &

Re: [Ironpython-users] How to use __ getattr__ to the current module?

2012-09-17 Thread Vernon Cole
On Mon, Sep 17, 2012 at 11:17 AM, wrote: > Hello, Vernon Cole. > Or you probably do not understand the question, or I did not properly > posed the question. > I know I can define a function (ttt). And if I'm interested in __ > getattr__, so in this case it can not be determi

Re: [Ironpython-users] How to use __ getattr__ to the current module?

2012-09-17 Thread Vernon Cole
tattr-on-a-module. > > - Jeff > > On Mon, Sep 17, 2012 at 10:17 AM, wrote: > > Hello, Vernon Cole. > > Or you probably do not understand the question, or I did not properly > > posed the question. > > I know I can define a function (ttt). And if I'm interested in

Re: [Ironpython-users] How to use __ getattr__ to the current module?

2012-09-18 Thread Vernon Cole
On Mon, Sep 17, 2012 at 11:11 PM, wrote: > Hello, Jeff Hardy ). > 1) > It is a good reference. But the methods must be defined in advance (class > A). If I write ttt ('i') without defining it in the class A, I get an > error. Use __getattr__ in class A does not work. > > class A(object): > de

Re: [Ironpython-users] Differences with pyc-compiled assemblies?

2012-11-11 Thread Vernon Cole
On Sun, Nov 11, 2012 at 6:43 PM, Nicholas Devenish wrote: > > On 11 Nov 2012, at 23:06, Jeff Hardy wrote: > > SQLAlchemy works on IronPython? I didn't know that. Very cool. Is > > there anything that has to be done or does it just work out of the > > box? > > It's supposed to work out of the box

Re: [Ironpython-users] ctypes on IronPython - differences with CPython

2012-11-29 Thread Vernon Cole
One argument you can make for merging your changes back into trunk is that they will have to fix the unicode issues for Python 3 anyway, so you have already done that part of the work for them. On Thu, Nov 29, 2012 at 5:46 PM, Michael van der Kolff < [email protected]> wrote: > Yep, that wo

Re: [Ironpython-users] problem incorporating namespace into Xaml

2014-07-25 Thread Vernon Cole
A more appropriate short form for IronPython would be: "IPy". -- Vernon Cole On 25/07/14 00:54, Slide wrote: Just so you are aware FePy was the name of a side project that was a set of enhancements to IronPython. If you are looking for a shorter form of IronPython, IP is generally the