ChrisA -
I wasn't really asking is multiprocessing appropriate? but whether
there was a cleaner way to subclass multiprocessing.BaseManager() to
use a subclass of Process(). I can believe the answer is No, but
thought I'd ask.
I've never subclassed BaseManager like this. It might be
I'm maintaining a python interface to a C library for a distributed
control system (EPICS, sort of a SCADA system) that does a large
amount of relatively light-weight network I/O. In order to keep many
connections open and responsive, and to provide a simple interface,
the python library keeps a
On Monday, March 24, 2014 7:19:56 PM UTC-5, Chris Angelico wrote:
On Tue, Mar 25, 2014 at 7:24 AM, Matt Newville
I'm maintaining a python interface to a C library for a distributed
control system (EPICS, sort of a SCADA system) that does a large
amount of relatively light-weight network I
, there is no explicit protection against long-running calculations
for denial of service attacks. If you're exposing an SQL database to
user-generated code, that may be worth considering.
Cheers,
--Matt Newville
--
http://mail.python.org/mailman/listinfo/python-list
that helps,
--Matt Newville
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday, January 5, 2013 8:17:16 AM UTC-8, Oscar Benjamin wrote:
On 5 January 2013 16:01, Chris Angelico ros...@gmail.com wrote:
On Sun, Jan 6, 2013 at 2:56 AM, Oscar Benjamin
oscar.j.benja...@gmail.com wrote:
On 4 January 2013 15:53, Grant Edwards invalid@invalid.invalid wrote:
the netcdf file to try. Thanks.
If the file is really of NetCDF3 format, scipy.io.netcdf should work.
Replace
netCDF4.Dataset(filename,'r',format='NETCDF3_CLASSIC')
with
scipy.io.netcdf.netcdf_open(filename,'r')
--Matt Newville
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 17, 7:25 pm, Jive Dadson notonthe...@noisp.com wrote:
I just found another module that broke when I went to 2.6. Gnuplot.
Apparently one of its routines has a parameter
named with. That used to be okay, and now it's not.
This was fixed in version 1.8 of Gnuplot.py
Once I get
Do others think like me here?
Yes!! I agree completely: Wax is not only a fantastic idea, but a very
good start at an implementation of that idea.
--Matt Newville
--
http://mail.python.org/mailman/listinfo/python-list
To my eyes, that's less readable than, and has no benefit over, the
following:
def foo(thing):
if thing:
result = thing+1
else:
result = -1
return result
I wouldn't discount:
def foo(thing):
result = -1
if thing:
result
10 matches
Mail list logo