mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
5 lines
344 B
ReStructuredText
5 lines
344 B
ReStructuredText
Added DeprecationWarning when accessing the tarfile attribute of TarInfo
|
|
objects. The attribute is never used internally and is only attached to
|
|
TarInfos when the tarfile is opened in write-mode, not read-mode. The
|
|
attribute creates an unnecessary reference cycle which may cause
|
|
corruption when not closing the handle after writing a tarfile.
|