Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5953

[Python-de] Re: importlib.metadata: Keys funktionieren nicht, wenn es mehrere gibt

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From c.buhtz@posteo.jp
Newsgroups de.comp.lang.python
Subject [Python-de] Re: importlib.metadata: Keys funktionieren nicht, wenn es mehrere gibt
Date Mon, 02 Jan 2023 21:21:09 +0000
Lines 24
Message-ID <6a17b6e0ec7cdff2c96f8e592ecfe10f@posteo.de> (permalink)
References <4NlyFW1b1Fz6tmg@submission01.posteo.de> <7c3064a4-bb73-69cc-7a61-3cd13a42aa15@goebel-consult.de>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de verwQB2mKUy8qWSV3lyftAcHuN8MbDrYE1MoWPd5RPeA==
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=posteo.jp header.i=@posteo.jp header.b=jlSga8n2; dkim-adsp=pass; dkim-atps=neutral
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1672694472; bh=8Pj996msE8GgRutOYSKQEvE9InaA/t+t4xaFRIiknQE=; h=Date:From:To:Subject:From; b=jlSga8n2muGkR0yJRwtPS3QkN8ZsMXJ0JSYb2fPyhRJPv0QvkdGZLw7Xs7wIESDZ8 G+0ymk5XAYKOuO12EaOWZN2MB723ht6FmsX8e+Cv8/MOLQXdjebCLVqggiLdcbvCkD nQX+dhxLYb6cN2nqSALgav3KdDb68LCZf74Q5NTpCR/AHsaWDNSTNynfmKwXBwg3sl Kc6F4MW4d26PVUsqQikcMBEP1SZDVDOEls8hFu8arEZqEY/9h7HVDVHM3kP2UPDgAk DOxdSEwouMA2kT1cg0cddJcrHYL00LMCIsz1E3V8SQTJYvGX/A7kq/ux1YTmvU2hV3 AYhuz0RQ6P4jw==
Mail-Followup-To python-de@python.org
In-Reply-To <7c3064a4-bb73-69cc-7a61-3cd13a42aa15@goebel-consult.de>
Message-ID-Hash JEGAHSFBTEGZB4MSBCDZRJTLY7A6AINO
X-Message-ID-Hash JEGAHSFBTEGZB4MSBCDZRJTLY7A6AINO
X-MailFrom c.buhtz@posteo.jp
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-python-de.python.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version 3.3.8b1
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
Archived-At <https://mail.python.org/archives/list/python-de@python.org/message/JEGAHSFBTEGZB4MSBCDZRJTLY7A6AINO/>
List-Archive <https://mail.python.org/archives/list/python-de@python.org/>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Owner <mailto:python-de-owner@python.org>
List-Post <mailto:python-de@python.org>
List-Subscribe <mailto:python-de-join@python.org>
List-Unsubscribe <mailto:python-de-leave@python.org>
Xref csiph.com de.comp.lang.python:5953

Show key headers only | View raw


Hallo Hartmut,

danke für die Rückmeldung.

Am 02.01.2023 16:46 schrieb Hartmut Goebel:
> b) get_all('Project-Url')
> 
> denn die Doku [1] sagt:

Die Doku ist da sehr kryptisch, wenn man den Hintergrund nicht versteht.
Und obwohl ich jetzt weiß, durch dich, wie es geht, kapiere ich nicht 
warum.

Warum steht get_all() nicht in der Doku von "importlib.metadata" und 
stattdessen in einer externen Quelle?

In dieser Quelle ist von einem Objekt des Typs 
"importlib_metadata.PackageMetadata" die Rede.
Ich bekomme aber ein "email.message.Message" Objekt geliefert.
Das passt nicht zusammen, vom Verständnis her. ;)

SG
Christian

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Python-de] Re: importlib.metadata: Keys funktionieren nicht, wenn es mehrere gibt Hartmut Goebel <h.goebel@goebel-consult.de> - 2023-01-02 16:46 +0100
  [Python-de] Re: importlib.metadata: Keys funktionieren nicht, wenn es mehrere gibt c.buhtz@posteo.jp - 2023-01-02 21:21 +0000
    [Python-de] Re: importlib.metadata: Keys funktionieren nicht, wenn es mehrere gibt Hartmut Goebel <h.goebel@goebel-consult.de> - 2023-01-03 20:07 +0100

csiph-web