str() truncates at 1023



  • I've mentioned this on Discord recently, so it's a known undocumented limitation by now, but since it had cost me some time to find out, I think it deserves a mention on the forum:

    The str function truncates the returned result at 1023 characters (even if the input value is a larger string).



  • Thanks for the report, I put it on the to-do list!


Log in to reply