[issue24496] Non-idiomatic examples in gzip docs

2015-06-25 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 10eea15880db by Berker Peksag in branch '2.7':
Issue #24496: Backport gzip examples to Python 2.
https://hg.python.org/cpython/rev/10eea15880db

--
nosy: +python-dev

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



[issue24496] Non-idiomatic examples in gzip docs

2015-06-25 Thread Berker Peksag

Berker Peksag added the comment:

Thanks for the patch, Jakub. I've updated the patch to match ae1528beae67 
(thanks Martin) and commit it.

--
nosy: +berker.peksag
resolution:  - fixed
stage:  - resolved
status: open - closed

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



[issue24496] Non-idiomatic examples in gzip docs

2015-06-24 Thread Jakub Kadlčík

New submission from Jakub Kadlčík:

Hello, I think there are awesome example code snippets in gzip documentation. 
No doubt, they helped me a lot.

The only problem is that they are not idiomatic. They look like C more than 
Python.

I suggest following patch

--
assignee: docs@python
components: Documentation
files: idiomatic-gzip.diff
keywords: patch
messages: 245729
nosy: FrostyX, docs@python
priority: normal
severity: normal
status: open
title: Non-idiomatic examples in gzip docs
type: enhancement
Added file: http://bugs.python.org/file39796/idiomatic-gzip.diff

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



[issue24496] Non-idiomatic examples in gzip docs

2015-06-24 Thread Martin Panter

Martin Panter added the comment:

It looks like this is for Python 2. I agree with the change, but I suggest 
back-porting revisions 35c53e7e2280, a01992e219c0 and ae1528beae67 (Issue 
21146) instead, to match the Python 3 documentation.

--
nosy: +vadmium
versions: +Python 2.7

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