[New-bugs-announce] [issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

Raymond Hettinger report at bugs.python.org
Wed Jan 26 03:27:25 CET 2011


New submission from Raymond Hettinger <rhettinger at users.sourceforge.net>:

In 3.2, tarfile.Tarfile added a 'filter' argument while deprecating the 'exclude' argument that precedes it positionally.

The 'filter' argument needs to be keyword-only argument, or any code that uses it positionally will fail when the 'exclude' argument is ultimately removed.

----------
assignee: georg.brandl
components: Library (Lib)
files: tarfile.patch
keywords: patch
messages: 127083
nosy: georg.brandl, rhettinger
priority: high
severity: normal
stage: patch review
status: open
title: 'filter' argument for Tarfile.add needs to be a keyword-only argument
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file20524/tarfile.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11014>
_______________________________________


More information about the New-bugs-announce mailing list