From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oBlDOmJss2JU5QAAbAwnHQ (envelope-from ) for ; Wed, 22 Jun 2022 21:24:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2MkyOmJss2I7hgAAauVa8A (envelope-from ) for ; Wed, 22 Jun 2022 21:24:18 +0200 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 921EFB8F3 for ; Wed, 22 Jun 2022 21:24:18 +0200 (CEST) Received: from localhost ([::1]:51792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o45xZ-0006vD-29 for larch@yhetil.org; Wed, 22 Jun 2022 15:24:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o45xK-0006r7-BO for guix-patches@gnu.org; Wed, 22 Jun 2022 15:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o45xJ-0000J5-W8 for guix-patches@gnu.org; Wed, 22 Jun 2022 15:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o45xJ-00024g-QR for guix-patches@gnu.org; Wed, 22 Jun 2022 15:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47459] [PATCH] gnu: Add brython. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jun 2022 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "jgart" , GNU Debbugs Cc: 47459@debbugs.gnu.org, rekado@elephly.net, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47459-submit@debbugs.gnu.org id=B47459.16559258087922 (code B ref 47459); Wed, 22 Jun 2022 19:24:01 +0000 Received: (at 47459) by debbugs.gnu.org; 22 Jun 2022 19:23:28 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o45wl-00023h-L1 for submit@debbugs.gnu.org; Wed, 22 Jun 2022 15:23:27 -0400 Received: from mail-qv1-f50.google.com ([209.85.219.50]:33654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o45wj-00023Q-Dk; Wed, 22 Jun 2022 15:23:26 -0400 Received: by mail-qv1-f50.google.com with SMTP id 89so26677196qvc.0; Wed, 22 Jun 2022 12:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KhOQE7uEGnY+cqa43f/YxvuwYy0MdCdmkypKdYK7DWY=; b=Ux9SMDP5D8emvXdWUWInx+sqbhZ4Adci/z+KcYwZVrTX0MadixxepL3JZhYGgKt2Ls KO9vZf6z59+By0jIdQB+Zf/ennYMIhMmGVQ8Z4US5JofxgAXL5cXIVr/bVIYlo7yDild y/tnAFV/5pKQ+jMpmt8dAdYLTchiaYoirMcfuXyABWKoaruAmNg+nfybzn6gh3VTstIg 3wdje78JO+M3TBb+K6joRW2hbVmVgtiRh55DXFfk0Vi4mINGD1tNYqVcYMtxzJMSkiDH MIIaA4HCABct2IADhfgOBv0HacqouEotDQk5EJJ0AXmTzDMAsyJkoiL+XyJZWBZQcuFg bmJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KhOQE7uEGnY+cqa43f/YxvuwYy0MdCdmkypKdYK7DWY=; b=8CR0HSkZeDAUVY9Ir6gxQYYQ6lLOfctuoT6Ammb0HJYk6hjclJpOTev4pUkNvr2lKB VEATC21ztkTVYm/f0Z/PmNGqKbm1wLv67vqVS8fXPfTAokHmQv5qwTsknJ0GasSINQOs +Psvkqj6slI+w80VkywSuGrt9hDAG8WiIYZZ+DIXSftnPrbPVZ9MHL43BX3vBk8dhJ7o GcNUUvvYVV9W3hOXLDpEXbJRMjB0cWvvwhINAsHCqp/UpJqrO0QPncapmfg8PVx/V0W0 1Pgti4mWB0LR5I/6Y62OEW3osXArWntZ5Z9FNXmTIoaxd43FhHYGM4ffhjIn1lOm+pl+ 5DWw== X-Gm-Message-State: AJIora9hqDTSZSdGrD3agmELKcMrpJDmP+oWjsGf9h8s3g2W2uYCfTyf xvXmfRZSB+vv0CcRPLPU4/pAyLRMe1B8HA== X-Google-Smtp-Source: AGRyM1v7654o9CvFW6JC1Z9dervpbt/2n/nM6J7cO6ni74QtwQpjh0HDd4ZrLySAY4OdJPkL2FAiYA== X-Received: by 2002:a05:622a:34e:b0:305:2f9:9ce1 with SMTP id r14-20020a05622a034e00b0030502f99ce1mr4509413qtw.458.1655925799893; Wed, 22 Jun 2022 12:23:19 -0700 (PDT) Received: from hurd (dsl-10-141-244.b2b2c.ca. [72.10.141.244]) by smtp.gmail.com with ESMTPSA id j17-20020a05620a289100b006a6d7c3a82esm17723309qkp.15.2022.06.22.12.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 12:23:19 -0700 (PDT) From: Maxim Cournoyer References: <6c81552237809c87c157684e550a69a7@dismail.de> <46d8aebe2811380cf79b2ef56e14e1c2@dismail.de> Date: Wed, 22 Jun 2022 15:23:18 -0400 In-Reply-To: <46d8aebe2811380cf79b2ef56e14e1c2@dismail.de> (jgart@dismail.de's message of "Mon, 05 Jul 2021 22:29:18 +0000") Message-ID: <87pmj04i55.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655925858; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KhOQE7uEGnY+cqa43f/YxvuwYy0MdCdmkypKdYK7DWY=; b=a6Jqj1ug5+coYJEYtv0OcyuQ2O6I8pXGy06kssh4nq08tjtYhCFdlt+4piL+Otls5KMizz vqxcrxL+ZTHfvMwn2ss1ugDvFj6+1itjmBiGdnqfWJn3Q8rWuDzRZ6Rq7WGZaFdiuOfn1f aI9ncui3OE741Odns/tMHFDFEL/Gwk8i+SZb2wvZNeIo5oPieTsgphp6UFgRtOVAxRkmS4 4h3T0lxNXIt68lkVWmnKIpZbyFquT99tjnexneDeT1wv1chGJTIHcIkuK9hd1uZy2qvbwo LxShAQFseIXAx6V2CnRly6JvM+knUsdZqKKnzxcoaKEh/hUyHBeE6EqsSG1c0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655925858; a=rsa-sha256; cv=none; b=DLXeXNx0UH89SdkZd7EnqTBLG8WWzdwfiq5erNzpFmDG+FJYi8w6F594MoMuWwdOUyCpoO rhzewh2jTpu+RcT+8pv7O5u7MLoUyDrVZJ0YSFjdlFTpilLIstVdgBOABHFVilPSPKim4Y 5IFfTFDebeqDUC3qSDg4vzO/bdpoCIG0+ydJMa2fJGv2F8s6kRNQJtmUp4qJXH4+pQ944w EDS6aqLkg5DQALzeJJcXFtEDGBTFO6VQ31GLB2Z/S+/UpSXKGNTwavw2avBv7zMbAeFLCi ymzlD8Gmth7z9mAoIKkHPEvur9HorXbw9FF2PUxE2JT2hDpuX0CW52oyOPzFhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ux9SMDP5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ux9SMDP5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 921EFB8F3 X-Spam-Score: 5.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: bhfDQMPNs9xe tags 47459 moreinfo thanks Hi, "jgart" writes: > Hi Ludo, > > Thank you for your suggestions! They are much appreciated. I think I inco= rporated all of them and > bumped brython from 3.9.1 to 3.9.5 since it's been a while... Sorry for t= he delay. I hope this patch finds you > well. The above patch was taken from core-updates. > > I tried adding a message via the mumi interface but it never went through= ... I wanted to merge this in, but as I looked at it, I got curious about the "source" that is on the heavy side (53 MiB), and saw what look like generated "source" code: du -h www/src/py_VFS.js=20 4.3M www/src/py_VFS.js The file contains section that read like: --8<---------------cut here---------------start------------->8--- 9, 0xFF89,0xCA, 0xFF8A,0xCB, 0xFF8B,0xCC, 0xFF8C,0xCD, 0xFF8D,0xCE, 0xFF8E,= 0xCF, 0xFF8F,0xD0, 0xFF90,0xD1, 0xFF91,0xD2, 0xFF92,0xD3, 0xFF93,0xD4, 0xFF= 94,0xD5, 0xFF95,0xD6, 0xFF96,0xD7, 0xFF97,0xD8, 0xFF98,0xD9, 0xFF99,0xDA, 0= xFF9A,0xDB, 0xFF9B,0xDC, 0xFF9C,0xDD, 0xFF9D,0xDE, 0xFF9E,0xDF, 0xFF9F,0xE0= , -1,0xE1, -1,0xE2, -1,0xE3, -1,0xE4, -1,0xE5, -1,0xE6, -1,0xE7, -1,0xE8, -= 1,0xE9, -1,0xEA, -1,0xEB, -1,0xEC, -1,0xED, -1,0xEE, -1,0xEF, -1,0xF0, -1,0= xF1, -1,0xF2, -1,0xF3, -1,0xF4, -1,0xF5, -1,0xF6, -1,0xF7, -1,0xF8, -1,0xF9= , -1,0xFA, -1,0xFB, -1,0xFC, -1,0xFD, -1,0xFE, -1,0xFF, -1,0x8140, 0x3000,0= x8141, 0x3001,0x8142, 0x3002,0x8143, 0xFF0C,0x8144, 0xFF0E,0x8145, 0x30FB,0= x8146, 0xFF1A,0x8147, 0xFF1B,0x8148, 0xFF1F,0x8149, 0xFF01,0x814A, 0x309B,0= x814B, 0x309C,0x814C, 0x00B4,0x814D, 0xFF40,0x814E, 0x00A8,0x814F, 0xFF3E,0= x8150, 0xFFE3,0x8151, 0xFF3F,0x8152, 0x30FD,0x8153, 0x30FE,0x8154, 0x309D,0= x8155, 0x309E,0x8156, 0x3003,0x8157, 0x4EDD,0x8158, 0x3005,0x8159, 0x3006,0= x815A, 0x3007,0x815B, 0x30FC,0x815C, 0x2015,0x815D, 0x2010,0x815E, 0xFF0F,0= x815F, 0xFF3C,0x8160, 0xFF5E,0x8161, 0x2225,0x8162, 0xFF5C,0x8163, 0x2026,0= x8164, 0x2025,0x8165, 0x2018,0x8166, 0x2019,0x8167, 0x201C,0x8168, 0x201D,0= x8169, 0xFF08,0x816A, 0xFF09,0x816B, 0x3014,0x816C, 0x3015,0x816D, 0xFF3B,0= x816E, 0xFF3D,0x816F, 0xFF5B,0x8170, 0xFF5D,0x8171, 0x3008,0x8172, 0x3009,0= x8173, 0x300A,0x8174, 0x300B,0x8175, 0x300C,0x8176, 0x300D,0x8177, 0x300E,0= x8178, 0x300F,0x8179, 0x3010,0x817A, 0x3011,0x817B, 0xFF0B,0x817C, 0xFF0D,0= x817D, 0x00B1,0x817E, 0x00D7,0x8180, 0x00F7,0x8181, 0xFF1D,0x8182, 0x2260,0= x8183, 0xFF1C,0x8184, 0xFF1E,0x8185, 0x2266,0x8186, 0x2267,0x8187, 0x221E,0= x8188, 0x2234,0x8189, 0x2642,0x818A, 0x2640,0x818B, 0x00B0,0x818C, 0x2032,0= x818D, 0x2033,0x818E, 0x2103,0x818F, 0xFFE5,0x8190, 0xFF04,0x8191, 0xFFE0,0= x8192, 0xFFE1,0x8193, 0xFF05,0x8194, 0xFF03,0x8195, 0xFF06,0x8196, 0xFF0A,0= x8197, 0xFF20,0x8198, 0x00A7,0x8199, 0x2606,0x819A, 0x2605,0x819B, 0x25CB,0= x819C, 0x25CF,0x819D, 0x25CE,0x819E, 0x25C7,0x819F, 0x25C6,0x81A0, 0x25A1,0= x81A1, 0x25A0,0x81A2, 0x25B3,0x81A3, 0x25B2,0x81A4, 0x25BD,0x81A5, 0x25BC,0= x81A6, 0x203B,0x81A7, 0x3012,0x81A8, 0x2192,0x81A9, 0x2190,0x81AA, 0x2191,0= x81AB, 0x2193,0x81AC, 0x3013,0x81B8, 0x2208,0x81B9, 0x220B,0x81BA, 0x2286,0= x81BB, 0x2287,0x81BC, 0x2282,0x81BD, 0x2283,0x81BE, 0x222A,0x81BF, 0x2229,0= x81C8, --8<---------------cut here---------------end--------------->8--- I don't think this qualifies as source code. Could you look into how these source come into existence? Otherwise it's akin to bundling binaries, which we strive to not do in Guix. Thanks, Maxim