pitrou commented on code in PR #40520:
URL: https://github.com/apache/arrow/pull/40520#discussion_r1592686779


##########
dev/archery/archery/linking.py:
##########
@@ -61,9 +63,83 @@ def list_dependency_names(self):
             names.append(name)
         return names
 
+    def _remove_weak_symbols(self, symbol_info):
+        return [line for line in symbol_info if not line.endswith(" w")]

Review Comment:
   You can use `str.endswith` with a tuple of suffixes:
   `line.endswith(" v", " V", " w", " W")`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to