From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wAETMJSsFGf0ngAAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 07:09:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wAETMJSsFGf0ngAAe85BDQ (envelope-from ) for ; Sun, 20 Oct 2024 09:09:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LfuccDJq; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729408148; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WdHBEA1/7hwv+dRus1pSOc8LN11Qf1PzrIGjcbmD2U8=; b=lm+qdogPuObQbrH3qG64vxSJ7zCi4V+Ou2YwcvfQjdxd2qu9JRbJNkBmFRanOdqmYVQdL1 +3nc+RXYQMZbGCePcSxK6+rtpdKrUgwGksslUMPK5bZW24EUGRCOH52dZOH05Funl3ALQs GIfFhubhXzYQOC7OjYJyeygHgI0K+BGv2woTRpvUKpoBbCTnGNqaAkLgdpe8+h22Tj/8lj UbFCUwEBhkY9Ir0mr5HKuQ4BFXbp4/Cw2Ad8BIhampeiPy5BStKrgRnbCyOGm5wWGW+NAa DV0bOXAOdqy+arp60/klr1RaLKtyw70/8K3zjZPCjADvswD1VZtvJXg80McNGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LfuccDJq; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729408148; a=rsa-sha256; cv=none; b=UdlicYIaa7jJN3wk0JBrAPVppeqxznC4M0TJJ+wMM410uy9nUNmUDaMThzv2KOWnFSqfdh 3RSgf4V0CLo73vuXbcI6y3yjPmGnt9C/JgEd1+CPNZ0TtPgzRAyTHc1PmxXGb+hVx8/zIA N+/Mt426rX4kI4GwZnnZpOIcsvSBHnWYJuif4r1+w8ldQ8hB9O8IAE+34qMk98OueHE84Y beBOIokeU0Nq9E67QrrhYKvdT+vux0gXeQbmNacg+gNmAeg+wyR9uUwzTLkZJHY7dcou3f tSgmCVej/S65Ev88/MWzSywKNIOrJCl4qQBM1PdyDs1Je+YKbWz2DVgiPPTCPw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BA7D42D85 for ; Sun, 20 Oct 2024 09:09:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2Q3E-0002Kz-FX; Sun, 20 Oct 2024 03:08:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2Q3C-0002Ka-NH for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 03:08:30 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2Q3B-0008Pl-5b for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 03:08:30 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-20c693b68f5so36861885ad.1 for ; Sun, 20 Oct 2024 00:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729408108; x=1730012908; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WdHBEA1/7hwv+dRus1pSOc8LN11Qf1PzrIGjcbmD2U8=; b=LfuccDJq93aarF9cv6zrott6OIhWWc4CiviwuqNfkz12I1oEVNnd+f19mOVZjjWHQ1 7LHiMjekfYj5z7i0D9CM2IA+YmopyBqVTPCfdAnvuqPeKK+DtEXbGd3BS2/MSETAxM3U GFAmL5LMu6KGl07LKl3wZM5sW0ko9Xo6Gm3toE+A+uDePPi49TdO9qpZw/T/ZO+0daXZ P4YD2VZeba5pywKbqdcKfkKHG783xmT9VJCpfiDWuQ+cUCzuagGjesVtaFjQPw5eBIXd 6J/vle7e2f70WwWUGX4z+fKtXxssXjcTIGWXAFHZv+zYnV8sBwXmq1OHW96z7YU9OyAU 8AWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729408108; x=1730012908; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WdHBEA1/7hwv+dRus1pSOc8LN11Qf1PzrIGjcbmD2U8=; b=QH5YZVg8lOsuLpIXrl84mZfNFWTgWZQVK0aeElm/vbbQJ0r8yFQCIJnwiSczqEHyDJ I6wCDLk5J1K7MgU95REt4yeO8n+0NCJ82Xzlq1ZVv5b1ttUJa5sMYTim01nrDe70y0W0 NK3cTAV160A2cjFmEZgGyC9jlowRfNDa6jin5rGyXjzMqWdtIn8XyS+JhMY3YLVbSJ5A G47oeHa+CWNhG3oyNOvzAz4LnRnQsVqiNagKNLh8mXlzKGfW95dk7rYRK9hfJ7Dgc8p6 yBgRgjC1gsw3owSCRljy12x1fJc+CEnQSsw7nWMVIYv6ASHGxrHc7b2po7Bgn7Wj/sl7 /lew== X-Forwarded-Encrypted: i=1; AJvYcCUleYIyNyQt0dZQFPAvRFZclCfnWUouSNDb71XBEtZVWSRT9VYiK1ViZWc7pN24wEeWLQm65JWIghQl1/85@gnu.org X-Gm-Message-State: AOJu0YwUnLsS1dl2B86KwRF57giuaSacgPXf7qCqk6/mn9fLo0ZOPwMe KhQTsCjhQbMBy1Kq9964m55M+uQpjSdEcylzmbPXOUAJw9pi/ZiZ X-Google-Smtp-Source: AGHT+IEyKS1T42UempzrIzc/QXpxt/I4bN+i5v6xNcPnrgcvDYhSvHcSQqd6kWHuGOSdTrTywXrKHA== X-Received: by 2002:a17:902:ecd2:b0:20b:5645:d860 with SMTP id d9443c01a7336-20e5a8c6c33mr88196385ad.36.1729408107554; Sun, 20 Oct 2024 00:08:27 -0700 (PDT) Received: from localhost ([198.27.183.102]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e5ad4ed41fsm877137a91.36.2024.10.20.00.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 00:08:26 -0700 (PDT) From: Jack Kamm To: Ihor Radchenko , "Dr. Arne Babenhauserheide" Cc: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , emacs-orgmode@gnu.org Subject: Re: Org Babel says 1 + 1 in Python is None In-Reply-To: <87plo4z0vi.fsf@localhost> References: <87y143x4q0.fsf@web.de> <87plo4z0vi.fsf@localhost> Date: Sun, 20 Oct 2024 00:08:26 -0700 Message-ID: <87bjzf45g5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.56 X-Spam-Score: -1.56 X-Migadu-Queue-Id: 6BA7D42D85 X-TUID: z7/fsc9iCDBA Ihor Radchenko writes: >> In the org-mode documentation I read: >> >> For languages like Python, an explicit return statement is mandatory= when using =E2=80=98:results value=E2=80=99. >> https://orgmode.org/manual/Results-of-Evaluation.html >> >> So I think WORG needs to be fixed. >> >> Can you send a patch? >> https://git.sr.ht/~bzg/worg > > Yes, patch would be welcome. As Sebastian mentioned, Worg already documents the behavior, under the section "Return values": https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html#org= 6eb75c6