News for hackers. Stuff that matters.
Re:Brython – A Python 3 implementation for client-side web p... by temporarysdwvit on Monday July 06, 2020 @11:06AM (#23748703)
Oh you can, just implement toString and js will use it for hashing
Re:Brython – A Python 3 implementation for client-side web p... by IshKebab on Tuesday July 07, 2020 @08:31AM (#23758486)
No it won't.
Re:Brython – A Python 3 implementation for client-side web p... by yqot on Tuesday July 07, 2020 @01:59PM (#23762083)
Map, no. Plain object, yes.
Re:Brython – A Python 3 implementation for client-side web p... by IshKebab on Saturday July 11, 2020 @08:06AM (#23801492)
It doesn't "use `toString` for hashing", it just converts the key to a string. That is not the same (e.g. you can't recover the original key).