Hacker News new | ask | show | jobs
by zubat 3329 days ago
It barely registered for me at the time that Python had changed. But using it back then, it felt quite a bit similar between late 1.x and early 2.x, just with creature comforts gradually appearing and bulking up the language:

No decorators

Old-style classes(a distinction that makes almost no difference if you are using the class as a simple container with no inherited methods).

List comprehensions appeared in 2.0 and I struggled to grasp them for a little while.

The runtime might not have supported any cyclical reference collection(or I was just unaware at that point, being a student).

No iterators (2.1) or generators (2.2)

Python 1 to 2 was a simple transition, as it didn't do much to reassess the language's basics.