We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4661fd commit 14cce75Copy full SHA for 14cce75
CHANGES.rst
@@ -1,3 +1,9 @@
1
+v4.11.2
2
+=======
3
+
4
+* #369: Fixed bug where ``EntryPoint.extras`` was returning
5
+ match objects and not the extras strings.
6
7
v4.11.1
8
=======
9
importlib_metadata/__init__.py
@@ -217,7 +217,7 @@ def attr(self):
217
@property
218
def extras(self):
219
match = self.pattern.match(self.value)
220
- return list(re.finditer(r'\w+', match.group('extras') or ''))
+ return re.findall(r'\w+', match.group('extras') or '')
221
222
def _for(self, dist):
223
vars(self).update(dist=dist)
0 commit comments