PRINT-UNREADABLE-OBJECT contains PPRINT-NEWLINE.
Bug #1398290 reported by
Mark Cox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
PRINT-UNREADABL
(defun pprint-demo (object)
(
(pprint-demo 1)
This produces
#<bit
!
{2}>
where the following is expected
#<bit !!!!!!!
summary: |
- PRINT-UNREADABLE-OBJECT + PRINT-UNREADABLE-OBJECT contains PPRINT-NEWLINE. |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Changed in sbcl: | |
assignee: | Douglas Katzman (dougk) → nobody |
To post a comment you must log in.
While I personally agree that the current behavior seems undesirable, it's certainly a matter of opinion and not a conformance bug. dependent. "
The note to the example in CLHS says "the precise form of the output is implementation-
At least one other implementation inserts a conditional newline: !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!
* (pprint-demo 1)
#<BIT
!!!!!
#x00000087>