From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Accept plists when serializing and parsing JSON Date: Sun, 03 Jun 2018 14:43:14 +0100 Message-ID: <874likrnnx.fsf@gmail.com> References: <87sh6awls5.fsf@gmail.com> <87in75bjvm.fsf@gmail.com> <87a7scu2qe.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528033291 3752 195.159.176.226 (3 Jun 2018 13:41:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2018 13:41:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 15:41:26 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPTGA-0000uM-I3 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2018 15:41:26 +0200 Original-Received: from localhost ([::1]:35378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPTIH-0006WM-LZ for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2018 09:43:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPTI5-0006V4-CP for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:43:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPTI0-00008k-NY for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:43:25 -0400 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:51083) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPTI0-00008c-GJ for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:43:20 -0400 Original-Received: by mail-wm0-x233.google.com with SMTP id t11-v6so10738347wmt.0 for ; Sun, 03 Jun 2018 06:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=owp5BO1NjiF6cOgnNT7f7s11e4B4qYKmK2vmtwp+lnA=; b=GbWjpxY82VCCkmBd+v7QK1HmwfhzezgeqbqFwNHZzmnJLoALZlaOokU/oigKM5AnEW XxOaYU6N8yoUEeIYGCkZbfhyyXy2bpXEBajNiEM8iyMjOEkI6NPa3lVIEw/GUXAnAVkE Z785U+/nN5WMtnoT7KbJZHLMAhGn7EENAv3tpaEvUSDV0jaEvaCQvkXoGXwJkCBtw/04 eYh5owO7c9ZBU7mamOloHWu8/aOz2tISghW4rhZv6iXWqOmpm7kazKV8zpt30cUgKU/+ 2JVkjWBNzpC7kqrj1XVLpjEae1iOylRtCMaXTyU5YE++3Bh72FBFASd2Q7gmwZf5UoTU 5rXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=owp5BO1NjiF6cOgnNT7f7s11e4B4qYKmK2vmtwp+lnA=; b=A5lFY1uebOoWLUe1YPx5zicIorhKyLj7nbARQiW/TOotJZjCIaiZ/h9D5nUnrzcGMQ Kr0dCVdAiImym1xHY5+YPBezqYp0V2Tb7tJy/0Ebo/eb4f7XyPkfADoQ6IV1LIiRU7kv wMORzM6VvLyQyBasDPvLVyL7AZpH27qyFm+wPhR6pGebUTziex3NBbBJM9taQGuJNay7 PBF0Em72GMRfWEJk+1wLlwaWnHmsIsWGWHTK+12L+hf81zOqxhFp5rUslx2sxfYProT0 f0LyviYEiQA1JYZR8YlY7ZCK7QXr0orx7UrpcQfARzNXhEkbIMh+wEF/y7ysvRdiuaKV zDSw== X-Gm-Message-State: ALKqPwfqcR230HG9XcpK6librbKomUb6bb6MRdT4I2xSJGG23AQeBaGJ kffUGFWftO1P67FENvdfXN60D+ur X-Google-Smtp-Source: ADUXVKItyPZS78BqcyLoRYQ39vhVKsKZ9OlOPw/Cs/qawS3V3UX102JGPRsGqYH0LZrtTzwHixDEuQ== X-Received: by 2002:a1c:6ce:: with SMTP id 197-v6mr6694490wmg.159.1528033398995; Sun, 03 Jun 2018 06:43:18 -0700 (PDT) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id j21-v6sm5303512wme.36.2018.06.03.06.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 06:43:18 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 03 Jun 2018 00:05:55 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225953 Archived-At: Stefan Monnier writes: > Notice the use of "change" in that docstring. Looking up the value of > a dynamically-scoped variable doesn't *change* global state, but it > *uses* global state. Yeah, but it's the "change" bit that usually counts: it's (sneakily) writing shared state that has the bug potential alluded to by Yuri. That said, lisp is particularly bad territory for purity advocates. Many many functions use global state, and many more change it just by consing up something, or interning a symbol.