HTTPServer and SSL

2016-04-17 Thread Radek Holý
Hello, some people recommend following implementation of a simple HTTP server that supports SSL: Handler = http.server.BaseHTTPRequestHandlerhttpd = http.server.HTTPServer(("", 4443), Handler) httpd.socket = ssl.wrap_socket(httpd.socket, server_side=True) httpd.serve_forever() I wonder whether

Re: Pylint prefers list comprehension over filter...

2016-05-07 Thread Radek Holý
2016-05-07 21:17 GMT+02:00 Christopher Reimer : > On 5/5/2016 6:37 PM, Stephen Hansen wrote: > >> On Thu, May 5, 2016, at 06:26 PM, Christopher Reimer wrote: >> >>> Which is one is correct (Pythonic)? Or does it matter? >>> >> First, pylint is somewhat opinionated, and its default options shouldn'

Re: Quote of the day

2016-05-17 Thread Radek Holý
2016-05-17 9:50 GMT+02:00 Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info>: > Overhead in the office today: > > > "I don't have time to learn an existing library - much faster to make my > own > mistakes!" > > > > -- > Steve > > -- > https://mail.python.org/mailman/listinfo/python-list > *