Re: __qualname__ in python 3.3

2014-09-07 Thread ISE Development
Antoine Pitrou wrote: > Hi, > > ISE Development gmail.com> writes: >> 'code' object 'function' object >> >> co_name: test __qualname__: test >> co_name: T__qualname__: T >> co_name: method __qualname__: test..T.method >> >>

Re: __qualname__ in python 3.3

2014-09-07 Thread Antoine Pitrou
Hi, ISE Development gmail.com> writes: > 'code' object 'function' object > > co_name: test __qualname__: test > co_name: T__qualname__: T > co_name: method __qualname__: test..T.method > > The second call corresponds to th

Re: __qualname__ in python 3.3

2014-09-06 Thread Peter Otten
ISE Development wrote: > Peter Otten wrote: > >> ISE Development wrote: >> >>> Hi, >>> >>> When a class is defined within a function, the class generation >>> function's '__qualname__' attrbute is not qualified a name. >>> >>> For instance: >>> >>> def test(): >>> class T: >>>

Re: __qualname__ in python 3.3

2014-09-06 Thread ISE Development
Peter Otten wrote: > ISE Development wrote: > >> Hi, >> >> When a class is defined within a function, the class generation >> function's '__qualname__' attrbute is not qualified a name. >> >> For instance: >> >> def test(): >> class T: >> def method(self): >>

Re: __qualname__ in python 3.3

2014-09-06 Thread Peter Otten
ISE Development wrote: > Hi, > > When a class is defined within a function, the class generation function's > '__qualname__' attrbute is not qualified a name. > > For instance: > > def test(): > class T: > def method(self): > pass > t = T() >

__qualname__ in python 3.3

2014-09-06 Thread ISE Development
Hi, When a class is defined within a function, the class generation function's '__qualname__' attrbute is not qualified a name. For instance: def test(): class T: def method(self): pass t = T() t.method() When tracing a call to 'test()' u