Binding `__contains__` to the Space class' contains method this way prevents overriding it in subclasses, which leads to `NotImplementedException`s when trying to do things like `2 in gym.spaces.Discrete(2)`.
`contains` really should not exist when it does exactly what the builtin
magic method `__contains__` was meant for, but that would break backward
compatibility.
* Improve default import time from 750ms -> 73ms on 2016 Macbook pro
* Support code which expects gym.spaces.foo to work without a direct import of gym.spaces
* Spaces have a compatible method which determines if 2 Spaces are of the same shape, ignoring bounds.
* Added a command interface for Env/Wrappers
* Made command interface more aligned with gym codebase. Added CommandWrapper helper class.
* Refactored method names from command to event/broadcast
* Spaces have a compatible method which determines if 2 Spaces are of the same shape, ignoring bounds.
* Comparing compatibility of a Space with None will result in False now
* add dtype to Box
* remove board_game, debugging, safety, parameter_tuning environments
* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder
* Improve render("human"), now resizable, closable window.
* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods
* CubeCrash unit test environment
* followup fixes
* MemorizeDigits unit test envrionment
* refactored spaces a bit
fixed indentation
disabled test_env_semantics
* fix unit tests
* fixes
* CubeCrash, MemorizeDigits tested
* gym backwards compatibility patch
* gym backwards compatibility, followup fixes
* changelist, add spaces to main namespaces
* undo_logger_setup for backwards compat
* remove configuration.py
* Make sure env.spec always exists and is valid. Previously there was an error when you tried to get the string representation of an unregistered env.
* update changelist
* Add WIP Monitored wrapper
* Remove irrelevant render after close monitor test
* py27 compatibility
* Fix test_benchmark
* Move Monitored out of wrappers __init__
* Turn Monitored into a function that returns a Monitor class
* Fix monitor tests
* Remove deprecated test
* Remove deprecated utility
* Prevent duplicate wrapping, add test
* Fix test
* close env in tests to prevent writing to nonexistent file
* Disable semisuper tests
* typo
* Fix failing spec
* Fix monitoring on semisuper tasks
* Allow disabling of duplicate check
* Rename MonitorManager
* Monitored -> Monitor
* Clean up comments
* Remove cruft
* added continuous mountain car v0
* spotted that the action should be a vector, not a scalar
* fixed bug on action format
* bug fixed in scoreboard registering
* the observation (aka state) should be a numpy array
* added comment on reward range as requested