HELP! about long polling!!!

2015-04-23 Thread Thanatos xiao
Hi all: Now I develop an ios app, which need use long polling. when server have data, the server push data to ios app. I use django to backend, Can give me some advice or example ? ths -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-Dev] Released: Python 2.6.9 release candidate 1

2013-09-30 Thread Thanatos xiao
Ooh!ths! 2013/10/1 Barry Warsaw > Hello Pythoneers and Pythonistas, > > I'm happy to announce the availability of Python 2.6.9 release candidate 1. > > Python 2.6.9rc1 is a security-fix source-only release for Python 2.6. This > means that general bug maintenance has ended, and

about pyyaml questions!

2013-08-28 Thread Thanatos xiao
Hi Guys: Now I use pyyaml to load a yaml file, after I dump this load data,but I found an questions,before I load the yaml file,the file looks like: - -b -c - -e -x after I dump this data and write file, the file looks like: - -b -c - -e -x although when dump fil

Re: Hello Everyone! A simple questions!

2013-07-25 Thread Thanatos xiao
gt; In case you really want to insert the lists members into the second place > you can assign a copy of the list. > > values = [0,1,2] > values[1] = values[:] > > > > > > 2013/7/26 Thanatos xiao > >> >>> values = [0, 1, 2]>>> values[1] = values&

Hello Everyone! A simple questions!

2013-07-25 Thread Thanatos xiao
>>> values = [0, 1, 2]>>> values[1] = values>>> values[0, [...], 2] why?? -- http://mail.python.org/mailman/listinfo/python-list

About GIL Questions!

2013-06-19 Thread Thanatos xiao
Hey everyone! Recently I see the python source code, but i still not understand about gil. first, why single core quicker multi-core ? who can explan this in bottom layery ? second, what the different between the mult-core and the single core to schecule threads? thanks! Forgive me bad english! -

python call golang

2013-05-09 Thread Thanatos xiao
Hey ! Now! I have written a python script . I want to call a golang script in python script. Who can give me some advices? thanks! -- http://mail.python.org/mailman/listinfo/python-list