Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: bernalex@g.o
Subject: Re: [gentoo-portage-dev] [PATCH 1/2] Use a localized size formatting function and ISO/IEC prefixes.
Date: Sun, 30 Mar 2014 07:56:25
Message-Id: 20140330095611.5761092c@pomiot.lan
In Reply to: Re: [gentoo-portage-dev] [PATCH 1/2] Use a localized size formatting function and ISO/IEC prefixes. by Alexander Berntsen
1 Dnia 2014-03-30, o godz. 00:03:02
2 Alexander Berntsen <bernalex@g.o> napisał(a):
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA256
6 >
7 > Please use a max 50 char commit message headline, without the period.
8 >
9 > On 29/03/14 19:45, Michał Górny wrote:
10 > > +import locale +import math
11 > Why not explicitly import what you are going to use? (On the form of
12 > "from foo import bar, baz".)
13
14 I feel like one of the points in using Python is to explicitly name
15 functions (and modules) which you use, rather than importing everything
16 in a single namespace and having people scroll up and down to see where
17 functions come from.
18
19 --
20 Best regards,
21 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies