Re: [IronPython] 2.7Beta1 Bug in Compile Modules

2010-11-09 Thread Bruce Bromberek
Created work Item # 29390. On Tue, Nov 9, 2010 at 11:19 AM, Dino Viehland wrote: > Bruce wrote: >> In trying to compile the StdLib for a program, I kept running into an error >> with >> BaseHTTPServer.py.  I've isolated it down to an issue with Dictionaries and >> tuples. >> >> This code: >>

Re: [IronPython] 2.7Beta1 Bug in Compile Modules

2010-11-09 Thread Dino Viehland
Bruce wrote: > In trying to compile the StdLib for a program, I kept running into an error > with > BaseHTTPServer.py. I've isolated it down to an issue with Dictionaries and > tuples. > > This code: > > responses = { > 100: ('Continue', 'Request received, please continue'), > } > > Ge

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

2010-11-09 Thread Dino Viehland
Michael wrote: > > Ha. :-) > > Does that mean you're no longer permitted to read the IronPython source > code. ;-) HA! That's actually a good point - but we got special permission to continue working on IronPython/IronRuby on our own time... It certainly covers writing new code, I'm assuming i

[IronPython] 2.7Beta1 Bug in Compile Modules

2010-11-09 Thread Bruce Bromberek
In trying to compile the StdLib for a program, I kept running into an error with BaseHTTPServer.py. I've isolated it down to an issue with Dictionaries and tuples. This code: responses = { 100: ('Continue', 'Request received, please continue'), } Generates this error: Traceback (most re

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

2010-11-09 Thread Michael Foord
On 08/11/2010 19:44, Dino Viehland wrote: Jeff wrote: On Mon, Nov 8, 2010 at 10:55 AM, Dino Viehland wrote: Ahh, yeah, we should probably have a helper method in here which will convert the string back to bytes rather than all of these casts to Bytes. It could also be incompatible w/ CPython