Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix DirectEntry._autoCapitalize() on Python 3.x #628
This pull request aims to resolve the following crash with DirectEntry._autoCapitalize() under Python 3.x (Specifically Python 3.7.2 included with the current release of Panda3D 1.10.2, 64-bit, under Windows 10):
Two simple changes in the
A simple unit test was also included to test this, and a simple test program can be found here: https://pastebin.com/P5sjhYQt
@rdb Hi there, I have made the necessary changes you have requested. Sorry about the extended delay.
I am not entirely sure if this is 100% ideal, as I am setting the UTF-8 encoding within the unit test itself, nevertheless it does function as intended on both Python 2.x & Python 3.x.