Re: Rosetta: Zebra puzzle (2.)

2017-05-13 Thread Chris Angelico
On Sun, May 14, 2017 at 11:44 AM, Steve D'Aprano wrote: > "Robert L" No_Spamming@fake-address thinks he is spreading his message of > White Power, but all he is doing is showing what a cowardly, hypocritical, > dumb-arse spammer he is. And here I thought we were supposed to be building more Green

Re: Rosetta: Zebra puzzle (2.)

2017-05-13 Thread Steve D'Aprano
On Sun, 14 May 2017 07:03 am, Jan van den Broek wrote: > On 2017-05-13, Robert L. wrote: > > [Schnipp] > >> def build_permutations things >> if block_given? >> things.permutation.select{|x| yield x} >> else >> things.permutation.to_a >> end >> end > > I fail to recognize the Pyth

Re: Survey: improving the Python std lib docs

2017-05-13 Thread Terry Reedy
On 5/13/2017 1:23 PM, jeanbigbo...@gmail.com wrote: Thank you for bringing up this important topic. As an occasional Python user, I find that Python documentation is all over the usability map - some great, some difficult. The Python docs have been at best a starting point. I usually need

Re: Rosetta: Zebra puzzle (2.)

2017-05-13 Thread MRAB
On 2017-05-13 22:03, Jan van den Broek wrote: On 2017-05-13, Robert L. wrote: [Schnipp] def build_permutations things if block_given? things.permutation.select{|x| yield x} else things.permutation.to_a end end I fail to recognize the Python-version. It's not Python. I believ

Re: Survey: improving the Python std lib docs

2017-05-13 Thread Terry Reedy
On 5/12/2017 6:02 AM, Steve D'Aprano wrote: Here are a couple of suggestions for improving(?) the docs. What do you think? (They're not my ideas, the originated on Reddit.) (1) Table of functions/classes at the start of each module doc The only thing possibly 'new' here is 'each' versus 'se

Re: Rosetta: Zebra puzzle (2.)

2017-05-13 Thread Jan van den Broek
On 2017-05-13, Robert L. wrote: [Schnipp] > def build_permutations things > if block_given? > things.permutation.select{|x| yield x} > else > things.permutation.to_a > end > end I fail to recognize the Python-version. -- Jan v/d Broek balgl...@dds.nl -- https://mail.python.org/

Re: Survey: improving the Python std lib docs

2017-05-13 Thread jeanbigboute
On Friday, May 12, 2017 at 3:02:58 AM UTC-7, Steve D'Aprano wrote: > One of the more controversial aspects of the Python ecosystem is the Python > docs. Some people love them, and some people hate them and describe them as > horrible. > > Here are a couple of suggestions for improving(?) the docs.