bunch icon indicating copy to clipboard operation
bunch copied to clipboard

A Bunch is a Python dictionary that provides attribute-style access (a la JavaScript objects).

Results 47 bunch issues
Sort by recently updated
recently updated
newest added

My friend thanks for this amazing library , but please would be possible add support to python 3. I think that is only change iteritems by items() , return Bunch(...

This lib seems promising, I would like to use it but I can't due to an small bug in the python 3 validation

Fixed python version detection. Bunch works now in python3 environments.

The __contains__ method is actually redundant and causes a strange behavior documented in the additional tests in this pull request.

Does this `Bunch` implementation support Python 3? I get some test errors with Python 3.4: https://gist.github.com/cdeil/5525c1ee193f1426ee8b And Python 3 support is not listed via the `setup.py` classifiers: https://pypi.python.org/pypi/bunch/ If it...

platform.version() doesn't return the python version. platform.python_version() or platform.python_version_tuple() would also work but sys.version_info is more popular.

Once checked that __contains__ is not required by the tests in its docstrings we can remove it.

The calls to the upper-class methods should use dict instead of object. Maybe pedantic as there is no impact and it is unlikely to have the __getattribute__, __delattr__, and __setattr__...