From pylucene-dev-return-2974-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Mar 5 07:20:23 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 22BF1180648 for ; Tue, 5 Mar 2019 08:20:22 +0100 (CET) Received: (qmail 18109 invoked by uid 500); 5 Mar 2019 07:20:21 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 18093 invoked by uid 99); 5 Mar 2019 07:20:21 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2019 07:20:21 +0000 Received: from [192.168.0.19] (104.193.169-14.PUBLIC.monkeybrains.net [104.193.169.14]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id DAE0534BD for ; Tue, 5 Mar 2019 07:20:20 +0000 (UTC) From: Andi Vajda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Mon, 4 Mar 2019 23:20:18 -0800 Subject: Re: [jira] [Resolved] (PYLUCENE-46) __dir__ module paramter Message-Id: <25BBD2CD-E372-4C6F-86B6-700BDA469558@apache.org> References: In-Reply-To: To: pylucene-dev@lucene.apache.org X-Mailer: iPhone Mail (16D57) You're welcome ! Andi.. > On Mar 4, 2019, at 22:29, Petrus Hyv=C3=B6nen w= rote: >=20 > Thanks Andi.. >=20 >> On Mon, Mar 4, 2019 at 11:44 PM Andi Vajda (JIRA) wrote= : >>=20 >>=20 >> [ >> https://issues.apache.org/jira/browse/PYLUCENE-46?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel >> ] >>=20 >> Andi Vajda resolved PYLUCENE-46. >> -------------------------------- >> Resolution: Fixed >>=20 >>> __dir__ module paramter >>> ------------------------ >>>=20 >>> Key: PYLUCENE-46 >>> URL: https://issues.apache.org/jira/browse/PYLUCENE-46 >>> Project: PyLucene >>> Issue Type: Bug >>> Environment: Windows, Python3.7, JCC 3.4 >>> Reporter: Petrus Hyv=C3=B6nen >>> Priority: Minor >>>=20 >>> Hi, >>> 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. >>> [https://www.python.org/dev/peps/pep-0562/] >>> [https://docs.python.org/3/reference/datamodel.html#object.__dir__] >>> 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. >>>=20 >>=20 >>=20 >>=20 >> -- >> This message was sent by Atlassian JIRA >> (v7.6.3#76005) >>=20 >=20 >=20 > --=20 > _____________________________________________ > Petrus Hyv=C3=B6nen, Uppsala, Sweden > Mobile Phone/SMS:+46 73 803 19 00