We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/serhiy-storchaka' closed_at = <Date 2014-07-23.16:04:38.539> created_at = <Date 2014-06-30.17:08:19.867> labels = ['type-bug', 'library'] title = "plistlib.FMT_BINARY behavior doesn't send required dict parameter" updated_at = <Date 2014-07-23.16:04:38.539> user = 'https://github.com/n8henrie'
bugs.python.org fields:
activity = <Date 2014-07-23.16:04:38.539> actor = 'serhiy.storchaka' assignee = 'serhiy.storchaka' closed = True closed_date = <Date 2014-07-23.16:04:38.539> closer = 'serhiy.storchaka' components = ['Library (Lib)'] creation = <Date 2014-06-30.17:08:19.867> creator = 'n8henrie' dependencies = [] files = ['35888'] hgrepos = [] issue_num = 21888 keywords = [] message_count = 4.0 messages = ['221969', '221977', '222483', '223743'] nosy_count = 5.0 nosy_names = ['ronaldoussoren', 'ned.deily', 'python-dev', 'serhiy.storchaka', 'n8henrie'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue21888' versions = ['Python 3.4', 'Python 3.5']
The text was updated successfully, but these errors were encountered:
When using the new plistlib.load and the FMT_BINARY option, line 997:
p = _FORMATS[fmt]['parser'](use_builtin_types=use_builtin_types)
doesn't send the dict_type to _BinaryPlistParser.__init__ (line 601), which has dict_type as a required positional parameter, causing an error
def __init__(self, use_builtin_types, dict_type):
My first bugs.python.org report, hope I'm doing it right...
Sorry, something went wrong.
Thanks for the report. Can you supply a test case and/or a fix patch? Ideally, the test case would be a patch to Lib/test/test_plistlib.py. If you're interested, there's more info here: https://docs.python.org/devguide/
Here is a patch.
New changeset 09746dc1a3b4 by Serhiy Storchaka in branch '3.4': Issue bpo-21888: plistlib's load() and loads() now work if the fmt parameter is http://hg.python.org/cpython/rev/09746dc1a3b4
New changeset 275d02865d11 by Serhiy Storchaka in branch 'default': Issue bpo-21888: plistlib's load() and loads() now work if the fmt parameter is http://hg.python.org/cpython/rev/275d02865d11
serhiy-storchaka
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: