You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently, if an object does not have an explicitly defined str() method, and a request is made to print said object, a "magic" str() method is created in cgen.
This process is fine as far as it goes, but the "magic" str() methods need to be created before any backend is called, so that all backends can use them.
As it stands now, the "magic" str() method creation has to be duplicated in every backend separately.
Presently, if an object does not have an explicitly defined
str()method, and a request is made to print said object, a "magic"str()method is created in cgen.This process is fine as far as it goes, but the "magic"
str()methods need to be created before any backend is called, so that all backends can use them.As it stands now, the "magic"
str()method creation has to be duplicated in every backend separately.Recent issue about this in #25825
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.