March 2021

green python two 33

☑ Python 2to3: What’s New in 3.3 - Part 1

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 14 articles that currently make up the “Python 2to3” series, the first of which was Python 2to3: What’s New in 3.0. This article was preceded by Python 2to3: What’s New in 3.2.

Read article →

6 Mar 2021 at 11:11PM in Software
 |   | 
Photo by David Clode on Unsplash
 | 

February 2021

green python two 32

☑ Python 2to3: What’s New in 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 14 articles that currently make up the “Python 2to3” series, the first of which was Python 2to3: What’s New in 3.0. This article was preceded by Python 2to3: What’s New in 3.1.

Read article →

7 Feb 2021 at 1:08PM in Software
 |   | 
Photo by David Clode on Unsplash
 | 

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
 | 

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. This article was preceded by The State of Python Coroutines: asyncio - Callbacks vs. Coroutines.

Read article →

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. This article was preceded by The State of Python Coroutines: Introducing asyncio.

Read article →

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 →

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 →

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

July 2015

broken watches

☑ Time zones and cron

Time zones can be tricky beasts, particularly where daylight savings time is concerned. This post discusses issues around apply them to something like the ubiquitous Unix cron daemon.

Read article →

21 Jul 2015 at 7:09AM in Software
 |   |   | 

July 2013

chains padlock

☑ Passwords: You’re doing it wrong

There are few technical topics about which there’s more FUD than picking a strong password.

Read article →

11 Jul 2013 at 3:55PM in Software
 |   |   | 

← Page 1   |   Page 2 of 3   |   Page 3 →