Task queue problems on localhost with Google App Engine SDK 1.7.2 (Mac)

If you are having problems creating task-queue tasks after upgrading the Google App Engine SDK to 1.7.2 on a Mac, then I am reliably informed that running the following should help the situation:

 
sudo echo "127.0.0.1 b1.localhost" >> /etc/hosts
 

Thanks Lukasz!