Skip to content

Python 3.8 - Runtime error sanitizing python keywords from dictionary #1561

@oldarmyc

Description

@oldarmyc

In Python 3.8 the following error is generated when sanitizing python keywords for a dictionary

Traceback

Traceback (most recent call last):
  File "python3.8/site-packages/f5/bigip/resource.py", line 813, in get_collection
    instance._local_update(item)
  File "python3.8/site-packages/f5/bigip/resource.py", line 514, in _local_update
    sanitized = self._check_keys(rdict)
  File "python3.8/site-packages/f5/bigip/resource.py", line 491, in _check_keys
    for x in rdict:

Error: RuntimeError: dictionary keys changed during iteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions