Steel Bank Common Lisp

(copy-pprint-dispatch nil) doesn't restore the original pprint-dispatch table

Reported by Stas Boukarev on 2010-11-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Low
Unassigned

Bug Description

*initial-pprint-dispatch-table* is used in copy-print-dispatch when the value of table is NIL.
But *readtable* is just set to the value of *initial-pprint-dispatch-table* without copying: http://git.boinkor.net/gitweb/sbcl.git/blob/HEAD:/src/code/pprint.lisp#l1594
So, when I modify *readtable*, *initial-pprint-dispatch-table* is modified too and (copy-pprint-dispatch nil) doesn't restore anything.

Changed in sbcl:
importance: Undecided → Low
status: New → Triaged
Nikodemus Siivola (nikodemus) wrote :

In 1.0.45.31.

Changed in sbcl:
status: Triaged → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers