HN Hall of Fame Weekly email

Key differences between Python 2.7.x and Python 3.x (2014)

sebastianraschka.com Books & learning Tutorials & guides Software engineering Candidate
Screenshot of sebastianraschka.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 4 calendar years, with breakout response in 2 of them.

submissions
7
submitters
2
observed span
2014–2021
peak thread · 168 comments
212 pts
latest 20+ return · 2017-05-07
212 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

"I would say there is currently no “right” or “wrong” as long as both Python 2.7.x and Python 3.x support the libraries that you are planning to use." I would like to consider python for my next project, but this is extremely short sighted advice which begs the very real question: why should I consider python at all for a new, multi year project when there is no clear path forward for the language and there hasn't been in a…

mnm1·212-point thread·

"Now, in Python 3, we finally have Unicode (utf-8) strings, and 2 byte classes: byte and bytearrays." No, they are Unicode strings. utf-8 is an encoding, and only comes into play when you want to encode strings into bytes for sending them somewhere, or decode them from bytes when receiving them. The interpreter's internal representation of the string is either UCS-4 or an automatically selected encoding (http://legacy.python.org/dev/peps/pep-0393/), but that is an irrelevant implementation detail. Conceptually…

ak217·108-point thread·

"Now, in Python 3, we finally have Unicode (utf-8) strings" This is not correct. Python strings are either ASCII, UCS-2 or UCS-4 depending on what code points they contain. Python 3 source code is by default UTF-8 and string literals are converted to the internal representation. You have to encode strings into UTF-8 bytes to actually get UTF-8 when executing the program.

Avernar·8-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
332

reference only — not used in Hall rules or ranking

Total comments
186

reference only — not used in Hall rules or ranking

Every submission