Re: [IronPython] Minor Weirdness with 2.6.1 RC1

2010-02-12 Thread David DiCato
In IronPython, clr is a builtin module, so this error should theoretically be impossible. How did you run the script when it gave you the "Can not import module clr" error? -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf

Re: [IronPython] Improvements to the hosting APIs

2010-02-12 Thread Dino Viehland
Jeff wrote: > On Fri, Feb 12, 2010 at 1:47 PM, Dino Viehland wrote: > > > > Jeff wrote: > >> * A version of PythonOps.MakeException that doesn't take a code > >> context - It's not hard to create one, but every time I do I feel like > >> I'm doing something wrong. > >> * An easy way to wrap a Str

Re: [IronPython] Improvements to the hosting APIs

2010-02-12 Thread Jeff Hardy
On Fri, Feb 12, 2010 at 1:47 PM, Dino Viehland wrote: > > Jeff wrote: >> * A version of PythonOps.MakeException that doesn't take a code >> context - It's not hard to create one, but every time I do I feel like >> I'm doing something wrong. >> * An easy way to wrap a Stream as a PythonFile. > > I'

Re: [IronPython] Improvements to the hosting APIs

2010-02-12 Thread Dino Viehland
Jeff wrote: > Hi all, > Dave F. mentioned on Twitter that he was looking at the hosting APIs, > and the made the mistake of accepting my unsolicited advice. So, here > are a couple of my wishes (both form NWSGI): > > * A version of PythonOps.MakeException that doesn't take a code > context - It's

[IronPython] Improvements to the hosting APIs

2010-02-12 Thread Jeff Hardy
Hi all, Dave F. mentioned on Twitter that he was looking at the hosting APIs, and the made the mistake of accepting my unsolicited advice. So, here are a couple of my wishes (both form NWSGI): * A version of PythonOps.MakeException that doesn't take a code context - It's not hard to create one, bu

[IronPython] IronPython 2.6 CodePlex Source Update

2010-02-12 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/63942. MODIFIED SOURCES $/IronPython/IronPython_2_6/Src/Tests/specialcontext/Consoleles

Re: [IronPython] Blocker in Ipy 2.6.1 RC1

2010-02-12 Thread Dino Viehland
Thanks for reporting this - this should pbe easy enough to fix but I probably won't get to it until after PyCon. Glad to hear startup improved some more especially because I wasn't expecting much improvement because you're pre-compiled. From: users-boun...@lists.ironpython.com [mailto:users-b

[IronPython] Blocker in Ipy 2.6.1 RC1

2010-02-12 Thread Glenn Jones
Hey guys, Great work on 2.6.1! Resolver One startup is noticeably faster and, so far, everything is working well except that compiling is removing docstrings. Since we use ply for parsing, and ply requires docstrings on its productions, we have a module that we cannot import if it is compiled. I

[IronPython] IronPython 2.6 CodePlex Source Update

2010-02-12 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/63940. ADDED SOURCES $/IronPython/IronPython_Main/Src/Tests/encoded_files/cp20472.py M

[IronPython] Minor Weirdness with 2.6.1 RC1

2010-02-12 Thread Joshua Kramer
Hello, I noticed some minor weirdness with RC1. I un-installed 2.6 and installed 2.6.1 RC1, then went to run a database backup script I have. The first line in the script is... import clr When I ran the script, it said, "Can not import module clr". Tried this a few times with the same r

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

2010-02-12 Thread Michael Foord
On 12/02/2010 03:37, Dino Viehland wrote: And it turns out this works great! We now pass all of the tests in test_str and test_unicode related to calling str/unicode and getting the appropriate __str__/__unicode__ method called. We also now properly don't decode strings when you do unicode('foo