Re: A small question about PEP 8

2013-07-09 Thread llanitedave
I definitely prefer the 'fool' style. -- http://mail.python.org/mailman/listinfo/python-list

Re: A small question about PEP 8

2013-07-09 Thread Xue Fuqiao
On Mon, Jul 8, 2013 at 6:39 PM, Joshua Landau wrote: > On 8 July 2013 00:32, Xue Fuqiao wrote: >> I'm a Python newbie and just started reading PEP 8. PEP 8 says: >> >> --- >> |The closing brace/bracket/parenthesis on multi-line

Re: A small question about PEP 8

2013-07-08 Thread Ethan Furman
On 07/08/2013 03:39 AM, Joshua Landau wrote: On 8 July 2013 00:32, Xue Fuqiao wrote: Hi all, (English is not my native language; please excuse typing errors.) I'm a Python newbie and just started reading PEP 8. PEP says: --

Re: A small question about PEP 8

2013-07-08 Thread Joshua Landau
On 8 July 2013 13:02, Steven D'Aprano wrote: > On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: > Imagine: >> >> """ >> a_wonderful_set_of_things = { >> bannanas_made_of_apples, >> chocolate_covered_horns, >> doors_that_slide, >> china_but_on_the_moon, >> buffalo_with_

Re: A small question about PEP 8

2013-07-08 Thread Dave Angel
On 07/08/2013 08:02 AM, Steven D'Aprano wrote: On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: Or you can (be sane) and put it at no indentation: """ a_wonderful_set_of_things = { ..., not_missing_an_end_brace } """ I consider that the least aesthetically pleasing,

Re: A small question about PEP 8

2013-07-08 Thread Steven D'Aprano
On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: > On 8 July 2013 00:32, Xue Fuqiao wrote: >> Hi all, >> >> (English is not my native language; please excuse typing errors.) >> >> I'm a Python newbie and just started reading PEP 8. PEP says: >> >>

Re: A small question about PEP 8

2013-07-08 Thread Steven D'Aprano
On Mon, 08 Jul 2013 07:32:01 +0800, Xue Fuqiao wrote: > Hi all, > > (English is not my native language; please excuse typing errors.) > > I'm a Python newbie and just started reading PEP 8. PEP says: > > --- > |The closing bra

Re: A small question about PEP 8

2013-07-08 Thread Joshua Landau
On 8 July 2013 00:32, Xue Fuqiao wrote: > Hi all, > > (English is not my native language; please excuse typing errors.) > > I'm a Python newbie and just started reading PEP 8. PEP says: > > --- > |The closing brace/bracket/parent

A small question about PEP 8

2013-07-08 Thread Xue Fuqiao
Hi all, (English is not my native language; please excuse typing errors.) I'm a Python newbie and just started reading PEP 8. PEP says: --- |The closing brace/bracket/parenthesis on multi-line constructs may |either line up und

Re: Question about PEP 8

2007-09-10 Thread Ben Finney
Laszlo Nagy <[EMAIL PROTECTED]> writes: > Here is my problem. There is ConfigParser, StringIO, Queue, > HTMLParser etc. They are all part of the standard library. Yes, many modules in the standard library don't conform to PEP 8; these are known bugs. > Most of these are modules with only a "mai

Re: Question about PEP 8

2007-09-10 Thread Matimus
> will Py3K change the standard library names in order to follow PEP 8?) Just continue down the list of PEPs and you will find the answer: http://www.python.org/dev/peps/pep-3108/#modules-to-rename This covers built-in modules. It doesn't cover 3rd party modules, like wx. Most likely you will st

Question about PEP 8

2007-09-10 Thread Laszlo Nagy
Hi All, Here is what I read in PEP 8: > Package and Module Names > > Modules should have short, all-lowercase names. Underscores can be used > in the module name if it improves readability. Python packages should > also have short, all-lowercase names, although the use o