Changes between and of Initial VersionVersion 2Ticket #5789
- Timestamp:
- 07/17/2012 01:54:35 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5789
- Property summary changed from Replace UserDict imports with collections version to Replace usage of UserDict with twisted.python.compat version
-
Ticket #5789 – description
initial v2 1 `UserDict` was moved to the [http://docs.python.org/py3k/library/collections.html#collections.UserDict collections] module in Python 2.6/3.x. The import for `UserDict` needs to be adjustedor it will throw errors in python 3.1 `UserDict` was moved to the [http://docs.python.org/py3k/library/collections.html#collections.UserDict collections] module in Python 3.x. We can add a twisted.python.compat version, like we did with `execfile` or it will throw errors in python 3. 2 2 3 3 {{{ … … 14 14 }}} 15 15 16 And it looks like `DictMixin` is gone so this cannot simply be fixed by adjusting the import..16 And it looks like `DictMixin` is gone but you should be able to use `MutableMapping` with some adjustment. 17 17 18 18 {{{
