April 2021

python 34

☑ What’s New in Python 3.4 - Part 1

In this series looking at features introduced by every version of Python 3, this one is the first of two covering release 3.4. We look at a universal install of the pip utility, improvements to handling codecs, and the addition of the asyncio and enum modules, among other things.

This is the 6th of the 35 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 28 minutes )

March 2021

python 33

☑ What’s New in Python 3.3 - More New Features

The second of my two articles covering features added in Python 3.3, this one talks about a large number of changes to the standard library, especially in network and OS modules. I also discuss implicit namespace packages, which are a bit niche but can be useful for maintaining large families of packages.

This is the 5th of the 35 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 40 minutes )

python 33

☑ What’s New in Python 3.3 - New Features

The fourth Python 3.x release brought another slew of great new features. So many, in fact, that I’ve split this release into two articles, of which this is the first. Highlights in this part include yield from expressions, mocking support in unittest and virtualenv suppport in the standard library.

This is the 4th of the 35 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 26 minutes )

February 2021

python 32

☑ What’s New in Python 3.2

Another installment in my look at all the new features added to Python in each 3.x release, this one covering 3.2. There’s a lot covered including the argparse module, support for futures, changes to the GIL implementation, SNI support in SSL/TLS, and much more besides. This is my longest article ever by far! 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 3rd of the 35 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 48 minutes )

python 31

☑ What’s New in Python 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 35 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 19 minutes )

January 2021

python 30

☑ What’s New in Python 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 35 articles that currently make up the “Python 3 Releases” series.

Read article ( 33 minutes )

July 2016

python code

☑ The State of Python Coroutines: Python 3.5

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers additional syntax that was added in Python 3.5.

This is the 4th of the 4 articles that currently make up the “State of Python Coroutines” series, the first of which was The State of Python Coroutines: yield from.

Read article ( 11 minutes )

13 Jul 2016 at 7:00PM in Software
 | 
Photo by Andy Pearce
 | 
python code

☑ The State of Python Coroutines: asyncio - Callbacks vs. Coroutines

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers more of the asyncio module that was added in Python 3.4.

This is the 3rd of the 4 articles that currently make up the “State of Python Coroutines” series, the first of which was The State of Python Coroutines: yield from.

Read article ( 16 minutes )

5 Jul 2016 at 7:45AM in Software
 | 
Photo by Andy Pearce
 | 

June 2016

python code

☑ The State of Python Coroutines: Introducing asyncio

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers parts of the asyncio module that was added in Python 3.4.

This is the 2nd of the 4 articles that currently make up the “State of Python Coroutines” series, the first of which was The State of Python Coroutines: yield from.

Read article ( 7 minutes )

16 Jun 2016 at 8:29AM in Software
 | 
Photo by Andy Pearce
 | 
python code

☑ The State of Python Coroutines: yield from

I recently spotted that Python 3.5 has added yet more features to make coroutines more straightforward to implement and use. Since I’m well behind the curve I thought I’d bring myself back up to date over a series of blog posts, each going over some functionality added in successive Python versions — this one covers the facilities up to and including the yield from syntax added in Python 3.3.

This is the 1st of the 4 articles that currently make up the “State of Python Coroutines” series.

Read article ( 9 minutes )

10 Jun 2016 at 7:58AM in Software
 | 
Photo by Andy Pearce
 | 

⇐ Page 1   |   ← Page 3   |   Page 4 of 5   |   Page 5 →