[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Kenneth Reitz
Kenneth Reitz added the comment: I fully second Corey's comment. -- nosy: +kennethreitz ___ Python tracker <http://bugs.python.org/issue22450> ___ ___ Pytho

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: There's a difference between boiler-plate and "code". > On Aug 19, 2016, at 10:53 AM, Ethan Furman wrote: > > > Ethan Furman added the comment: > > No magic, but a

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: Explicit is better than implicit :) -- ___ Python tracker <http://bugs.python.org/issue26988> ___ ___ Python-bugs-list mailin

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: This addition to Python, specifically the bare assignment-free `red` syntax would be a huge mistake for the language. It looks like a syntax error to me, and completely destroys my mental model for how Python code either does work or should work. A simple