Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One that really surprised/confused me was that pyaml (and the yaml spec) attempts to interpret any 0-prefixed string into an octal number.

There was a list of AWS Account IDs that parsed just fine until someone added one that started with a 0 and had no numbers greater than 7 in it, after which our parser started spitting out decidedly different values than we were expecting. Fixing it was easy, but figuring out what in the heck was going on took some digging.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: