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

Bug #678409 reported by Stas Boukarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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