Feature or enhancement
This code is scheduled to be removed in 3.16:
| @property | |
| def tarfile(self): | |
| import warnings | |
| warnings.warn( | |
| 'The undocumented "tarfile" attribute of TarInfo objects ' | |
| + 'is deprecated and will be removed in Python 3.16', | |
| DeprecationWarning, stacklevel=2) | |
| return self._tarfile | |
| @tarfile.setter | |
| def tarfile(self, tarfile): | |
| import warnings | |
| warnings.warn( | |
| 'The undocumented "tarfile" attribute of TarInfo objects ' | |
| + 'is deprecated and will be removed in Python 3.16', | |
| DeprecationWarning, stacklevel=2) | |
| self._tarfile = tarfile |