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 assig

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" wrote: > Hi All, > I have downloaded Ironpython source code using subversio

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

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

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. Dependin

Re: [IronPython] IronPython and XML Parsing

2011-04-06 Thread Vernon Cole
11:07 AM, Vernon Cole 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 L

Re: [IronPython] IronPython and XML Parsing

2011-04-06 Thread Vernon Cole
ith a dead 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? -- Verno

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.Un

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" wrote: > I think you mean print repr(x) :) > > From: users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] On Beha

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" 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 ret

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 g

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

2011-03-22 Thread Vernon Cole
On Tue, Mar 22, 2011 at 11:03 AM, Doug Blank 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 http://apebox.org/wordpress/linux/370/ link will end

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

2011-03-22 Thread Vernon Cole
Thanks! My codeplex ID is the same as my google ID: vernondcole (on sourceforge I confuse people by using my amateur radio call "kf7xm") -- P.S. I misstated the version number of LTS mono in my recent epistle. It is 2.6.7-3. -- Vernon On Tue, Mar 22, 2011 at 9:37 AM, Jeff Hardy wrote: > Vernon, i

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

2011-03-22 Thread Vernon Cole
Sent at 7:24 PM (GMT+11:00). Current time there: 2:27 AM. ✆ to Vernon Cole 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 descr

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

2011-03-22 Thread Vernon Cole
mono 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" wrote: I went to Codeplex to see about updating Pyjama [1] to use the latest IronPython a

[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 mo

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 2/2

Re: [IronPython] IronPython 2.7.1 & 3.x Development

2011-03-15 Thread Vernon Cole
named "setup.py" automatically add "install" to the generated command line. Tue, Mar 15, 2011 at 8:28 AM, Michael Foord wrote: > 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 scripti

Re: [IronPython] IronPython 2.7.1 & 3.x Development

2011-03-15 Thread Vernon Cole
x GUI 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

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" wrote: 2011/3/2 Jeff Hardy : > The CPython devs have talked about committing to a stable public AB

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 com

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

2011-02-21 Thread Vernon Cole
7;m sure > that will be taken into consideration when setting up CI, right...?) > > On Tue, Feb 22, 2011 at 08:41, Vernon Cole 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

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 def

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

2011-02-21 Thread Vernon Cole
all which will answer that question? Mono people -- can you tell me whether I need to use 'sudo' in Ubuntu? -- Vernon On Mon, Feb 21, 2011 at 11:19 AM, Jeff Hardy wrote: > On Mon, Feb 21, 2011 at 11:05 AM, Vernon Cole > wrote: > > How should I really be doing it? > > o

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

2011-02-21 Thread Vernon Cole
','cli'] but that assumes 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 == 

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 wrote: > It

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

2011-02-20 Thread Vernon Cole
ff Hardy 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 > wrote: > > I've lost my link, and cannot muddle my way to meaningful results on > either > > Codep

[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

[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 impro

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

2011-02-15 Thread Vernon Cole
t name,age from students"): print "Student", row.name, "is", row.age, "years old" * Supports 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 fo

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

2011-02-10 Thread Vernon Cole
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 wrote: > I ran into a relatively similar problem with importing networkx into > IronPython, but was able to fix it by editing out a few of the line

[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 workin

[IronPython] Additional modules to ship with IronPython 2.7.1?

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

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 wrote:

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 n

Re: [IronPython] The elephant in the room: source control for IronPython

2010-10-28 Thread Vernon Cole
ng that wheel. Much of the difficulty in converting 2.n Python in 3.n has to do with converting between 8-byte strings and Unicode. Since IronPython is already there, I anticipate that there will be minimal problems in 2to3. Parallel development may be largely unnecessary. [Having a piec

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 wrote: > As Dino recently posted, this is the last release of IronPython

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-in

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 wrote: > > If you hit F5

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\vernon>ipy C:\Users\vernon>"c:\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

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] 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 condition

Re: [IronPython] If not IronPython, what?

2010-08-22 Thread Vernon Cole
sition" using Windows is an oxymoron. * Max: I strongly encourage you to continue to look at alternatives which were _not_ made in Redmond, Washington, USA. If nothing else, the competition pushes Microsoft to continue to improve the quality of their products. IronPython is the greatest thi

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

2010-08-11 Thread Vernon Cole
gt; Hank > > > On Tue, Aug 10, 2010 at 12:41 PM, Vernon Cole wrote: > >> 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 >&

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

2010-08-10 Thread Vernon Cole
he point of not using COM directly in my code and keeping all of the lost features? So the COM implementation of adodbapi v2.4.0 will remain as the official "latest and greatest" for IronPython. Thanks for all the fish... Vernon Cole On Tue, Aug 3, 2010 at 2:17 PM, Lukas Cenovsky wrote

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 mainfram

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

2010-08-02 Thread Vernon Cole
stman 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 Cc: "DB-SIG @ Python.org" On Mon, Aug 2, 2010 at 5:57 AM, Vernon Cole wrote: > Dear Gurus: > > Please give your advice up front to help

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

2010-07-31 Thread Vernon Cole
ch a tool to connect my 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 > *To:* Discussion of IronPython > *Sent:* Saturday, July 31, 2010 9:42 AM > *Sub

[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 frust

Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Vernon Cole
ken in IPy 2.7A1 > > > > 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 uni

[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 "", line 1, in

Re: [IronPython] MySQL and Iron Python

2010-07-22 Thread Vernon Cole
t works: ipy, >>>import sqlalchemy > 6: read the sqla manual! > > rgds, > harry > On Tue, Jul 20, 2010 at 10:47 PM, Vernon Cole > wrote: > > Field name access is the next development step. The API calls for > position > > (field number) access. Field na

Re: [IronPython] MySQL and Iron Python

2010-07-20 Thread Vernon Cole
ata! > > 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

Re: [IronPython] MySQL and Iron Python

2010-07-20 Thread Vernon Cole
7;Microsoft OLE DB Provider for > ODBC Dr > ivers', u'[Microsoft][ODBC Driver Manager] Data source name not found and > no def > ault driver specified', None, 0, -2147467259), None) > Unit tests for adodbapi version 2.3.0 > Default Date Converter is 0x023D7610 > &g

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 wrote: > Hi all, > > How can I (a nube) read a MySQL database using Iron Python? (windows 7 and >

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 fo

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

2010-07-09 Thread Vernon Cole
nd copy 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 Co

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

2010-06-08 Thread Vernon Cole
17470 workitem. Note that the equivalent code using "time.strptime()" is included in the above definition. -- Vernon Cole On Mon, Jun 7, 2010 at 11:27 PM, Tony Meyer wrote: > On Tue, Jun 8, 2010 at 4:46 PM, Vernon Cole wrote: >> The issue tracker for CPython [if I read it correctly]

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

2010-06-07 Thread Vernon Cole
= datetime(*(time.strptime(date_string, format)[0:6])) I have not tested that, I just cut it out of the issue tracker. And, Yes, you are running an obsolete version of IronPython. You should upgrade to 2.6. But that will not fix your problem, since datetime.strptime is not present in the current vers

[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 Date: Mon, May 24, 2010 at 2:29 PM Subject: Re: [IronPython] example of using IronPython with MS Access database (.mdb)? To: Peter

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

2010-05-24 Thread Vernon Cole
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 wrote: > Thank you. The three lines from Oracle example made the difference: > > import clr > import System > c

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

2010-05-03 Thread Vernon Cole
ly question - I 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 wrote: > >> Hello everyone. >> I have just uploaded the latest version o

[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] How to install 3rd part packages into IronPython ?

2010-04-27 Thread Vernon Cole
ample. If there are features 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 la

Re: [IronPython] License change?

2010-04-19 Thread Vernon Cole
ll you in the development team, keep up the good work! -- Vernon Cole On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga wrote: > On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland > wrote: > > > > Do you think adopting a more popular license, such as the Apache > License, would be a

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
, that module can be re-implemented in C. 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 wrote: > Hi there, > > I was replied in one of my topics in StackOverflow that the

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

2010-03-17 Thread Vernon Cole
llow 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 t

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 wr

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
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-11 Thread Vernon Cole
On Thu, Feb 11, 2010 at 8:48 AM, Michael Foord wrote: > 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 st

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

2010-02-11 Thread Vernon Cole
coding of a string-like object, (s)he should be encouraged/forced to use .encode() or .decode() to get his(er) intended result. -- Vernon Cole ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

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

2010-02-01 Thread Vernon Cole
rience Python 3 support and IronPython support go hand in hand. -- Vernon Cole On Sun, Jan 31, 2010 at 12:25 PM, Michael Foord wrote: > On 31/01/2010 01:21, Jeff Hardy wrote: > >> Hi all, >> I've got a question regarding __unicode__ and issue #20366[0]. Django >> exp

Re: [IronPython] IronPython in Visual Studio 2008

2010-01-19 Thread Vernon Cole
some part of your system 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, J

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 wrote: > On 31/12/2009 17:54, John wrote: > >> Does ironpython (any version) work with sqlAlachemy? >> >&

[IronPython] x = unicode(someExtendedUnicodeString) fails.

2009-12-17 Thread Vernon Cole
thers may want to join me in voting this up. Meanwhile I will add 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
; >>> This will break code which expects some of these constants 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?

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 m

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:

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

2009-10-28 Thread Vernon Cole
n the trunk, if possible. -- Vernon On Wed, Oct 28, 2009 at 11:15 AM, Jeff Hardy wrote: > On Wed, Oct 28, 2009 at 10:23 AM, Vernon Cole > 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-28 Thread Vernon Cole
. -- Vernon Cole On Wed, Oct 28, 2009 at 4:02 PM, Seo Sanghyeon wrote: > 2009/10/29 Jeff Hardy : > > How much overlap is there between your other adodb project and > > adonet-dbapi? I don't think there's any need to have two libraries > > that do the same thing for

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 > On Wed, Oct 28, 2009 at 10:53:45PM +0900, Seo Sanghyeon wrote: > >Intro... I,

Re: [IronPython] Database Engine for Django on IronPython

2009-10-25 Thread Vernon Cole
Windows Mobile phone -Original Message- From: Markus Törnqvist Sent: Saturday, October 24, 2009 2:58 AM To: Discussion of IronPython Subject: Re: [IronPython] Database Engine for Django on IronPython On Fri, Oct 23, 2009 at 04:36:27PM -0600, Vernon Cole wrote: > >So it would appear that

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
cted to only MS-SQL from IronPython/django. The existing django-mssql code is engine specific. I would like 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 wrote: > Vernon Cole wrote: >

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
me 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 > On Fri, Oct 23, 2009 at 11:45:46AM -0600, Vernon Cole wrote: > >The sourceforge download will work out of the box on

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 > 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 lik

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 > On Fri, Oct 23, 2009 at 02:42:23PM +0100, William Reade wrote: > > Hi Markus > > > > Parts of PIL should work with

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 si

[IronPython] adodbapi works correctly on RC1.

2009-10-19 Thread Vernon Cole
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] 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

Re: [IronPython] Type analysis of expression

2009-10-19 Thread Vernon Cole
swer three times and still missed it. -- Vernon Cole On Mon, Oct 19, 2009 at 8:29 AM, Lepisto, Stephen P < stephen.p.lepi...@intel.com> wrote: > Jonathan, > > Even if the variables going into the expression are strongly typed, python > will evaluate the expression however it can, w

Re: [IronPython] Type analysis of expression

2009-10-19 Thread Vernon Cole
n option 2, but then uses exception handling to catch errors within the specific code for some conversions. YMMV -- Vernon Cole On Mon, Oct 19, 2009 at 5:20 AM, Michael Foord wrote: > Christian Schmidt wrote: > >> Hello, >> >> we are using IronPython embedded into our

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

2009-10-15 Thread Vernon Cole
o management 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 wrote: > from the FAQ-- > "there are a few k

Re: [IronPython] dlr-languages package uploaded

2009-09-23 Thread Vernon Cole
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 wrote: > Got an extra 2 months you can spare? > > Sen

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

2009-09-22 Thread Vernon Cole
this? -- Vernon Cole On Tue, Sep 22, 2009 at 9:43 AM, Jeff Hardy wrote: > On Tue, Sep 22, 2009 at 2:53 AM, Markus Törnqvist 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 t

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 wrote: > We took care of that. We've got

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

2009-08-11 Thread Vernon Cole
; > > > which fails with: > > > > EnvironmentError: System.Runtime.InteropServices.COMException (0x800A0C93): > Operation is not allowed in this context. > > > > This is the same failure I get if I use Shri’s proposed work around. Do > you have any idea of w

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

2009-08-11 Thread Vernon Cole
I have filed Codeplex Item # 24272 on this issue. I hope it makes sense -- I had been up way too many hours when I pushed the "send" button. -- Vernon On Tue, Aug 11, 2009 at 2:54 AM, Vernon Cole wrote: > No. The setup for the test script fiddles with os.path, but adodbapi itse

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

2009-08-11 Thread Vernon Cole
*From:* 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

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

2009-08-10 Thread Vernon Cole
hich fails with: > > > > EnvironmentError: System.Runtime.InteropServices.COMException (0x800A0C93): > Operation is not allowed in this context. > > > > This is the same failure I get if I use Shri’s proposed work around. Do > you have any idea of what I’m doing wrong or any sugges

  1   2   >