Re: [Python-ideas] Serialization of CSV vs. JSON

2018-11-06 Thread David Shawley
On Nov 4, 2018, at 12:43 PM, Michael Selik wrote: > If you're making a module >> > > On Sun, Nov 4, 2018, 5:49 AM David Shawley > Personally, I would place this sort of serialization logic outside of the > > Standard Library -- maybe following the pattern that the rust community > > adopted on th

Re: [Python-ideas] Add "default" kwarg to list.pop()

2018-11-06 Thread Abe Dillon
I don't understand the rationale behind PEP 463's rejection. Guido says, "I disagree with the position that EAFP is better than LBYL, or "generally recommended" by Python. (Where do you get that?..."; but it's been in the official Python.org docs for a whil

Re: [Python-ideas] Add "default" kwarg to list.pop()

2018-11-06 Thread Chris Angelico
On Wed, Nov 7, 2018 at 6:04 AM Abe Dillon wrote: > > Which brings me to the question: What happens when a PEP gets rejected? Is it > final? Is there a process for reviving a PEP? It remains as a permanent document. No, that isn't final; and the process for reviving a PEP basically consists of an

Re: [Python-ideas] Add "default" kwarg to list.pop()

2018-11-06 Thread Steven D'Aprano
On Tue, Nov 06, 2018 at 01:03:54PM -0600, Abe Dillon wrote: > I don't understand the rationale behind PEP 463's rejection. Guido says, "I > disagree with the position that EAFP is better than LBYL, or "generally > recommended" by Python. (Where do you get that?..."; I can't comment on Guido's que

Re: [Python-ideas] Serialization of CSV vs. JSON

2018-11-06 Thread Eric V. Smith
On 11/6/2018 6:46 AM, David Shawley wrote: On Nov 4, 2018, at 12:43 PM, Michael Selik > wrote: > If you're making a module >> > > On Sun, Nov 4, 2018, 5:49 AM David Shawley wrote: > > Personally, I would place this sort of serializati