--- a/eric6/PipInterface/PipPackageDetailsDialog.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/PipInterface/PipPackageDetailsDialog.py Sat Aug 31 12:58:11 2019 +0200 @@ -8,10 +8,6 @@ """ from __future__ import unicode_literals -try: - basestring # __IGNORE_WARNING__ -except NameError: - basestring = str from PyQt5.QtCore import Qt, QLocale from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem, \ @@ -181,7 +177,7 @@ elif text is None: text = "" if forUrl: - if not isinstance(text, basestring) or \ + if not isinstance(text, str) or \ not text.startswith(("http://", "https://", "ftp://")): # ignore if the schema is not one of the listed ones text = ""