Ticket #5929 task closed fixed
Port remaining parts of twisted.python.reflect to Python 3
|Reported by:||exarkun||Owned by:||rwall|
(diff, github, buildbot, log)
Many parts of twisted.python.reflect were individually ported to Python 3 as part of the Python 3 minimal milestone. These were moved into twisted.python._reflectpy3 due to technical limitations of the approach taken to porting.
For the full Python 3 port, all the rest of twisted.python.reflect needs to be ported (except for deprecated APIs that we can delete instead). As part of this, twisted/python/_reflectpy3.py should be eliminated and its contents put back into twisted/python/reflect.py.
The test suite, similarly divided, should also be re-unified. One minor but important part of this will be fixing the import of _fullyQualifiedName in twisted.python.test.test_reflectpy3. It is currently not possible to import twisted.python.reflect.fullyQualifiedName, but once twisted.python.reflect is ported it will be, and that spelling should be preferred over twisted.python._deprecatepy3._fullyQualifiedName for the testing of fullyQualifiedName.