[New-bugs-announce] [issue22227] Simplify tarfile iterator

Serhiy Storchaka report at bugs.python.org
Tue Aug 19 10:05:55 CEST 2014

New submission from Serhiy Storchaka:

TarFile iteration can be simplified by using a generator instead of iterator class. Attached patch get rid of the TarIter class and decrease sources size by 16 lines.

components: Library (Lib)
files: tarfile_tariter.diff
keywords: patch
messages: 225521
nosy: lars.gustaebel, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Simplify tarfile iterator
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file36412/tarfile_tariter.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list