[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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22450>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 <rep...@bugs.python.org> wrote:
> 
> 
> Ethan Furman added the comment:
> 
> No magic, but a whole heap of extra boiler-plate.  :(
> 
> --
> 
> ___
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue26988>
> ___

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26988>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz

Kenneth Reitz added the comment:

Explicit is better than implicit :)

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26988>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 assignment to `None`, `()`, or imported static `AUTO_ENUM` (or 
similar, akin to subprocess.PIPE) would be *much* preferred.

--
nosy: +kennethreitz

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26988>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com