drgn/tests
Omar Sandoval 7d7aa7bf7b libdrgn/python: remove Type == operator
The == operator on drgn.Type is only intended for testing. It's
expensive and slow and not what people usually want. It's going to get
even more awkward to define once types can refer to objects (for
template parameters and static members and such). Let's replace == with
a new identical() function only available in unit tests. Then, remove
the operator from the Python bindings as well as the underlying libdrgn
drgn_type_eq() and drgn_qualified_type_eq() functions.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-12-22 03:11:38 -08:00
..
helpers libdrgn: linux kernel: remove THREAD_SIZE object finder 2020-12-10 02:08:13 -08:00
__init__.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
dwarf.py Add DW_LANG to generated dwarf.py 2020-02-26 19:55:42 -08:00
dwarfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
elf.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
elfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
libdrgn.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_docs.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_dwarf.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
test_language_c.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
test_lexer.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_object.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
test_path.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_platform.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_program.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
test_python.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_serialize.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_type.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
test_util.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00