PythonJS/PythonJS — pull request #106 by shekhargulati (2014-06-09 08:46:12+00:00)
Title: Added support for address in listen method

I was trying to deploy the example PythonJS application on OpenShift(a Platform as a Service) but faced an issue where I need to specify the ipaddress in addition to port. In environments like OpenShift you can't bind to localhost as that is restricted. With the current implementation, a user can't specify the ip or address. Tornado API supports address https://github.com/tornadoweb/tornado/blob/master/tornado/web.py#L1707. After making this change I can run the sample app on OpenShift http://pythonjs-sgdemo.rhcloud.com/helloworld.html