[Python-Dev] 'with' __exit__ doesn't set sys.exc_info()

2007-12-18 Thread Mike Stall
Can somebody confirm the following behavior is expected: When a 'with' statement invokes __exit__(), it looks like sys.exc_info() is not actually set. I know this may be a very pedantic detail, but I'm working on IronPython and would like to make it consistent with CPython's behavior. The PEP

[Python-Dev] CPython crash with '%o'

2007-11-14 Thread Mike Stall
This is my first post, so here's a quick intro: I've recently joined the IronPython team at Microsoft, after about 6 years as a developer on the the .NET runtime (CLR). I'm currently trying to make IronPython match CPython's behavior regarding some % format string to a level of detail not docum