You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ahmet Altay (JIRA)" <ji...@apache.org> on 2018/09/25 00:00:00 UTC
[jira] [Assigned] (BEAM-5490) Beam should not irreversibly modify
inspect.getargspec
[ https://issues.apache.org/jira/browse/BEAM-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ahmet Altay reassigned BEAM-5490:
---------------------------------
Assignee: (was: Ahmet Altay)
> Beam should not irreversibly modify inspect.getargspec
> ------------------------------------------------------
>
> Key: BEAM-5490
> URL: https://issues.apache.org/jira/browse/BEAM-5490
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Chuan Yu Foo
> Priority: Major
>
> In the Python SDK, in {{typehints/decorators.py}}, Beam irreversibly monkey-patches {{inspect.getargspec}} for its own purposes. This is really bad form, since it leads to hard to debug issues in other modules which also use {{inspect.getargspec}} when Beam is imported.
> Beam should either maintain its own modified copy of the functions it needs, or else it should always reverse the monkey-patching so that it does not affect other modules.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)