read-from-string output difference between MacCL and Lispworks implementations of cl-http
Mark Klein <[email protected]> Fri, 27 Oct 2006 20:03:09 -0400
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <p06100506c1684b8d4b1e@[10.0.1.4]> |
This is a follow-up to my posting from a couple hours ago:
Read-from-string gives different results when called within cl-http
70.214 methods, depending on whether it is run in lispworks 4.3 vs
mac common lisp 5.1.
The test method:
(defmethod rtest ((url url:http-computed-url) stream)
(http:with-successful-response (stream :html)
(format stream "package = ~a" (package-name (symbol-package
(read-from-string "test"))))))
(http:export-url #u"/pql/rtest"
:computed
:response-function #'rtest)
The results:
lispworks: HTTP-USER
mac cl: COMMON-LISP-USER
Is this a known bug, or "feature", of the lispworks vs mac cl cl-http
implementations? Is there a simple way to make read-from-string in
the LispWorks version produce the same results as read-from-string in
the MacCL version? My code uses read-from-string within cl-http
methods a lot, and fixing each use one at a time would be pretty
time-consuming.
Thanks,
Mark
--
Mark Klein
Principal Research Scientist
Massachusetts Institute of Technology
77 Massachusetts Avenue, NE20-336
Cambridge MA 02139 USA
[email protected]
http://cci.mit.edu/klein/
_______________________________________________
WWW-CL mailing list
[email protected]
https://lists.csail.mit.edu/mailman/listinfo/www-cl