Thanks, sblom. I think that the IronPython team is right in speaking of its mistake in the standard library (or at least the Freeze tool since version 2.7). The problem occurs with frozen programs if from encodings import hex_codec is not explicitly written in the script.
Sorry for the 'necro-post', but this is a problem that I think is relevant, at least with respect to the Freeze tool.
Sam saint-pettersen
source share