理一下过程。测试用py源码:try : raise Exception()except ZeroDivisionError, e : print 1finally : print 2对应字节码: 3 0 SETUP_FINALLY 44 (to 47) 3 SETUP_EXCEPT 13 (to 19) 4 6 LOAD_NAME 0 (Exception) 9 CALL_FUNCTION ... Read More
posted @ 2013-07-20 15:27 meteorx165 Views(536) Comments(0) Diggs(0) Edit
起初以为是个很简单的问题,网上一大片“让nginx日志支持记录POST请求”之类的文章,于是照做,nginx.conf配置为:log_format main '$remote_addr\t$remote_user\t[$time_local]\t"$request"\t$status\t$bytes_sent\t' '"$http_referer"\t"$http_user_agent"\t"$http_cookie"\t"$request_body"';acce Read More
posted @ 2013-07-13 21:02 meteorx165 Views(39209) Comments(9) Diggs(2) Edit