Printing of user defined classes at compile time is bad.
Bug #596679 reported by
Eike
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Freeode |
In Progress
|
Low
|
Eike |
Bug Description
If user defined classes are printed at compile time (with the printc function), their __str__ method is not called. Instead they are rendered as an (ugly in this context) generic ASCII art tree.
Therefore call user defined __str__ method also from printc function.
Therefore call user defined __str__ method also from printc function.
The current behavior is a regression with regards to the old print function!
Changed in freeode: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
description: | updated |
tags: | added: interpreter |
Changed in freeode: | |
assignee: | nobody → Eike (eike-welk) |
importance: | Wishlist → Low |
status: | Confirmed → In Progress |
description: | updated |
Changed in freeode: | |
milestone: | none → 0.4.2 |
To post a comment you must log in.