[python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Brett Cannon
It says they are "highly discouraged" because "absolute imports are more portable and usually more readable", but now that people have had a chance to use explicit relative imports, do people still believe this? I mean if we truly believed this then why did we add the syntax? I know I have used it

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Fred Drake
On Fri, Feb 18, 2011 at 3:36 PM, Brett Cannon wrote: > It says they are "highly discouraged" because "absolute imports are > more portable and usually more readable", but now that people have had > a chance to use explicit relative imports, do people still believe > this? I mean if we truly believ

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Antoine Pitrou
Le vendredi 18 février 2011 à 12:36 -0800, Brett Cannon a écrit : > It says they are "highly discouraged" because "absolute imports are > more portable and usually more readable", but now that people have had > a chance to use explicit relative imports, do people still believe > this? I mean if we

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Fred Drake
On Fri, Feb 18, 2011 at 3:59 PM, Antoine Pitrou wrote: > (especially non-trivial variants such as "from ..foo import bar"). Eeewe. More than one leading "." should be considered a bug.   -Fred -- Fred L. Drake, Jr.    "A storm broke loose in my mind."  --Albert Einstein _

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread M.-A. Lemburg
Brett Cannon wrote: > It says they are "highly discouraged" because "absolute imports are > more portable and usually more readable", but now that people have had > a chance to use explicit relative imports, do people still believe > this? I mean if we truly believed this then why did we add the sy

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Jim Fulton
On Fri, Feb 18, 2011 at 3:36 PM, Brett Cannon wrote: > It says they are "highly discouraged" because "absolute imports are > more portable and usually more readable", but now that people have had > a chance to use explicit relative imports, do people still believe > this? I mean if we truly believ

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Tarek Ziadé
On Fri, Feb 18, 2011 at 10:35 PM, M.-A. Lemburg wrote: > Brett Cannon wrote: >> It says they are "highly discouraged" because "absolute imports are >> more portable and usually more readable", but now that people have had >> a chance to use explicit relative imports, do people still believe >> thi

Re: [python-committers] do we still believe explicit relative imports are bad as PEP 8 claims?

2011-02-18 Thread Raymond Hettinger
On Feb 18, 2011, at 12:36 PM, Brett Cannon wrote: > It says they are "highly discouraged" because "absolute imports are > more portable and usually more readable", but now that people have had > a chance to use explicit relative imports, do people still believe > this? I mean if we truly believed