Re: [IronPython] Help with bitmap text

2006-08-04 Thread Bruce Christensen
You can use the types in the System.Drawing namespace to accomplish what you want. I found a pretty good example of how to overlay text on images at http://www.codeproject.com/dotnet/vbtextoverlay.asp. A search for .NET image overlay text should turn up some other good resources. --Bruce

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Bruce Christensen
Nope. :) pyexpat relies on Python extension modules written in C, which don't work with IronPython. However, you can use the classes in the .NET System.Xml namespace for parsing XML documents if you're writing new code. --Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [IronPython] Bug in urllib?

2006-07-26 Thread Bruce Christensen
This is a bug. It has never workedalthough it would be great if it did. As noted in socket.__doc__, socket.makefile() (which urllib.urlopen() depends on) is not implemented. Were aware of the problem, and Ive filed a bug at

Re: [IronPython] Dict convertion question

2006-07-20 Thread Bruce Christensen
which was created in about six minutes or more.) I would like the speed of File.WriteAllText, the compression is not really an issue for me. -- Later, Joe On 7/19/06, Bruce Christensen [EMAIL PROTECTED] wrote: Since we just added support for this, please let us know if you run into any problems

Re: [IronPython] Can not use httplib in ironpython beta9?

2006-07-18 Thread Bruce Christensen
Peter, Sorry for the trouble. This is a known issue that were tracking in our bug database at http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPythonWorkItemId=548. For a full explanation of the situation, see

Re: [IronPython] pickling exceptions and differences between IronPythonand cpython

2006-07-14 Thread Bruce Christensen
Thanks for the feedback! We should definitely support pickling exceptions that originated as CLR exceptions. I've opened http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPythonWorkIt emId=945 to track it. --Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [IronPython] pickling exceptions and differences between IronPythonand cpython

2006-07-14 Thread Bruce Christensen
.__getstate__ = getstate pickle.dumps(e) '(iexceptions\nNameError\np0\n(dp2\nS\'msg\'\np3\nSname \'a\' not defined\np4\ nsS\'args\'\np5\n(g4\ntp6\nsb.' -Original Message- From: Bruce Christensen Sent: Friday, July 14, 2006 9:34 AM To: 'Discussion of IronPython' Subject: RE: [IronPython

Re: [IronPython] type.__call__

2006-07-12 Thread Bruce Christensen
I can verify that importing SQLAlchemy 0.2.5 doesn't work: C:\Ip\IronPython\External\Regress\Python24\Libipy IronPython 1.0.2383 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. import sys, os.path

Re: [IronPython] Modules available for IronPython?

2006-07-11 Thread Bruce Christensen
Yes, you can drop in the CPython libraries, and they'll work (with some exceptions, which Dino noted below). For example: C:\Ip\IronPythonset IRONPYTHONPATH=C:\Python24\Lib C:\Ip\IronPythonipy IronPython 1.0.2383 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights

Re: [IronPython] getaddr() support?

2006-06-21 Thread Bruce Christensen
John, Thanks for the report. This is a known problem. As noted in socket.__doc__, there are a functions in socket that we don't currently implement: This implementation of socket differs slightly from the standard CPython socket module. Many of these differences are due to the