Mark Dickinson <[email protected]> added the comment:
However, the list comprehension pattern is not as bad as lines like this one
[#1]:
map(lambda plugin: self.start_plugin(plugin), self._plugins)
... which of course stopped working as soon as we transitioned to Python 3. :-(
[#1]
https://github.com/enthought/envisage/blob/b7adb8793336dd3859623cb89bcc7bdfefe91b29/enthought/envisage/plugin_manager.py#L105
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com