Re: [pypy-dev] Getting rid of "prebuilt instance X has no attribute Y" warnings

2014-12-18 Thread Armin Rigo
Hi Timothy, On 9 December 2014 at 06:01, Timothy Baldridge wrote: > I'm getting a ton of these sort of warnings. They seem to go away when I > either a) type hint the object via assert (gross) or b) access the attribute > via a getter method. Is there a better way? Would there be a problem with >

[pypy-dev] Getting rid of "prebuilt instance X has no attribute Y" warnings

2014-12-08 Thread Timothy Baldridge
I'm getting a ton of these sort of warnings. They seem to go away when I either a) type hint the object via assert (gross) or b) access the attribute via a getter method. Is there a better way? Would there be a problem with somehow just turning this warning off? Thanks, Timothy __