From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Python package naming: Dots vs hyphens Date: Mon, 11 Nov 2019 11:30:21 +0200 Message-ID: <20191111093021.GG3954@E5400> References: <20191106064955.rks6qsypuym6v6pt@pelzflorian.localdomain> <20191110105722.GB30909@jurong> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r5lq+205vWdkqwtk" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41657) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU62E-0003eC-Sv for guix-devel@gnu.org; Mon, 11 Nov 2019 04:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iU62D-0004B8-0g for guix-devel@gnu.org; Mon, 11 Nov 2019 04:30:58 -0500 Received: from flashner.co.il ([178.62.234.194]:56470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iU62A-00040v-Ek for guix-devel@gnu.org; Mon, 11 Nov 2019 04:30:55 -0500 Content-Disposition: inline In-Reply-To: <20191110105722.GB30909@jurong> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: guix-devel@gnu.org --r5lq+205vWdkqwtk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 10, 2019 at 11:57:22AM +0100, Andreas Enge wrote: > Hello, >=20 > On Wed, Nov 06, 2019 at 07:49:56AM +0100, pelzflorian (Florian Pelz) wrot= e: > > Shall I rename python-zope-* to python-zope.*? >=20 > the package naming guidelines say "replace underscores by hyphens". > I would extend this to say "replace punctuation marks by (one) hyphen". > Probably when we wrote the paragraph, the case had not presented > itself yet. Similar things are done at least in perl, where the "::" > of the module hierarchy is replaced by "-". Is this case analogous to > python? >=20 Not entirely, my understanding of Perl is that the double colon is part of the namespacing of the language. In python the '.' is part of the package name. I would also point out that for Go the '.' is effectively part of the package name and we change them all to hyphens. I think hyphens is the way to go here. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --r5lq+205vWdkqwtk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl3JKi0ACgkQQarn3Mo9 g1GxOA//WY8R/+5GYYUfErRLcXPz4kYTr9Hlknt6BF9NKwBG84xRDu5eCcnnDZVB OGB0kLUUGqgEr0DYhghSFk11bZpfhxtD1iTsnN+odiVv/zBcLB2zWMuXKvDL1Qhy uU5Hxb5JzPlr3w28NIbOremdflNSY5NKlUPd9ZFQn8vdUQUhmCw5aaC9HO4P6qOA GtXbzIMkIuRNbxM70bNjWb5XsP6OGBzkFoQEop1GgmMNJgz/T4lYIEawWAfui2oF 7jtNQoXU1GPKPfRktrU/Rww22dinc3srfULSBSObaswfgrVmTqJ3AlqtReFOxiEk RM9z8tQe25Kt4ZDqJhTCDrvn5IGBpnkN80GkyB983KFn4AfE4eBRBwL0sKLdtrr9 JkudqXffXcjuraJ+fHD73+VkZahhCuKTvWlAYG+v9rO/E80evqoXjgr2HXeg58Rt znLIsljqj544P21yF+YZOwAlqyItOaBLXQ42v3mB8AW5g4n56tZA8M1OK59NgDu+ Yr66AWjJBLRHwq5mtPQmxMGoO3s2UUYehJjeW76O3xUeQHCgYyE4D62IWLJQAzrK VRxXtXJgjjOOqy8oRzPieZJ8jAqQXmxavERbdtei737h9mEHVv4SzvL3OCRmeAgH QNFnJjNJIVZIHLIt/VoOIOYftRUEP1N9pMCjW+cJq5DuUu2GKHk= =ZtUn -----END PGP SIGNATURE----- --r5lq+205vWdkqwtk--