Problem using cx_Freeze > auto-py-to-exe

Grant Edwards grant.b.edwards at gmail.com
Thu Aug 18 20:05:43 EDT 2022


On 2022-08-18, Chris Angelico <rosuav at gmail.com> wrote:
> On Fri, 19 Aug 2022 at 05:05, Grant Edwards <grant.b.edwards at gmail.com> wrote:
>> On 2022-08-18, Chris Angelico <rosuav at gmail.com> wrote:
>>
>> > It's one of the frustrations with JSON, since that format doesn't
>> > allow the trailing comma :)
>>
>> Yep, that's a constant, low-level pain for all the C code I deal with
>> which generates JSON. You'd think after 10+ years of maintaining code
>> that outputs JSON, I wouldn't trip over that any longer...
>
> With some JSON files, I just cheat and define a shim at the end of arrays...
>
> https://raw.githubusercontent.com/Rosuav/MustardMine/master/template.json

That's OK if it's strictly internal. Almost all of the JSON data I
work with is part of published APIs — many of which are defined by
industry consortiums or corporate-wide "standards".

--
Grant




More information about the Python-list mailing list