News for hackers. Stuff that matters.
Re:Unfortunate Python by manojlds on Monday December 19, 2011 @08:19PM (#3371886)
Who really uses SimpleHTTPServer in production or for serious work?
Re:Unfortunate Python by obtu on Tuesday December 20, 2011 @09:35AM (#3373569)

  python3 -m http.server 8080
is a useful one-liner to serve a directory over http. There's no good reason to have it in the standard library — mapping directories to html listings and http paths to filesystem paths is a bit idiosyncratic — but now that it's there I'm happy to use it.
Re:Unfortunate Python by _mhp_ on Tuesday December 20, 2011 @11:48AM (#3374087)
I've found it useful as a basis for handling HTTP requests in a test framework I'm working on. Not for testing HTTP, mind you, just as an adjunct for other tests. The 'one header line per packet' responses are a little idiosyncratic though!
Re:Unfortunate Python by mattdeboard on Tuesday December 20, 2011 @12:31AM (#3372424)
In my short time as a professional developer I have learned to never doubt the silly things people do sometimes (including me)
Re:Unfortunate Python by slowpoke on Tuesday December 20, 2011 @06:08AM (#3372992)
Not that I have seen it, but if it works, it ain't stupid.