Skip to content
New issue

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

I Think I find a bug in werkzeug.datastructures.ImmutableList #492

Closed
KaimingTao opened this issue Feb 4, 2014 · 4 comments
Closed

I Think I find a bug in werkzeug.datastructures.ImmutableList #492

KaimingTao opened this issue Feb 4, 2014 · 4 comments
Labels

Comments

@KaimingTao
Copy link
Contributor

See This

    def __repr__(self):
        return '%s(%s)' % (
            self.__class__.__name__,
            dict.__repr__(self),
        )

When Called repr to a ImmutableList, there will raise an Exception:

TypeError: descriptor '__repr__' requires a 'dict' object but received a 'ImmutableList'

Because, ImmutableList is not a dict But a list

DasIch pushed a commit that referenced this issue Mar 21, 2014
@virajkanwade
Copy link

This is still not fixed in version = '0.9.6'.

Could you please pull this commit and update the pip release?

@untitaker
Copy link
Contributor

This is already fixed in master.

@virajkanwade
Copy link

Sorry, but for some reason, the version which pip installs on CentOS 6 does not have this fix! Is this fix released? What is the expected release date?
Thanks.

@untitaker
Copy link
Contributor

I am sorry to say that there is no expected release date. Werkzeug and Flask are currently getting new maintainers, see https://github.com/pocoo/metaflask/issues/6

untitaker pushed a commit that referenced this issue Aug 22, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants