[issue22217] Reprs for zipfile classes

2014-10-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 82fd95c2851b by Serhiy Storchaka in branch 'default':
Issue #22217: Implemented reprs of classes in the zipfile module.
https://hg.python.org/cpython/rev/82fd95c2851b

--
nosy: +python-dev

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



[issue22217] Reprs for zipfile classes

2014-10-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Berker and Ezio for your reviews.

--
resolution:  - fixed
stage: commit review - resolved
status: open - closed

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



[issue22217] Reprs for zipfile classes

2014-10-28 Thread Ezio Melotti

Ezio Melotti added the comment:

LGTM

--
nosy: +ezio.melotti
stage: patch review - commit review

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



[issue22217] Reprs for zipfile classes

2014-08-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Updated patch addresses Berker's comments.

--
Added file: http://bugs.python.org/file36426/zipfile_reprs_2.patch

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



[issue22217] Reprs for zipfile classes

2014-08-17 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch implements __repr__() methods of three zipfile classes: ZipFile, 
ZipInfo and ZipExtFile. Example:

 import zipfile
 zf = 
 zipfile.ZipFile('/usr/share/doc/texlive-base/support/makeindex/ind-src.zip')
 zf
zipfile.ZipFile 
filename='/usr/share/doc/texlive-base/support/makeindex/ind-src.zip' mode='r'
 zf.infolist()[:2]
[ZipInfo filename='ind-src/' filemode=drwxr-xr-x external_attr=0x10, ZipInfo 
filename='ind-src/fig1.tex' compress_type=deflate filemode=-r--r--r-- 
external_attr=0x1 file_size=1553 compress_size=518]
 zf.open('ind-src/fig1.tex')
zipfile.ZipExtFile name='ind-src/fig1.tex' mode='r' compress_type=deflate

--
assignee: serhiy.storchaka
components: Library (Lib)
messages: 225451
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Reprs for zipfile classes
type: enhancement
versions: Python 3.5

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



[issue22217] Reprs for zipfile classes

2014-08-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file36397/zipfile_reprs.diff

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