New submission from Elliott Balsley <ebals...@pm.me>:

When you add a TarInfo object created directly in memory, for example from a 
byte string, there is no debug logging available.  `tarfile.add()` logs the 
name of each file added when debug level is 1 or higher.  I think it would be a 
good idea to do the same for `tarfile.addfile()`, perhaps with a higher debug 
level.  It looks like debug=3 is currently unused, even though it's defined in 
the documentation.

----------
components: Library (Lib)
messages: 376448
nosy: ebalsley
priority: normal
severity: normal
status: open
title: Add logfile() when debug is True
type: enhancement
versions: Python 3.7

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

Reply via email to