[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

[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

[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

[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