Re: Exposed types not in CoreExposed.includes

Adam Burke <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <[email protected]>
Was some content lost from the wiki? 

https://wiki.python.org/jython/FrontPage?action=fullsearch&titlesearch=0&value=Pytype&context=180

Adam

> 在 2017年8月27日,下午11:02,Jeff Allen <[email protected]> 写道:
> 
> No problem. Sometimes it's difficult to tell what's intentional. I have done my best to give these *Derived classes too, following the models nearby -- all on my BB fork, not the main repo. (If the fork turns out bent, we can cherry-pick this out.)
> 
> J.
> 
> 
>> On 26/08/2017 22:51, [email protected] wrote:
>> The ast.* cases are oversights (specifically my oversights, I think). I suspect the other is an oversight as well.
>> 
>> Thanks for finding them!
>> 
>> -Frank
>> 
>> On Aug 26, 2017 05:47, "Jeff Allen" <[email protected] <mailto:[email protected]>> wrote:
>> 
>>    Tinkering with the logic of PyType, I have run across cases where
>>    a class is annotated @ExposedType but does produce a TypeBuilder
>>    when initialised. This is because they are not listed in
>>    CoreExposed.includes, are not processed by the exposer, and
>>    therefore are represented by a  PyJavaType object.
>> 
>>    I am experimenting with using the annotation, rather than static
>>    initialisation and looking for a builder, as my way to distinguish
>>    the two cases, and which reveals this discrepancy whe addBuilder
>>    is not called.
>> 
>>    So far I found: PyNullImporter, org.python.modules.itertools.imap,
>>    org.python.antlr.ast.SetComp, org.python.antlr.ast.SetComp,
>>    PyXRangeIter.
>> 
>>    Such cases are just an oversight, not some subtle choice I haven't
>>    understood, right?
>> 
>>    Jeff
>> 
>> 
>>    ------------------------------------------------------------------------------
>>    Check out the vibrant tech community on one of the world's most
>>    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>    _______________________________________________
>>    Jython-dev mailing list
>>    [email protected]
>>    <mailto:[email protected]>
>>    https://lists.sourceforge.net/lists/listinfo/jython-dev
>>    <https://lists.sourceforge.net/lists/listinfo/jython-dev>
>> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Jython-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jython-dev

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.