emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f0b0105: Hoist some byte-code checking out of eval


From: Stefan Monnier
Subject: Re: master f0b0105: Hoist some byte-code checking out of eval
Date: Thu, 21 May 2020 09:35:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Oh, now that you mention it I do see something missing: Fbyte_code converts
> bytestr to unibyte whereas Fmake_byte_code merely checks that bytestr is
> unibyte, and I suppose it should be consistent with Fbyte_code here. I'll
> look into fixing that. This should matter only when dealing with Emacs
> 20.2-and-older bytecode strings (do we still need to worry about that?).
>
> You wrote "*some* .. but not all", which vaguely implies that I was missing
> more than one check. Am I missing something else here?

I just saw that the checks were not textually the same (I expected
basically "exactly" the same code to be duplicated to `Fbyte_code` and
`make-byte-code`; not sure if `Ffetch_bytecode` also needs some of that
treatment).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]