Printing of user defined classes at compile time is bad.

Bug #596679 reported by Eike on 2010-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
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!

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

Other bug subscribers