This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients ilya, xtreak
Date 2020-02-18.09:43:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
apply was a builtin in Python 2 and not sure 2to3 can differentiate between user defined functions that shadow builtins. https://docs.python.org/3.8/library/2to3.html#2to3fixer-apply .

Removes usage of apply(). For example apply(function, *args, **kwargs) is converted to function(*args, **kwargs).

You can skip the apply fixer: 2to3 -x apply /tmp/bar.py
History
Date User Action Args
2020-02-18 09:43:02xtreaksetrecipients: + xtreak, ilya
2020-02-18 09:43:02xtreaksetmessageid: <[email protected]>
2020-02-18 09:43:02xtreaklinkissue39670 messages
2020-02-18 09:43:02xtreakcreate