From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error Date: Sun, 13 Dec 2020 20:58:27 +0200 Message-ID: <0af67204-8e54-266c-cc98-0263faf1db3d@yandex.ru> References: <877dpxnah5.fsf@gnus.org> <87a6us1b37.fsf@tcd.ie> <87tuszcaxn.fsf@gnus.org> <3329c943-0a5f-811e-bc50-7fe425b05ea7@yandex.ru> <56638b63-79a6-a543-4a43-5ee32a30d57e@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2614"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: "Basil L. Contovounesios" , Lars Ingebrigtsen , 45032@debbugs.gnu.org, Henry Minsky To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 19:59:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koWaO-0000Y2-FO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 19:59:12 +0100 Original-Received: from localhost ([::1]:57446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koWaN-0003UU-6e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 13:59:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koWaE-0003UH-0Q for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koWaD-0006HX-Ps for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koWaD-0005Sl-PI for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45032 X-GNU-PR-Package: emacs Original-Received: via spool by 45032-submit@debbugs.gnu.org id=B45032.160788591820891 (code B ref 45032); Sun, 13 Dec 2020 18:59:01 +0000 Original-Received: (at 45032) by debbugs.gnu.org; 13 Dec 2020 18:58:38 +0000 Original-Received: from localhost ([127.0.0.1]:50248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koWZp-0005Qt-Qr for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:58:37 -0500 Original-Received: from mail-ed1-f51.google.com ([209.85.208.51]:36379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koWZn-0005QE-V5 for 45032@debbugs.gnu.org; Sun, 13 Dec 2020 13:58:36 -0500 Original-Received: by mail-ed1-f51.google.com with SMTP id b2so14885343edm.3 for <45032@debbugs.gnu.org>; Sun, 13 Dec 2020 10:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VS3Wo2JVPrnCcVVx8qdQMIh5Bn6AfQNNDnc3p8fQ3jA=; b=UeO9Ltn48NM9vbcX74e4oxF0d+ZQKD8s9ecj9hgT4UGJ6qNa9tH0am3acLV0dHhyPq cdVK/FUN7YS3s6mCqnF1r+sSNd/YFwM4V4PH9U8p9VLMa527kmDbfWbntyg59Mfmnipa 0sl7U3OCg/MXgZWvyvCMhhem8BbgPXsNhgGrgLgXK19tA6jQ9EaIfYvqCAn/fJx1SZiK toyV14BdoUdK0+4OpgFY9TFMLVUkdBDhY4rXhLajwDR9htEcPcU5caZK1V6KgGeKBNPG ptiJ2l7JYIEaalIlFz3beJBOghpZCEEqZP/bk/WupIZuyGhym+Af2lzEELpkUSgTYpu0 jV6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VS3Wo2JVPrnCcVVx8qdQMIh5Bn6AfQNNDnc3p8fQ3jA=; b=V7tQPvCEfIc38hHBcuZm+9Tdzp23Ap9eh/zq7PTr0GU4FfV0sxATl51C6x6G0692el J0lk3YMHO7hD36jqZxAI8ydUhAKSGyGu9je/4dCX+whPwpazkl9XYgOBZOfC99Uu/blw AqmypXPI5j/gkilu0YmnPjJWfrTg3ySSJ2skyUuoJCptrI3tRuUG82RYVo7l30Aqofm0 6xNuyNfSBGI3e5XzizW/JPo449fjumt0oNBOu97eZZuXaaeBbPO4XSqU+s+879sw2F3Y w6wVALy1X3xBnKlg4L/PyTjKDMKeY8MkAMHx2LIWbpX5bLEYn1FuhytySvRM1qirmh+x cTkQ== X-Gm-Message-State: AOAM5332VkYx4RzFArxoVIRoiXfsthUiaHIHwSG4TBMcqIPg064OnouK SXo9StOs+q5n5+cQhoZLWH8= X-Google-Smtp-Source: ABdhPJw+DAx6fYZtx/393/Bg8LV3Y+jN/DNAK6BIBW3P3RJ4gqHdRFT6BBSQC2bDXNEKR+K1FexpVA== X-Received: by 2002:a50:8163:: with SMTP id 90mr21352955edc.142.1607885909959; Sun, 13 Dec 2020 10:58:29 -0800 (PST) Original-Received: from [192.168.0.5] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u16sm13858193eds.10.2020.12.13.10.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Dec 2020 10:58:29 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195996 Archived-At: On 13.12.2020 15:19, Philipp Stephani wrote: > It doesn't matter what we can agree on, now that json.c is released > into a stable release, we can't change its behavior any more (unless > you're proposing to add new keyword arguments to json-serialize, which > would still be possible). We do change behavior from time to time, especially when we consider it a bug. The inconsistency looks like a bug to me.