Cothread: Add sync() method to PV_array

sync() will block until a value is retrieved for each PV.  Also
return copies of numpy arrays so that values do not change
unexpectedly.

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@108793 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Refinement to PV_array .caget method and update documentation

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@108794 e099a375-04f9-0310-9d5f-a741eaff62e1
fix cosocket to work with urllib and HTTPServer (mostly)

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112075 e099a375-04f9-0310-9d5f-a741eaff62e1
cothread compatible SocketSever

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112076 e099a375-04f9-0310-9d5f-a741eaff62e1
cosocket test use coserver

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112077 e099a375-04f9-0310-9d5f-a741eaff62e1
coserver: add __all__ and CoThreadingHTTPServer

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112078 e099a375-04f9-0310-9d5f-a741eaff62e1
coserver: less noise

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112079 e099a375-04f9-0310-9d5f-a741eaff62e1
document coserver and cosocket addition

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112080 e099a375-04f9-0310-9d5f-a741eaff62e1
less noise in wget.py

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112081 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Fixes to code layout

Enforce 80 character columns and spaces after commas.

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112082 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Automate doc string copying for wrapped methods

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112083 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Add GPL 2 header to new coserver.py file

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112084 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Preserve name of wrapped coserver classes

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112089 e099a375-04f9-0310-9d5f-a741eaff62e1
Cothread: Ensure cosocket test works in presence of http_proxy environment

git-svn-id: svn+ssh://serv0002.cs.diamond.ac.uk/home/subversion/repos/controls/diamond/trunk/python/cothread@112107 e099a375-04f9-0310-9d5f-a741eaff62e1
also clear HTTP_PROXY for cosocket test
tests: rewrite and expand cosocket test with unittest
coserver: sockets recv()
tests: don't leak sockets