diff options
author | Max Bernstein <tekknolagi@users.noreply.github.com> | 2019-05-21 17:09:21 (GMT) |
---|---|---|
committer | Dino Viehland <dinoviehland@fb.com> | 2019-05-21 17:09:21 (GMT) |
commit | ccb7ca728e09b307f9e9fd36ec40353137e68a3b (patch) | |
tree | 9e6f4e0a52d338e950c8e6a729c5dffa7197ae2d /Misc | |
parent | ad098b6750f4d74387ac21c8e23ae1ee7ff13571 (diff) | |
download | cpython-ccb7ca728e09b307f9e9fd36ec40353137e68a3b.zip cpython-ccb7ca728e09b307f9e9fd36ec40353137e68a3b.tar.gz cpython-ccb7ca728e09b307f9e9fd36ec40353137e68a3b.tar.bz2 |
bpo-36929: Modify io/re tests to allow for missing mod name (#13392)
* bpo-36929: Modify io/re tests to allow for missing mod name
For a vanishingly small number of internal types, CPython sets the
tp_name slot to mod_name.type_name, either in the PyTypeObject or the
PyType_Spec. There are a few minor places where this surfaces:
* Custom repr functions for those types (some of which ignore the
tp_name in favor of using a string literal, such as _io.TextIOWrapper)
* Pickling error messages
The test suite only tests the former. This commit modifies the test
suite to allow Python implementations to omit the module prefix.
https://bugs.python.org/issue36929
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ Michel Van den Bergh Julian Berman Brice Berna Olivier Bernard +Maxwell Bernstein Eric Beser Steven Bethard Stephen Bevan |