Re: [IronPython] 2.7Beta1 Bug in Compile Modules

2010-11-11 Thread Daniel Jennings
: Discussion of IronPython Subject: Re: [IronPython] 2.7Beta1 Bug in Compile Modules On a related note: The folllowing modules cannot be compiled due work item #29390: platform.py, pydoc.py and BaseHTTPServer.py CompileToMethod cannot compile constant 'X' because it is a non-trivial value,

Re: [IronPython] 2.7Beta1 Bug in Compile Modules

2010-11-11 Thread Bruce Bromberek
On a related note: The folllowing modules cannot be compiled due work item #29390: platform.py, pydoc.py and BaseHTTPServer.py CompileToMethod cannot compile constant 'X' because it is a non-trivial value, such as a live object. Instead, create an expression tree that can construct this val

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

[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