diff options
| author | xmo-odoo <xmo@odoo.com> | 2017-04-24 15:19:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-24 15:19:30 +0200 |
| commit | 95702929b185372128c4bfb1d6f09a15b0479dd0 (patch) | |
| tree | 8412af35a72635854de79cdb9a724f6d89f8bcb8 /addons/web/static/src/js/fields | |
| parent | 06db778cfd5c49d53b861db06ea00f2b0b374a5f (diff) | |
[FIX] types module usage
Most of the type aliases in the types modules are remnants from when
the corresponding builtins were just conversion functions and not
proper types (before type and class unification).
Python 3 removes them, and thus `types` essentially can't be used in
P3, it now only contains "interpreter" types which can't trivially be
obtained elsewhere (e.g. GeneratorType, CodeType, TracebackType) and
tooling to dynamically create new types (added in 3.3).
Convert a bunch of types usages in yaml_import to use the
corresponding builtin types.
fixers:
lib2to3.fixes.fix_types
#8530
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
