Skip to content

Commit

Permalink
Blacklist inter-process communication of unpicklables
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Sep 5, 2019
1 parent a50e726 commit 63ba56b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions colcon_core/package_identification/python.py
Expand Up @@ -159,6 +159,8 @@ def _get_setup_result_target(setup_py: str, env: Optional[dict], conn_send):
and not callable(value)
# Private properties
and not attr.startswith('_')
# Objects that are generally not picklable
and attr not in ('cmdclass', 'distclass', 'ext_modules')
)})
except BaseException:
conn_send.send(traceback.format_exc())
Expand Down

0 comments on commit 63ba56b

Please sign in to comment.