Re: [IronPython] Dispatcher Problem

2011-06-07 Thread Vernon Cole
I have not tested this on a GUI screen, but... You should be able to assign any class with a .write() method to sys.stdout (and/or sys.stderr) so that normal print statements/functions and tracebacks will be sent to that method. I use the trick frequently to get a simple logging facility by

Re: [IronPython] need help to build Ironpython

2011-04-21 Thread Vernon Cole
https://github.com/IronLanguages/main has the current source. Use the Python 2.7 branch. Vernon Cole (sent from my 'droid phone) On Apr 21, 2011 10:30 PM, surangika ranathunga lady_ra...@yahoo.com wrote: Hi All, I have downloaded Ironpython source code using subversion, from the url https

[IronPython] Fwd: IronPython and Mono are very old. How can we get an update?

2011-04-07 Thread Vernon Cole
Subject: Re: IronPython and Mono are very old. How can we get an update? To: Vernon Cole vernondc...@gmail.com Cc: ubuntu-devel-disc...@lists.ubuntu.com On Fri, Apr 8, 2011 at 2:31 AM, Vernon Cole vernondc...@gmail.com wrote: On Thu, Apr 7, 2011 at 6:26 AM, chalserog...@gmail.com chalserog

Re: [IronPython] IronPython and XML Parsing

2011-04-06 Thread Vernon Cole
project - Mike Foord and Jeff too, I would suppose.) It is possible to get sourceforge to add new administrators to a project like this when the administrator of record drops out of site. That is how I ended up with adodbapi. Should I / we / one-of-us apply to take over the project? -- Vernon Cole

Re: [IronPython] IronPython and XML Parsing

2011-04-06 Thread Vernon Cole
, 2011 at 11:07 AM, Vernon Cole vernondc...@gmail.com wrote: I have sent several emails to Seo asking him about the status of fepy, and received no response.  I think this would be a great place to build a fatter distribution of IronPython, with more modules attached, and a set of Linux binaries

Re: [IronPython] IronPython and XML Parsing

2011-04-06 Thread Vernon Cole
I sent a message to the Ubuntu group to see what they need in order to get an IPy 2.7 official release package into the distro support. I think that is the first step -- to make it accessible for normal users. Then we need the nightly stuff for developers, to get expat, etc, working. Depending

Re: [IronPython] Creating Symbolic Links via IronPython

2011-04-01 Thread Vernon Cole
Just to make sure we are all on the same page here, the original post said: I've been trying to find a solution for creating Symbolic Links via IronPython scripting, [...snip...] [Interop.DllImport(kernel32.dll, EntryPoint=CreateSymbolicLinkW, CharSet=Interop.CharSet.Unicode)] public static

Re: [IronPython] Newbie InterOp-related question

2011-03-30 Thread Vernon Cole
x = my_goofy_routine() print repr Vernon Cole (sent from my 'droid phone) On Mar 30, 2011 1:27 PM, Tilley, Paul paul.til...@honeywell.com wrote: Thanks Markus, I'll use the info to try to figure out how things will work in my actual real world example. That involves the return of 4 or 5

Re: [IronPython] Newbie InterOp-related question

2011-03-30 Thread Vernon Cole
Indeed. The joys of an on-screen keyboard... Vernon Cole (sent from my 'droid phone) On Mar 30, 2011 6:45 PM, Daniel Jennings dani...@arena.net wrote: I think you mean print repr(x) :) From: users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] On Behalf Of Vernon

Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

2011-03-23 Thread Vernon Cole
Just learning ... perhaps I missed a step with git or something? ... but trying to follow along on this. I am trying to build an IronPython 2.7 which will run on Ubuntu using the stock 2.6.7 mono -- so .NET 2 compatible. I just built and am running a copy of openSUSE 11.4, so in theory I have a

Re: [IronPython] Building IronPython/IronRuby for Mono?

2011-03-22 Thread Vernon Cole
you will break your Ubuntu system. I just did that. Will get back to you as soon asI get to a real computer. Vernon Cole (sent from my 'droid phone) On Mar 22, 2011 6:42 AM, Doug Blank doug.bl...@gmail.com wrote: I went to Codeplex to see about updating Pyjama [1] to use the latest IronPython

Re: [IronPython] Building IronPython/IronRuby for Mono?

2011-03-22 Thread Vernon Cole
there: 2:27 AM. ✆ to Vernon Cole vernondc...@gmail.com cc ubuntu-devel-disc...@lists.ubuntu.com subject Re: IronPython and Mono are very old. How can we get an update? [...snip...] Hm. I should have linked http://apebox.org/wordpress/linux/370/ which is a description of how to do

Re: [IronPython] Building IronPython/IronRuby for Mono?

2011-03-22 Thread Vernon Cole
On Tue, Mar 22, 2011 at 11:03 AM, Doug Blank doug.bl...@gmail.com wrote: I need a solution for general installs. Perhaps a stand-alone Mono 2.10 install will work, if I can't build IronPython 2.7 on Mono 2.10, and then run with Mono 2.6.7... I think that the

[IronPython] What version of mono is required for IronPython 2.7?

2011-03-19 Thread Vernon Cole
I am in the process of lobbying the Ubuntu team to include a current release of IronPython. (At present, they package 2.6B2!) Ubuntu ships mono 2.6.7-3, and is likely to remain on that release, since it is LTC supported. Getting them to update to 2.10 may be a major undertaking. What version of

Re: [IronPython] Authenticode Signing of Releases

2011-03-18 Thread Vernon Cole
Resurrecting an old topic... I just noticed when I loaded a new machine with CPython 2.7, that it is signed by the Python Software Foundation. Do you not suppose that, if asked, they would also be willing to sign other implementations? -- Vernon P.S.: I loaded IronPython 2.7 first! On

Re: [IronPython] IronPython 2.7.1 3.x Development

2011-03-15 Thread Vernon Cole
script. That is a bit frightening. What about the idea of a semi-standard python dispatch program which lives on the search path, introspects the script, and calls the appropriate engine? Perhaps it could even manage to capture tracebacks sent to stderr when a script dies? -- Vernon Cole (sent from

Re: [IronPython] IronPython 2.7.1 3.x Development

2011-03-15 Thread Vernon Cole
to the generated command line. Tue, Mar 15, 2011 at 8:28 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 15/03/2011 07:18, Vernon Cole wrote: #!/usr/bin/ipy3 A shebang on the first line is the usual way of specifying which scripting engine to use on a posix system. If introspection were

Re: [IronPython] IronPython 2.7.1 3.x Development

2011-03-14 Thread Vernon Cole
Sounds like a good plan, Jeff. I got a quick hint the other day that IronPython 3.2 might not be as hard as we think... I was running a test of adodbapi -- IPy 2.7 RC2 ran it fine, but CPython 2.7 had errors. I was starting to debug the CPython when I discovered that I was running the Python _3_

Re: [IronPython] numpy / IronClad?

2011-03-02 Thread Vernon Cole
Also, 3.2 defines a new import strategy which will be important (and I think.helpful) to use. Vernon Cole (sent from my 'droid phone) On Mar 1, 2011 8:48 PM, Seo Sanghyeon sanx...@gmail.com wrote: 2011/3/2 Jeff Hardy jdha...@gmail.com: The CPython devs have talked about committing to a stable

Re: [IronPython] Authenticode Signing of Releases

2011-02-23 Thread Vernon Cole
There is CAcert.org, who will issue a certificate which by fiddling IIRC can be made into a code signing certificate. But while CAcert.org is a * recognized* certificate authority, they are not a *trusted* authority (particularly, they are not trusted by Microsoft) so it's a lot of work to not

[IronPython] How do you detect operating systems from within IronPython?

2011-02-21 Thread Vernon Cole
that mono emulates Windows to a high degree, which thing I doubt. The best guess I can make as to more correct code would be: if os.platform[:3] == 'win' or (os.platform[:3] == 'cli' and os.linesep == '\r\n') Yeeach! How should I really be doing it? -- Vernon Cole

Re: [IronPython] How do you detect operating systems from within IronPython?

2011-02-21 Thread Vernon Cole
tell me whether I need to use 'sudo' in Ubuntu? -- Vernon On Mon, Feb 21, 2011 at 11:19 AM, Jeff Hardy jdha...@gmail.com wrote: On Mon, Feb 21, 2011 at 11:05 AM, Vernon Cole vernondc...@gmail.com wrote: How should I really be doing it? os.name usually has the actual underlying OS

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Vernon Cole
I agree with all of you. I was trying to get something that works in the default case (no switches, IronPython on Windows). I am not really equipped to test the other options. I'ld like to, but I'm not going to run out and buy a Mac just to test on. (If only I could.) If it only works in the

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-21 Thread Vernon Cole
...?) On Tue, Feb 22, 2011 at 08:41, Vernon Cole vernondc...@gmail.com wrote: I agree with all of you. I was trying to get something that works in the default case (no switches, IronPython on Windows). I am not really equipped to test the other options. I'ld like to, but I'm not going

[IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-20 Thread Vernon Cole
I've lost my link, and cannot muddle my way to meaningful results on either Codeplex, Wikepedia or Github. Github actually refers me back to Codeplex, where the most recent release is October of last year. What is the URL to the real, true, current official source for IronPython? -- Vernon Cole

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-20 Thread Vernon Cole
wrote: Github is the master source. And yes, the various websites need straightening out. - Jeff On Sun, Feb 20, 2011 at 9:42 AM, Vernon Cole vernondc...@gmail.com wrote: I've lost my link, and cannot muddle my way to meaningful results on either Codeplex, Wikepedia or Github. Github

Re: [IronPython] Arright dangit! Where is the OFFICIAL IronPython source code?

2011-02-20 Thread Vernon Cole
Thanks! That worked great. Now here's my first direct contribution. see http://ironpython.codeplex.com/workitem/30218 for a version of webbrowser.py which actually works on cli. (and therefore import antigravity also works.) -- Vernon On Sun, Feb 20, 2011 at 3:22 PM, Dino Viehland

[IronPython] Fwd: Status updated to Closed for Issue: distutils install command will not install a simple module. [IronPython: 28530]

2011-02-19 Thread Vernon Cole
Jeff: You are right to close this bug -- I made a bad report based on an incorrect assumption. But I would not have been led astray if the error message had not been so obscure. It should SAY just exactly what you said: elevation is required. IMHO the distutils error reporting should be

[IronPython] announcing adodbapi version 2.4.2 now with PostgreSQL support.

2011-02-15 Thread Vernon Cole
user-definable system-to-Python data convertion functions (selected by ADO data type, or by column) * Money and Decimal column data is in decimal.Decimal format (unless you select another) -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http

Re: [IronPython] Red Flag(?) change in import

2011-02-10 Thread Vernon Cole
. Is not adodbapi still part of the test suite? The failure should have shown up there. -- Vernon Cole On Thu, Feb 10, 2011 at 3:42 AM, Federico Vaggi va...@cosbi.eu wrote: I ran into a relatively similar problem with importing networkx into IronPython, but was able to fix it by editing out a few

[IronPython] Additional modules to ship with IronPython 2.7.1?

2011-02-09 Thread Vernon Cole
be considered for inclusion? -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] Red Flag(?) change in import

2011-02-09 Thread Vernon Cole
I can't see an item like this on the bug list. Perhaps the sky is falling, perhaps, not. I am reporting the problem here in case it is. It seems like something the big guns should be made aware of right away. The behavior seems to have changed since IPy 2.6, and if someone has indeed been working

Re: [IronPython] Adding Unit Tests

2011-01-11 Thread Vernon Cole
An interesting thought... MY Linux box has a cmd.exe -- it's part of WINE. But cmd.exe is a very simple shell. How hard would it be to write one in Python? IPython (different from IronPython) IS a shell, if I understand correctly. -- Vernon On Mon, Jan 10, 2011 at 8:11 PM, Dino Viehland

Re: [IronPython] bytes and str in 2.7 io module

2010-11-08 Thread Vernon Cole
Jeff: Make sure to check the Python 3 bindings as well. We don't want to loose ground going in that direction, since IPy already has Python 3's best feature -- all strings are Unicode. Maybe the equivalent of if sys.version[0] = '3': should be buried in the helper so that that wheel will not

Re: [IronPython] Announcing IronPython 2.7 Beta 1

2010-10-22 Thread Vernon Cole
Your issue #2 is not a bug -- or at least it is the same as all other installers. Every version of Python which you install will take over as the default Open command for .py files -- and will supply it's own icon for them. When you are trying out a new Python version, you must remember to

Re: [IronPython] The Future of IronPython

2010-10-22 Thread Vernon Cole
Jeff: Can your version of zlib be slipped in to v2.7 before final now? (please please pretty please) I would really like distutils, etc to actually work. -- Vernon Cole On Thu, Oct 21, 2010 at 5:09 PM, Jeff Hardy jdha...@gmail.com wrote: As Dino recently posted, this is the last release

Re: [IronPython] Iteration via __getitem__ doesn't work in the Visual Studio debugging environment

2010-09-10 Thread Vernon Cole
IMHO, StopIteration should never trigger a debugger. It is an expected operation which will happen in many (most?) loops. As an Exception, it should be an exception -- not handled by the same code in the debugger. -- Vernon On Fri, Sep 10, 2010 at 12:04 AM, Tony Meyer tony.me...@gmail.com

Re: [IronPython] Unpacking

2010-09-08 Thread Vernon Cole
If you bring up Python in interactive mode, and type import this, some sage advice will appear: v v v v v C:\Users\vernonipy C:\Users\vernonc:\program files\IronPython 2.7\ipy.exe IronPython 2.7 Alpha 1 (2.7.0.1) on .NET 4.0.30319.1 import this Explicit is better than implicit. Simple is better

Re: [IronPython] Accessing Serial Port from IronPython driven Webpage

2010-08-25 Thread Vernon Cole
Kurt: Have you tried http://pyserial.sourceforge.net/ ? It is documented to run on IronPython, either dotNet or MONO. I have a setup similar to what you describe, but using x.10 hardware which is controlled using a module called x10.py, which in turn calls serial.py. It controls the air

Re: [IronPython] Accessing Serial Port from IronPython driven Webpage

2010-08-25 Thread Vernon Cole
What x.10 misses in reliability, it makes up for by being inexpensive. I have had the x.10 devices miss a command, sometimes, probably less than 1%. It's not a problem with brighten or dim commands, the temperature feedback will just repeat the command next loop if neeed. To turn things on or off,

Re: [IronPython] If not IronPython, what?

2010-08-22 Thread Vernon Cole
in Redmond, Washington, USA. If nothing else, the competition pushes Microsoft to continue to improve the quality of their products. IronPython is the greatest thing which has happened in Redmond since NT was shipped. -- Vernon Cole * this e-mail is being written on an Ubuntu Linux box which is also

Re: [IronPython] Fwd: [DB-SIG] How can I reliably detect whether an SQL statement is a Query?

2010-08-11 Thread Vernon Cole
On Tue, Aug 10, 2010 at 12:41 PM, Vernon Cole vernondc...@gmail.comwrote: I am afraid Lukas is very correct. (Thanks, you really saved me a lot of debugging time.) This will be an anti-announcement. I got a version (2.4.1A1) of adodbapi working (sort of) on ADO.NET and splatted up against

Re: [IronPython] IronPython / DLR Direction

2010-08-07 Thread Vernon Cole
I just received my official certification as a CIW JavaScript specialist. I have decided how to use the knowledge I gained in the class -- which is to know that I should avoid having to use JavaScript at all whenever possible. I made a similar decision in 1973 after taking a class on IBM mainframe

[IronPython] Fwd: [DB-SIG] How can I reliably detect whether an SQL statement is a Query?

2010-08-02 Thread Vernon Cole
farcep...@gmail.com Date: Mon, Aug 2, 2010 at 7:55 AM Subject: Re: [DB-SIG] How can I reliably detect whether an SQL statement is a Query? To: Vernon Cole vernondc...@gmail.com Cc: DB-SIG @ Python.org db-...@python.org On Mon, Aug 2, 2010 at 5:57 AM, Vernon Cole vernondc...@gmail.com wrote: Dear

[IronPython] Announcing adodbapi version 2.4.0 -- with COLUMN NAME data access

2010-07-31 Thread Vernon Cole
Announcing a new version of adodbapi... [ for those who may not know... [ adodbapi is a pure Python package which fully implements the PEP-249 db-api [ using Microsoft ADO/db. [ It runs on CPython versions 2.3 and later, IronPython 2.6 and later, [ or Python 3.0 and later. I have often been

Re: [IronPython] Announcing adodbapi version 2.4.0 -- with COLUMN NAMEdata access

2010-07-31 Thread Vernon Cole
apps to databases. Thanks. Ishe We all have the right to be wrong in our opinions but not in our facts. - Original Message - *From:* Vernon Cole vernondc...@gmail.com *To:* Discussion of IronPython users@lists.ironpython.com *Sent:* Saturday, July 31, 2010 9:42 AM *Subject

Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Vernon Cole
On 25/07/2010 01:56, Vernon Cole wrote: Dear development team: This one may be important... This error is because although the unittest package directory is present in the Lib directory, big chunks of the actual unittest package are missing... Michael c:\program files\IronPython 2.7

[IronPython] unittest broken in IPy 2.7A1

2010-07-24 Thread Vernon Cole
Dear development team: This one may be important... c:\program files\IronPython 2.7\ipy.exe IronPython 2.7 Alpha 1 (2.7.0.1) on .NET 4.0.30319.1 Type help, copyright, credits or license for more information. import unittest Traceback (most recent call last): File stdin, line 1, in module

Re: [IronPython] MySQL and Iron Python

2010-07-22 Thread Vernon Cole
at 10:47 PM, Vernon Cole vernondc...@gmail.com wrote: Field name access is the next development step. The API calls for position (field number) access. Field name access is an extension. I personally think that it is the obvious thing to do, but the movers and shakers of the database API

Re: [IronPython] MySQL and Iron Python

2010-07-20 Thread Vernon Cole
I use MySQL as one of the basic tests for adodbapi, so I can say that it works pretty well for me. What obstacle do you hit? -- Vernon Cole On Tue, Jul 20, 2010 at 11:52 AM, Ian Hobson i...@ianhobson.co.uk wrote: Hi all, How can I (a nube) read a MySQL database using Iron Python? (windows 7

Re: [IronPython] MySQL and Iron Python

2010-07-20 Thread Vernon Cole
Cole wrote: I use MySQL as one of the basic tests for adodbapi, so I can say that it works pretty well for me. What obstacle do you hit? -- Vernon Cole On Tue, Jul 20, 2010 at 11:52 AM, Ian Hobson i...@ianhobson.co.uk wrote: Hi all, How can I (a nube) read a MySQL database using Iron

Re: [IronPython] MySQL and Iron Python

2010-07-20 Thread Vernon Cole
! Now to find out if I can access it by field name and not just position. Thanks again Ian On 20/07/2010 19:32, Vernon Cole wrote: You need to supply a Driver for each dialect of SQL you use. The Microsoft drivers (SQL server and JET) ship with Windows, but you have to hunt for the others

Re: [IronPython] Compiling so that IronPython libraries are recognized?

2010-07-09 Thread Vernon Cole
to do the install the hard way. (Another to-do list item.) You will either need to find an ADO provider for Postgres, or use an ODBC driver and a different connection string. (I use an ODBC connection for the MySQL sample in the \test folder.) Let me know how it works for you. -- Vernon Cole On Fri

Re: [IronPython] Writing to a file with unicode name

2010-07-09 Thread Vernon Cole
Adballa: One problem you may be having is with Python trying to escape the backslashes in your Windows file name. I tried a very simple test using the Python open statement rather than any fancy .NET things. It created a file with a japenese name on my Windows Vista laptop. Note that I used

Re: [IronPython] datetime.strptime is missing in IronPython?

2010-06-08 Thread Vernon Cole
using time.strptime() is included in the above definition. -- Vernon Cole On Mon, Jun 7, 2010 at 11:27 PM, Tony Meyer tony.me...@gmail.com wrote: On Tue, Jun 8, 2010 at 4:46 PM, Vernon Cole vernondc...@gmail.com wrote: The issue tracker for CPython [if I read it correctly] lists

Re: [IronPython] example of using IronPython with MS Access database (.mdb)?

2010-05-24 Thread Vernon Cole
), and got a dismal failure, its because I messed up the latest distribution .zip file. That was corrected on Friday. -- Vernon Cole On Mon, May 24, 2010 at 11:07 AM, Peter Masiar peter.mas...@gmail.comwrote: Thank you. The three lines from Oracle example made the difference: import clr import System

[IronPython] Fwd: example of using IronPython with MS Access database (.mdb)?

2010-05-24 Thread Vernon Cole
(A copy for the group. Peter did not wish to possibly embarrass me, for which I thank him.) -- Vernon -- Forwarded message -- From: Vernon Cole vernondc...@gmail.com Date: Mon, May 24, 2010 at 2:29 PM Subject: Re: [IronPython] example of using IronPython with MS Access database

[IronPython] adodbapi 2.3.0 (the django version) released

2010-05-03 Thread Vernon Cole
Hello everyone. I have just uploaded the latest version of adodbapi. This version is highly refactored following the work of Adam Vandenberg, and also has all of the current user suggested patches. Both the Mercurial tree and the downloadable zip files are updated. (There is no fancy installer,

Re: [IronPython] adodbapi 2.3.0 (the django version) released

2010-05-03 Thread Vernon Cole
thought I'd save myself the learning curve for understanding if it's silly or not...) thanks Ronnie On Mon, May 3, 2010 at 12:37 PM, Vernon Cole vernondc...@gmail.comwrote: Hello everyone. I have just uploaded the latest version of adodbapi. This version is highly refactored following

Re: [IronPython] How to install 3rd part packages into IronPython ?

2010-04-27 Thread Vernon Cole
of mySQLdb which you feel are lacking in adodbapi, please let me know and I will see if they can be added. -- Vernon Cole P.S.: The new release of IPy has uncovered a bug in Decimal and binary data types. I have a fix, and if all tests pass I'll upload a new version later today or tomorrow

Re: [IronPython] License change?

2010-04-19 Thread Vernon Cole
, keep up the good work! -- Vernon Cole On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga dwiere...@gmail.com wrote: On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland di...@microsoft.com wrote: Do you think adopting a more popular license, such as the Apache License, would be a good change

Re: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython?

2010-04-14 Thread Vernon Cole
. One can always write a program that will outperform a product doing some single defined task. -- Vernon Cole On Wed, Apr 14, 2010 at 5:52 AM, Pablo Dalmazzo pablodalm...@hotmail.comwrote: Hi there, I was replied in one of my topics in StackOverflow that the gap performance between C

Re: [IronPython] IronRuby 0.9 and IronPython 2.6~beta2 in Debian sid

2010-03-17 Thread Vernon Cole
the progress, subscribe over here: https://bugs.launchpad.net/ubuntu/+source/ironpython/+bug/525547 Cheers, C.J. On Wed, 2010-03-10 at 22:38 -0700, Vernon Cole wrote: C.J.: This in indeed great news! Can you give a hint how to get Ubuntu to pick this up? I'm really tired of only

Re: [IronPython] IronRuby 0.9 and IronPython 2.6~beta2 in Debian sid

2010-03-10 Thread Vernon Cole
C.J.: This in indeed great news! Can you give a hint how to get Ubuntu to pick this up? I'm really tired of only having IPy 1.1, but I don't know my way around Debian's APT-GET setup for new submissions. -- Vernon Cole On Wed, Mar 10, 2010 at 11:27 AM, C.J. Adams-Collier c

Re: [IronPython] So what is left for Django?

2010-02-24 Thread Vernon Cole
Jeff: Is it time to copy the new adodbapi version into the bitbucket location yet? Is there anything else I should do first? -- Vernon Cole General Announcement:... There is a new, supposedly django compatible version of adodbapi in the Mercurial source tree at http://sourceforge.net

Re: [IronPython] Django, __unicode__, and #20366

2010-02-11 Thread Vernon Cole
On Thu, Feb 11, 2010 at 8:48 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 11/02/2010 15:44, Vernon Cole wrote: Just a little reminder in all this noise... The correct thing to do with unicode(u'a unicode string') is MAKE NO CHANGE. The correct thing to do with str('an ASCII string

Re: [IronPython] Django, __unicode__, and #20366

2010-02-11 Thread Vernon Cole
Dear Dino and Jeff: I think we are all on the same wavelength. IronPython makes unicode and str the same implicitly. Python 3 makes them the same explicitly -- by getting rid of __unicode__ completely. The effort to make django (or any other application) run on IronPython and the effort to

Re: [IronPython] Django, __unicode__, and #20366

2010-02-01 Thread Vernon Cole
support and IronPython support go hand in hand. -- Vernon Cole On Sun, Jan 31, 2010 at 12:25 PM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 31/01/2010 01:21, Jeff Hardy wrote: Hi all, I've got a question regarding __unicode__ and issue #20366[0]. Django explicitly encourages the use

Re: [IronPython] IronPython in Visual Studio 2008

2010-01-19 Thread Vernon Cole
actually needs the performance boost, you recode that piece in C++ (or C#). I find that design changes usually do much more to boost perceived speed than compiler changes do. Python excels at that. So welcome aboard. You have discovered a great tool. -- Vernon Cole On Tue, Jan 19, 2010 at 10:22

Re: [IronPython] sqlAlachemy

2009-12-31 Thread Vernon Cole
an alpha test version of the new code out next week. Stay tuned. -- Vernon Cole http://sourceforge.net/projects/adodbapi On Thu, Dec 31, 2009 at 11:08 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 31/12/2009 17:54, John wrote: Does ironpython (any version) work with sqlAlachemy? I

[IronPython] x = unicode(someExtendedUnicodeString) fails.

2009-12-17 Thread Vernon Cole
an unneeded exception handler to my own code. -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] Poll: split of adodbapi.py into two modules? (django support)

2009-11-28 Thread Vernon Cole
to be attributes of adodbapi, such as 'adUseClient' and 'adXactBrowse'. Question: Should I proceed to use the separate version of ado_consts, even though it might break some existing programs? -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http

Re: [IronPython] How to convert a 'str' type to byteArray

2009-11-11 Thread Vernon Cole
Make sure what data type is really being returned by part.getpayload() . Perhaps it is already in a suitable for when you get it? The Python 2.x language method of loading a binary blob of memory is to use the built in function buffer s = 'this is a string' b = buffer(s) b will be accepted my a

Re: [IronPython] Django 1.1 on IronPython 2.6rc2 findings

2009-10-29 Thread Vernon Cole
in the trunk, if possible. -- Vernon On Wed, Oct 28, 2009 at 11:15 AM, Jeff Hardy jdha...@gmail.com wrote: On Wed, Oct 28, 2009 at 10:23 AM, Vernon Cole vernondc...@gmail.com wrote: Markus: Would you be so kind as to zip up and email to me the adonet-dbapi as you now have it patched

Re: [IronPython] Django 1.1 on IronPython 2.6rc2 findings

2009-10-29 Thread Vernon Cole
I am cross posting here my inquiry sent to db-sig about how to change paramstyles, along with the only response. If you feel that option #1 below is NOT the way to go, please say something now. -- Vernon Cole M.-A. Lemburg ✆ to me, db-sig show details Sep 26 Vernon Cole wrote: I am

Re: [IronPython] Django 1.1 on IronPython 2.6rc2 findings

2009-10-28 Thread Vernon Cole
Markus: Would you be so kind as to zip up and email to me the adonet-dbapi as you now have it patched? I will create a version which does not error out. (May take a few days.) -- Vernon 2009/10/28 Markus Törnqvist m...@nysv.org On Wed, Oct 28, 2009 at 10:53:45PM +0900, Seo Sanghyeon wrote:

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Vernon Cole
Markus: What database engine are you using? I am also interested in this project and would like to help out. -- Vernon Cole 2009/10/23 Markus Törnqvist m...@nysv.org On Fri, Oct 23, 2009 at 02:42:23PM +0100, William Reade wrote: Hi Markus Parts of PIL should work with IronPython

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
port the django support code into the main fork of adodbapi. -- Vernon 2009/10/23 Markus Törnqvist m...@nysv.org On Fri, Oct 23, 2009 at 08:45:03AM -0600, Vernon Cole wrote: Markus: What database engine are you using? I am also interested in this project and would like to help out. MSSQL

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
if that is wrong. ( I don't actually USE django yet, but I want to learn. Is starting from inside out a bad thing?) -- Vernon Cole 2009/10/23 Markus Törnqvist m...@nysv.org On Fri, Oct 23, 2009 at 11:45:46AM -0600, Vernon Cole wrote: The sourceforge download will work out of the box on Iron

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
to remove that restriction, but do not know (yet) if that is possible. adodbapi itself is engine agnostic. -- Vernon On Fri, Oct 23, 2009 at 2:43 PM, Josh j...@globalherald.net wrote: Vernon Cole wrote: The big thing will be paramstyle format convertion. MS-SQL uses qmark. I am told that django

Re: [IronPython] adodbapi works correctly on RC1.

2009-10-20 Thread Vernon Cole
Do not hold your breath. I understand that there is a problem with unicode vs str in django. The PEP 429 specifies a BINARY constructor (which within adodbapi has different definitions for Python2.x and Python3.x) which a user can call to get a piece of raw memory. Django does not seem to have

Re: [IronPython] Type analysis of expression

2009-10-19 Thread Vernon Cole
the specific code for some conversions. YMMV -- Vernon Cole On Mon, Oct 19, 2009 at 5:20 AM, Michael Foord fuzzy...@voidspace.org.ukwrote: Christian Schmidt wrote: Hello, we are using IronPython embedded into our application to evaluate user defined expression. The variables used in the expressions

Re: [IronPython] Type analysis of expression

2009-10-19 Thread Vernon Cole
Christian: Maybe I'm missing the point -- are you trying to load data into an existing data table, or to DEFINE a new data table? I was assuming the former, a fairly easy case. If you are trying to create Data Definition Language to create a new table, then you have a real challenge. DDL is not

[IronPython] adodbapi works correctly on RC1.

2009-10-19 Thread Vernon Cole
. In particular, you need to run adodbapitest.py (which tests the end-to-end operation) in addition to test_adodbapi_dbapi20.py (which only tests the module for standards compliance.) -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http

Re: [IronPython] Curious about the development cycle and community involvement

2009-10-15 Thread Vernon Cole
that the no outside submission policy makes the company look stupid. Then, someday, they will tell the lawyers to fix it, and it will get fixed. -- Vernon Cole On Thu, Oct 15, 2009 at 1:08 AM, Count László de Almásy calm...@gmail.comwrote: from the FAQ-- there are a few key benefits to limiting IronPython

Re: [IronPython] dlr-languages package uploaded

2009-09-23 Thread Vernon Cole
on ADO.NET on Linux as well as Windows. -- Vernon Cole P.S. -- If you are using RSX-11M then I am envious. I sold my PDP11-45 because I could not afford to get an MMU and had to run RT-11. On Tue, Sep 22, 2009 at 7:20 PM, C.J. Adams-Collier c...@colliertech.orgwrote: Got an extra 2 months you can

Re: [IronPython] dlr-languages package uploaded

2009-09-22 Thread Vernon Cole
Err, umm... In view of the fact that 2.6rc1 was released a few minutes ago, can you really quickly slip it in in place of 2.6b2? (one of the patches was for my application) -- Vernon Cole On Tue, Sep 22, 2009 at 3:35 PM, C.J. Adams-Collier c...@colliertech.orgwrote: We took care of that. We've

Re: [IronPython] IronPython/NWSGI 0-byte 200/404 response with HelloWorld?

2009-09-22 Thread Vernon Cole
on this? -- Vernon Cole On Tue, Sep 22, 2009 at 9:43 AM, Jeff Hardy jdha...@gmail.com wrote: On Tue, Sep 22, 2009 at 2:53 AM, Markus Törnqvist m...@nysv.org wrote: On Sun, Sep 20, 2009 at 06:59:41PM +0300, Markus T�rnqvist wrote: Hate to be upping my posts this way, but no one's seen this? Hi

Re: [IronPython] [ANN]: IronPython 2.6 Beta 2

2009-08-11 Thread Vernon Cole
:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Vernon Cole *Sent:* Monday, August 10, 2009 4:21 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] [ANN]: IronPython 2.6 Beta 2 Sorry to be slow getting back... I'm on vacation

Re: [IronPython] [ANN]: IronPython 2.6 Beta 2

2009-08-11 Thread Vernon Cole
the correct simple repro? *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *Vernon Cole *Sent:* Thursday, July 23, 2009 10:11 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] [ANN]: IronPython 2.6 Beta 2 Guys: Good work

Re: [IronPython] [ANN]: IronPython 2.6 Beta 2

2009-07-23 Thread Vernon Cole
, this issue has been outstanding for 11 months, and is the only remaining failure in adodbapi for versions 2.3 thru 3.1 of python. Please try to get to it before 2.6 final. Please !!!??? -- Vernon Cole P.S. -- I plan to make a version of adodbapi which uses real ADO.NET, rather than ADO via COM

Re: [IronPython] clarification on current state of embedding

2009-06-17 Thread Vernon Cole
2.6 use the latest .NET? -- Vernon Cole On Wed, Jun 17, 2009 at 6:12 PM, Michael Foord fuzzy...@voidspace.org.ukwrote: Curt Hagenlocher wrote: ...except through the hosting API *and through the new C# dynamic functionality in .NET 4.0*. And how do you get to the classes to use them

Re: [IronPython] Portable use of pickle.dumps()

2009-05-31 Thread Vernon Cole
Thanks, Jeff! Have you asked Seo to add you as a FePy developer? Or does your fork have a unique situation? -- Vernon On Fri, May 29, 2009 at 6:25 PM, Jeff Hardy jdha...@gmail.com wrote: On Fri, May 29, 2009 at 12:05 PM, Vernon Cole vernondc...@gmail.com wrote: P.S. Robert: Thanks

Re: [IronPython] Portable use of pickle.dumps()

2009-05-29 Thread Vernon Cole
of holding a binary (long) string value. return makeByteBuffer(aString) /code Hope this helps some. -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Portable use of pickle.dumps()

2009-05-29 Thread Vernon Cole
Follow up to my own comment... On Fri, May 29, 2009 at 11:38 AM, Vernon Cole vernondc...@gmail.com wrote: . You could use a similar construct based on whether IronPython or CPython were in use. I note that effort is now going forward to port pywin32 to IronPython. When that happens, my code

Re: [IronPython] ironpython compared to powershell

2009-05-26 Thread Vernon Cole
development community worldwide and can also be used for HUGE projects and web services, but you will have a hard time selling it in some cases. -- Vernon Cole On Tue, May 26, 2009 at 7:58 AM, jocke khazad khaz...@gmail.com wrote: Hi everyone! I would like you ask this question that I seem not to get

[IronPython] adodbapi with ado.net? (on MONO?)

2009-05-11 Thread Vernon Cole
Question for the group: If I were to fork a version of adodbapi which used ado.net (rather than COM ado) ... 1) would it work any better/faster than the existing code on Windows? 2) is there any chance that it would run under MONO on Linux? -- Vernon Cole

Re: [IronPython] IDLE like functionality

2009-04-29 Thread Vernon Cole
Actually, the code editor for IDLE (and pythonwin) is written in Python, so no, it does not have to be left out. Since pythonwin is a native WinForms application, it would be a great example project for how to do it. If pywin32 were ported to IronPython it would be done. On Wed, Apr 29, 2009

Re: [IronPython] pywin32 on Iron Python?

2009-04-29 Thread Vernon Cole
applications such as Django, pywin32, NumPy, etc running under IronPython.  This could mean adapting something like adodbapi.py to utilize IronPython APIs similar to what Vernon Cole did, or re-implementing NumPy's C-based modules in C#.   While it's quite difficult (impossible?) for anyone on our

Re: [IronPython] IDLE like functionality

2009-04-29 Thread Vernon Cole
On Wed, Apr 29, 2009 at 7:24 AM, Michael Foord fuzzy...@voidspace.org.uk wrote: Vernon Cole wrote: Actually, the code editor for IDLE (and pythonwin) is written in Python, so no, it does not have to be left out.  Since pythonwin is a native WinForms application, PythonWin does not use

  1   2   >