lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petrus Hyvönen (JIRA) <>
Subject [jira] [Created] (PYLUCENE-46) __jcc__ is part of
Date Sun, 03 Mar 2019 10:21:00 GMT
Petrus Hyvönen created PYLUCENE-46:

             Summary: __jcc__ is part of 
                 Key: PYLUCENE-46
             Project: PyLucene
          Issue Type: Bug
         Environment: Windows, Python3.7, JCC 3.4
            Reporter: Petrus Hyvönen


Since Python 3.7 the __dir__ module attribute is part of the API to return the values that
shall be presented from the "dir" python command.



The top level module of wrapped libraries use this variable name for the path to the module
location, which confuses some IDE's. "TypeError: 'str' object is not callable"

The best would be if this module __dir__() returned the names of the top level wrapped classes,
but renaming the variable should solve the IDE problem.


This message was sent by Atlassian JIRA

View raw message