From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AMC1GxAL3GYz+AAA62LTzQ:P1 (envelope-from ) for ; Sat, 07 Sep 2024 08:13:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AMC1GxAL3GYz+AAA62LTzQ (envelope-from ) for ; Sat, 07 Sep 2024 10:13:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=anumuqdX; 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=quarantine) header.from=web.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725696784; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jWNFcDgZK9aqdatrTOxshlhGmGy6wXu+aL52BXAvsI4=; b=W9w9MPoArkWKMCqN+dbZjiy3JKE0vpRu6BIpb09vs0qEp36+aoMfZQwSANkeZ65J2E7a9m 6NDw6kNl3MRS473YjEmMQvA8tSw4smKErkH3Dw8W8GH54/kxZ54ysTQZEyKm4lDXmjIV+e +Wvv3aqJ6IOWXwp4iHq9cI3IvNujbFmTs4lHb+fl3Ei6Ydd+JQBwvUqtaqtOlQlXor6c8Q FQSDGmeJNA/Asah8Z0QSVInhJ+63SMKhtOpbEItwTtZxUlV9pCDboHGlJd7pFbh7T8192v tTvN8HOIBSNSDi3GnsBCKIJJt3Y34Zg2gCHjOrhguAHXrAnwbTegx/GOCY+NPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=anumuqdX; 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=quarantine) header.from=web.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725696784; a=rsa-sha256; cv=none; b=K7KzcpG6XeJg5Q/C68KP5V+9lrBFQJp1tbfB/1Cx0RGlJSqxb82M4thMWqvoe4GklZw5NJ VILUUVqSBcvvc3j7vMRu6CU/k4WRWLS3CKQaPhJ3LdpJLQcgRAmarEi4p4Me7qLr77/zm/ JsDD5kGFP8kcndET+vFaUthp3wakNlDTus/TaXnA5quv+osocGJNX4z0Xz9t7vs9Sf25ce VgDKTXWvV8vY5xZ0yEm8HLH70wxRdbNgOdqCMyw+hgHvjctrXqZ3nMaDn7VDKLHM6yfsUK 8d1C9Ts2IXhNchAlT96M+JNFTeMoSZUsfX55NE9NcGuO4f7Fp98d3gh1YqRRug== 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 1878177E20 for ; Sat, 07 Sep 2024 10:13:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smqYM-0004fW-Q8; Sat, 07 Sep 2024 04:12:18 -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 1smqYK-0004fM-GJ for emacs-orgmode@gnu.org; Sat, 07 Sep 2024 04:12:16 -0400 Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smqYI-0003Tg-Jv for emacs-orgmode@gnu.org; Sat, 07 Sep 2024 04:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1725696728; x=1726301528; i=arne_bab@web.de; bh=jWNFcDgZK9aqdatrTOxshlhGmGy6wXu+aL52BXAvsI4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=anumuqdXollemtv6CW1B9RKxlxCbnreBIA6JYKvRZHOwRh+pQVVpwOnnENYDX8Vc s8c6C4GC+E3fhih5Qyv2Jxasp9UxQndQj9Jt9DDv1s9RWDx+QJcyvKEUq2RpH4Cnk JvLOgURjYY+YcwqdsfZoEK19gCe1x56FHbbW+EMifiEGYZOi/ZKf42p7k4IQZGP5S MfLn6Gwut5MbKEaeStpR8TNit1Iij0Sh6hSsDGZ4a1nWke/5GGe41i5tM08I4MzNS ApchH3BH1ESxXWsZdGzlT4v+dTRymGk9JFEEbRQIpvkCaM+z5saQC9rd7srq8IH8k JnlfuvDrqnBjy3G81w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from fluss ([80.136.16.139]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MgRQD-1s6vHr2hnb-00g8f3; Sat, 07 Sep 2024 10:12:08 +0200 From: "Dr. Arne Babenhauserheide" To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Org Babel says 1 + 1 in Python is None In-Reply-To: ("Rudolf =?utf-8?Q?Adamkovi?= =?utf-8?Q?=C4=8D=22's?= message of "Fri, 06 Sep 2024 15:33:32 +0200") References: Date: Sat, 07 Sep 2024 10:12:07 +0200 Message-ID: <87y143x4q0.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:2oJYLDG5NmX+5qzDzd66sVZd9LW7wN1JIrM2YPry/8OlWkaAhv5 3LyIi18nlsXZkyEAJMCAr1MlGu0dmTfNR0a+H2ri0WPNpUQrnRi7cbOQGpQIgoG2Ixk0tTE X3g/NKo+KAitx1dLY9s3ywfWznHUe1xypujq8i58MZGFkSKDPRsoAVZ+rNP0+ycVYqAWopo 34yRAJjtiqxTErdqp8LJw== UI-OutboundReport: notjunk:1;M01:P0:/Kcda8vpzxA=;JVzg+Ogb2KlJtKZl799b8jZiBUs EyODHP1JZ2942d7j6rYuA2dUFa1Ye8KVCuZj/PwciyAF0As+kxg93kLKKxMsiWC00jjP+bvgm m0UYROB8BUaT40fL9BKEUGxyVz3eq0cS9XzDxUgjt71k+QIuWWXr4lMMNPGmbdhH7vkK1J2vr 5iOxXAOATGNl0WlyT9a5jnR8m3haXkPLJDgVcqotdQhmGkza8g6VeSe/jihkwPa4l8A0cBMCu BBvCSmxa+2FAud0frJPtdIDdJtNOXU9osdTBdWFx03oIrZyIB54qPbsUM7vhwvC1v78OwB5Md gvXcHgYXyc1ohC9Tk5lGSP8NFXfyQ/yCR6zYTmQZ3P4SHUgJoZVfViRstze24rz22LM35oi5w K9I76Cb988rXYVZI2jdEmWD+0QCrlzdt2JIpD00GDV9v9/wvmIJPoJx6cNAMTHz5zZy0wiuXc FMnjqTPIe285R6kPVQ5GTScxLpxef7JKxXInO1A0+r1Qc8hFTclGc1RTpzbPW1OhwZgCAWv9d 7mVpaJslLwgl3RXJ0FKpROkGSvmSjgjSb8RMjvG0j+IQIgW7IfUU3F8WNiLaP6FfAio3EZC7C HJdiwaeNWddz8A9fGpu1vPCG6dz8DwDox7yjf1IU+yUL56RhJOf9YeQrtcb3IH3zXPE7U64W0 z5hAN6qsBT++DCFV92WsExsbGq49getgtQZrrE8hYznVJlSnZZXczOGbLC847ao4JkO8fEX+U rczwpgDx5cMQu4eGFXrU/pohMJO5dniwGiB8v02XwoEH09pbfbVjKeAVAgfZipWLgbBaQ0RJr U6cKtYA8FoPLjz5qLH0Xh3vg== Received-SPF: pass client-ip=212.227.17.11; envelope-from=arne_bab@web.de; helo=mout.web.de 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -11.78 X-Migadu-Queue-Id: 1878177E20 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -11.78 X-TUID: liK1WeJOxioV --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rudolf Adamkovi=C4=8D writes: > Today, I decided to start using Python in Org. > > (1) I read in "WORG": > > :results {output, value}: [...] Value results are the value of the > last expression evaluated in the code block. Value mode is the default > (as with other languages). In the org-mode documentation I read: For languages like Python, an explicit return statement is mandatory wh= en 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 Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmbcCtgQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD65N8EACgehSzRaY7+6Yqij+jD7noPakPabN7eaq+ LKshacY22r+6sCGyhlfL+aBG4XqmVk7wMMGVIjWnNKdSxMI4BBS4EuHkXBQsLZSe c1gXw98WnVCQ6QBqzo/3OzRz7S0UILHZtsvcKNDJ69IUV459eE7+2leSet5MbLYH 86vJgtA/d59A1aDPFUWQ2lMUYhD2Pdq9LZri1wBX7+LEAoqTbjtgQbNWmUmCzUiP 1Om04rPmUnlqZ2uUe1CiWrQO+O0LdwvzUQwU5HxW+zwkQQBVVip1fcgT3htMqAID IpiiJtkvOvS76RPg0UIYK52Q+d/Pw1fzFqtxs902+ypVaunzIyLUh1FKVxcJJDEa gneZqw4kr1ebTdEU69d4vALnN1vSI5dTt8UlcGLVFMRpgI0YxQCEaQN9twB6Mz9Y QAM0HxrUVOgAnZtyihSkCupfAfdJ/46h/qeozWS1vuv63pcVrTvybOSyOUybeHiW 5JxNYquUQgMUH+tfyLKlcVREjgFeYqsurwvF/Fm6ZUmn7Nu7FdimqzCtv1IOeuBN 73eLTQOono1LGLYBFdrfHikqrspJVd311ZbSMDoXNDnp9fMSqigKZA4kUck1RTV3 +Mia4lXowklZnlGi4hNbhk6BzMRkN5y5XageBwSuR2113Gx6BlGtvIYBEidyyIjW UVdqru+qxYjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmbcCtgQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSOq0A/9BF57XQ9tNb3FH+xxQgj7ocj9S czvY2V2xjvzbFq1uaS/ESWd4r5w8347jmMx6PttSbRB/KqXEBIXV164fvCvLgU0l Pwmc0N5FFW/iRzHNbkH0+//YWroKpOR+WdlexGwOcJDv3wss2uAlPlOsmM/9IhHJ IIpHbU4UQ3Utbj94cw== =DOqw -----END PGP SIGNATURE----- --=-=-=--