crimsoncor 9ea39dc356
Force the builtin module key to be the correct type. (#2814)
* Force the builtin module key to be the correct type.

Previously it was always going to be a std::string which converted into
unicode. Python 2 appears to want module keys to be normal str types, so
this was breaking code that expected plain string types in the
builtins.keys() data structure

* Add a simple unit test to ensure all built-in keys are str

* Update the unit test so it will also run on pypy

* Run pre-commit.

Co-authored-by: Jesse Clemens <jesse.clemens@sony.com>
2021-01-24 09:17:28 -08:00
..
2020-08-20 11:58:34 -04:00
2017-01-31 17:05:44 +01:00
2020-10-15 17:38:49 -04:00
2020-07-26 09:25:27 -04:00
2020-11-19 12:09:33 +01:00
2020-11-19 12:09:33 +01:00