David (dblume) wrote,

Baby's first urllib2.URLError

If you subscribe to any of my syndicated-feeds-for-static-sites, you'll see a one-time false positive because I changed the feed's item text today.

For what it's worth (in bandwidth credits), Chuck Shepard's News of the Weird successfully returns HTTP code 304, and my daemon honors it.  So we've got bandwidth green credits to sell.

But yesterday, my daemon got its first URLError -2 (Name or service not known).  Geek that I am, it gave me a little thrill to see how the exception was handled, and to add a little code that'll further isolate the exception.  Whee!  I program all day at the office, then go home and have fun programming a little more.  I'm easy to please.
Tags: programming, python, web

  • Progress on my Google+ and LJ backups

    Since Google is going to shut down Google+, I decided it was time to really make a home for my LiveJournal backup and my Google+ backup. Working…

  • Getting Shit Done

    I came across an old LifeHacker article Get Shit Done Blocks Distracting Web Sites So You Can Do As the Name Instructs, that mentions a productivity…

  • Fifth Grade Homework - Nine digit pandigital prime number

    Yesterday my daughter in the fifth grade got the following homework assignment "arrange the digits one through nine into a nine-digit prime number."…

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded