From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C784A1387FD for ; Sun, 30 Mar 2014 07:56:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D843E09F2; Sun, 30 Mar 2014 07:56:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98F31E09E7 for ; Sun, 30 Mar 2014 07:56:19 +0000 (UTC) Received: from pomiot.lan (77-254-69-105.adsl.inetia.pl [77.254.69.105]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 6F57C33FD99; Sun, 30 Mar 2014 07:56:17 +0000 (UTC) Date: Sun, 30 Mar 2014 09:56:11 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: gentoo-portage-dev@lists.gentoo.org Cc: bernalex@gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH 1/2] Use a localized size formatting function and ISO/IEC prefixes. Message-ID: <20140330095611.5761092c@pomiot.lan> In-Reply-To: <53375126.7070601@gentoo.org> References: <1396118729-14451-1-git-send-email-mgorny@gentoo.org> <53375126.7070601@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/YISz7o82ilHSCP.0ubmFvAO"; protocol="application/pgp-signature" X-Archives-Salt: 56d8cfed-2889-412e-bfa8-672b56de6fb6 X-Archives-Hash: 5bd749113a0709a0a5e2b6822efdddd0 --Sig_/YISz7o82ilHSCP.0ubmFvAO Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dnia 2014-03-30, o godz. 00:03:02 Alexander Berntsen napisa=B3(a): > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > Please use a max 50 char commit message headline, without the period. >=20 > On 29/03/14 19:45, Micha=B3 G=F3rny wrote: > > +import locale +import math > Why not explicitly import what you are going to use? (On the form of > "from foo import bar, baz".) I feel like one of the points in using Python is to explicitly name functions (and modules) which you use, rather than importing everything in a single namespace and having people scroll up and down to see where functions come from. --=20 Best regards, Micha=B3 G=F3rny --Sig_/YISz7o82ilHSCP.0ubmFvAO Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQJ8BAEBCgBmBQJTN84bXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOQBQP/A1TGLSuw01YHvvBtSIaBZ/G 9ZV5GcAHJog+Ig5TDusXAFijbzkq94wNupmoalSe29f9YFR09Gb4DL9mv2u/UfxF gLrUZ4+98WzGnZMPWQ/pVvrODMJtFS1o5OfPty0EbRVFibQsITqXV7pP/AMpLxkO wZU71iuBj2sK2M9CXOVduOvAqpYhV2PCT+kTCChgEaujaXLkeHOk9bHYqxAT0s1m oEovQe0EWp7pRst9uiZrE+8uC2vdneV8TvAdN3xLsOv1vmMdMVY73oZCIVtSMAWS r6ZmfaiIZu7TfKtTf0SBw/+AKLUGrk20ftOphcRL6FFjlXCGnGRAZIpcpIvMgfPI gMCdSIpcayALpudx/OA+sQkDTMzgy6W6jO83HQg49ivL3rhW8w+9W6uEKXl5Y1y1 92J2ZG57+QqIaybUIktTkmidICSjQIo5pr9jRVBlqgB+ZVzu2MbSEms5hPCH58mE 8yXAGzWDXFf5zPI95/f4pLxm9vjHov5unG3TUUJDHgeGuYI9sEgXDcHkkvVZInDY a6NhEfabkVuAzPyqSuhpFqLDWmmZXKuiX22iO3fN6x1MtQfp+4U3phH/nrfh22Nd 3x/7zThhYPL08FmnWSXcOBhadHnXSlj6n1GBa3ayuFuj8Q2HV7p/h5oMLdGD3j6l Skxmdk/3y4QnlrOBmx23 =MSyx -----END PGP SIGNATURE----- --Sig_/YISz7o82ilHSCP.0ubmFvAO--