Printing of user defined classes at compile time is bad.

Bug #596679 reported by Eike
6
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!

Tags: interpreter
Eike (eike-welk)
Changed in freeode:
status: New → Confirmed
importance: Undecided → Wishlist
description: updated
Eike (eike-welk)
tags: added: interpreter
Eike (eike-welk)
Changed in freeode:
assignee: nobody → Eike (eike-welk)
importance: Wishlist → Low
status: Confirmed → In Progress
description: updated
Eike (eike-welk)
Changed in freeode:
milestone: none → 0.4.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.