classification
Title: [DOC] Precise that Tarfile "format" argument only concerns writing.
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: lars.gustaebel, pakal, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2019-06-26 07:40 by pakal, last changed 2019-06-26 08:40 by xtreak.

Pull Requests
URL Status Linked Edit
PR 14389 open python-dev, 2019-06-26 07:47
Messages (4)
msg346586 - (view) Author: Pascal Chambon (pakal) Date: 2019-06-26 07:40
According to https://bugs.python.org/issue30661#msg339300 , "format" argument of Tarfile.open() only concerns the writing of files. It's worth mentioning it in the doc, if it's True (confirmation from core maintainers is welcome).
msg346587 - (view) Author: Pascal Chambon (pakal) Date: 2019-06-26 07:44
PR is on https://github.com/pakal/cpython/pull/1
msg346589 - (view) Author: Pascal Chambon (pakal) Date: 2019-06-26 07:49
My bad, this was a wrongly targeted PR, the real one is here: https://github.com/python/cpython/pull/14389
msg346590 - (view) Author: Pascal Chambon (pakal) Date: 2019-06-26 08:03
Looking at tarfile.py, "format" seems only used in addfile() indeed.
History
Date User Action Args
2019-06-26 08:40:09xtreaksetnosy: + lars.gustaebel, serhiy.storchaka

type: behavior
versions: + Python 3.9
2019-06-26 08:03:39pakalsetmessages: + msg346590
2019-06-26 07:49:15pakalsetmessages: + msg346589
2019-06-26 07:47:29python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request14203
2019-06-26 07:44:15pakalsetmessages: + msg346587
2019-06-26 07:40:19pakalcreate