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

The largest new feature in Python 2.0 is a new fundamental data type: Unicode strings. Unicode uses 16-bit numbers to represent characters instead of the 8-bit number used by ASCII, meaning that 65,536 distinct characters can be supported.

It's interesting that both Python 2.0 and Python 3.0 made fundamental changes to how the language deals with text.



I can see why they redid Unicode in 3.0, if that was their understanding of what Unicode was.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: