Articles on current page (1-2 of 2)

January 2021

green python two 31

☑ Python 2to3: What’s New in 3.1

This article continues to series looking at features added in each release of Python 3.x, with this one covering the move from 3.0 to 3.1. It includes the new contains OrderedDict and Counter, making modules executable as scripts, and marking unit tests as known failures. If you’re puzzled why I’m looking at releases that are years old, check out the first post in the series.

This is the 2nd of the 14 articles that currently make up the “Python 2to3” series, the first of which was Python 2to3: What’s New in 3.0.

Read article →

31 Jan 2021 at 8:45PM in Software
 |   | 
Photo by David Clode on Unsplash
 | 
green python two 30

☑ Python 2to3: What’s New in 3.0

I was slow to make the transition from Python 2 to 3 in the first place, and I never felt like I kept up properly with the new features. So I’m going to aim to do a series of articles looking at a different Python version in each and go through the new features added and catch myself up properly. This one addresses features added in Python 3.0 beyond those already in 2.6, including Unicode by default, type annotations, and exception chaining.

This is the 1st of the 14 articles that currently make up the “Python 2to3” series.

Read article →

21 Jan 2021 at 9:21PM in Software
 |   | 
Photo by David Clode on Unsplash
 |