Brett Cannon

Where are we in the Python 3 transition?

Or, how the Kübler-Ross model aptly applies to Python 3

The Kübler-Ross model outlines the stages that one goes through in dealing with death:

  1. Denial
  2. Anger
  3. Bargaining
  4. Depression
  5. Acceptance

This is sometimes referred to as the five stages of grief.Some have jokingly called them the five stages of software development. I think it actually matches the . . .

Read More

December 30, 2015

Stop using Python 2.6 please

Or, try not to let RHEL/CentOS default installations hold you back

Image from Fluent Python showing Python releases between 2006 and 2015 small

Python 2.6 has been around for over 7 years, first released in 2008 and last released in 2013 (as shown by the nice image provided by Fluent Python on Twitter and used with permission). It's unsupported software at this point as the Python development team only supports a feature release of Python with bugfix releases until the . . .

Read More

December 20, 2015

Why Python 3 exists

Or, the whole unicode/str/bytes thing was done for a reason

This month I held a Q&A at PuPPy (the Puget Sound Python users group) that eventually led to me explaining why Python 3 came into existence and the whole string/bytes deal. I ended up receiving a compliment on the explanation which somewhat surprised me since I naively assumed people knew at this point why Python 3 was created. In . . .

Read More

December 16, 2015

If I were designing Python's import from scratch

Or, Lessons learned from implementing import

Talk to any developer that inherits some large, old code base that has developed semantics as time has gone on and they will always have something they wished they could change about the code they inherited. After inheriting import in Python, I too have a list of things I would love to see changed in how it works to make it a bit more sane . . .

Read More

December 03, 2015

Try to not use the Python C API directly

Or, help make it easier to get rid of the GIL

If there is one persnickety thing people ask of python-dev it is for the GIL to go away. People view it as this great bugaboo of performance that hinders CPython in a world where single-core chips are becoming extremely rare. Whether the GIL is really a performance killer as some people believe (it really depends on the type of work you want . . .

Read More

August 12, 2015

Trying out Jupyter Notebooks

Or, my experience porting the "Porting Python 2 code to Python 3" HOWTO to a notebook

I happen to be on the team at Microsoft which recently launched an in-preview Jupyter Notebook service in Azure ML Studio. Before this I had heard of Jupyter Notebooks (nee IPython Notebooks) but I had never bothered installing the requisite software to give them a shot. Perhaps it was knowing that scientists seemed to be the major users of . . .

Read More

August 10, 2015

Archive

Cover image credit: http://goo.gl/photos/re3FDeopYikjWfbK8

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!