-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 preparation: Change names of some method attributes #15986
Comments
comment:1
For additional information from http://docs.python.org/2/reference/datamodel.html#index-39 //Changed in version 2.6: For Python 3 forward-compatibility, im_func is also available as !func!, and im_self as !self!.// |
Commit: |
comment:2
8 modules were changed. Only the case "im_func -> !func!" was found. One occurrence in New commits:
|
Branch: u/wluebbe/ticket/15986 |
comment:3
needs work since automerging failed |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:5
Resolved automerge conflict by rebasing on 6.2.beta5. 1 file was already fixed in 6.2.beta5. So only 7 files remain. |
comment:6
I did
on top of Test report:
|
Author: Wilfried Luebbe |
Reviewer: R. Andrew Ohana |
comment:7
Looks good. |
Changed branch from u/wluebbe/ticket/15986 to |
Only the modern syntax like
method.__func__
is accepted by Python 3.Changes according to
lib2to3/fixes/fix_methodattrs.py
:This ticket is tracked as a dependency of meta-ticket ticket:15980.
Component: distribution
Author: Wilfried Luebbe
Branch/Commit:
addb5a6
Reviewer: R. Andrew Ohana
Issue created by migration from https://trac.sagemath.org/ticket/15986
The text was updated successfully, but these errors were encountered: