"Ben Keene via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: Ben Keene <seraphire@xxxxxxxxx> > > This changelist is an intermediate submission for migrating the P4 > support from Python 2 to Python 3. The code needs access to the > encodeWithUTF8() for support of non-UTF8 filenames in the clone class as > well as the sync class. > > Move the function encodeWithUTF8() from the P4Sync class to a > stand-alone function. This will allow other classes to use this > function without instanciating the P4Sync class. Makes quite a lot of sense, as I do not see a reason why this needs to be attached to any specific instance of P4Sync.