[issue9329] freeze tool cannot handle JSON module properly

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: .decode('hex') no longer used in Python 3. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue9329] freeze tool cannot handle JSON module properly

2011-07-11 Thread Elazar Leibovich
Elazar Leibovich elaz...@gmail.com added the comment: Similar problem occurs if you do not specify from encodings import ascii You can get LookupError: unknown encoding: ascii -- nosy: +Elazar.Leibovich status: pending - open ___ Python

[issue9329] freeze tool cannot handle JSON module properly

2010-07-22 Thread Sam Saint-Pettersen
New submission from Sam Saint-Pettersen s.stpetter...@gmail.com: Freeze tool can generate Makefile and C code for Python programs using the JSON module. The code can be compiled fine, but when a program using the JSON module is run, this is returned: Traceback (most recent call last): 2

[issue9329] freeze tool cannot handle JSON module properly

2010-07-22 Thread Sam Saint-Pettersen
Sam Saint-Pettersen s.stpetter...@gmail.com added the comment: Problem occurs with frozen programs if: from encodings import hex_codec ...is not explicitly written in the script. -- status: open - pending ___ Python tracker rep...@bugs.python.org