[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40693: 28.0.50; json-encode-alist changes alist
From: |
Eli Zaretskii |
Subject: |
bug#40693: 28.0.50; json-encode-alist changes alist |
Date: |
Wed, 29 Apr 2020 17:40:04 +0300 |
> Cc: contovob@tcd.ie, darthandrus@gmail.com, 40693@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Wed, 29 Apr 2020 17:28:05 +0300
>
> > How about adding an optional argument instead, by default off, to
> > request this behavior? then callers who care about the original alist
> > could request a non-destructive operation, and others won't suffer any
> > slowdown.
>
> The current behavior is unsafe, that's the problem. Also,
> json-encode-alist is called in a recursive fashion, so it'd have to be a
> global variable instead.
Sounds like a somewhat hairy issue. Then let's put this on master
first. If this turns out to be a very popular change, and no one
complains, we could later back-port it to some 27.x version.
Thanks.
- bug#40693: 28.0.50; json-encode-alist changes alist, (continued)
- bug#40693: 28.0.50; json-encode-alist changes alist, Basil L. Contovounesios, 2020/04/18
- bug#40693: 28.0.50; json-encode-alist changes alist, Basil L. Contovounesios, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist,
Eli Zaretskii <=
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Basil L. Contovounesios, 2020/04/29
bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Drew Adams, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Michael Heerdegen, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Michael Heerdegen, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19