Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Andi Vajda
On Wed, 16 Oct 2019, Petrus Hyvönen (Jira) wrote: Looks like the name in a PyTypeObject tp_name should be of form "module.name", and module is automagically assigned to __module__. I think this is done for some of the special classes but not for the wrapped classes if I understand correctly.

[jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Jira
[ https://issues.apache.org/jira/browse/PYLUCENE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16953191#comment-16953191 ] Petrus Hyvönen commented on PYLUCENE-51: Hi,   Looks like the name in a PyTypeObject tp_name

Re: [jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Andi Vajda
On Wed, 16 Oct 2019, Andi Vajda wrote: On Wed, 16 Oct 2019, Petrus Hyvönen (Jira) wrote: Looks like the name in a PyTypeObject tp_name should be of form "module.name", and module is automagically assigned to __module__. I think this is done for some of the special classes but not for the

[jira] [Commented] (PYLUCENE-51) "AttributeError: __module__" when running doctest

2019-10-16 Thread Andreas Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16953272#comment-16953272 ] Andreas Vajda commented on PYLUCENE-51: --- I added the setting of type._ _ module_ _ in