Jacopo Tediosi added the comment:
Happening to me on Python3.9 too
Also when calling pool.terminate(), causing my script to hang
--
nosy: +Jacopo Tediosi
versions: +Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue38
New submission from Jacopo:
$ python
Python 2.7.3 (default, Jun 21 2016, 18:38:19)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 69.90 + 2.90
72.81
--
components: Inter
Jacopo Nespolo added the comment:
Ned Deily: I don't quite know how to use unittest, but I'll try to look into it.
paul j3:
There I proposed leaving '_negative_number_matcher' unchanged,
but only use it to set '_has_negative_number_optionals'.
I don't know argparse internals but, if I
Jacopo Nespolo added the comment:
a better patch
--
Added file: http://bugs.python.org/file37007/argparse.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22672
Jacopo Nespolo added the comment:
test program that checks handling of a bunch of numbers.
--
Added file: http://bugs.python.org/file37008/test_argparse.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22672
Changes by Jacopo Nespolo j.nesp...@gmail.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22672
___
___
Python-bugs-list
New submission from Jacopo Nespolo:
Argparse fails to recognise negative numbers in scientific notation as valid
numbers.
Example:
Suppose the program test.py has this option.
par.add_argument('-a', type=float)
then './test.py -a -1e5' will fail, as well as -1.0e-4, -.5E+4 and variations
On Wednesday, June 12, 2013 5:10:05 PM UTC+1, rusi wrote:
On Jun 12, 6:29 pm, jacopo jacopo.pe...@gmail.com wrote:
1. How you run -- 'launch' -- the code -- from py and from prod
when I have to test I use python any_script.py but in production there
is a c++ program that is able
:14:43 PM UTC+1, rusi wrote:
On Jun 11, 9:28 pm, jacopo jacopo.pe...@gmail.com wrote:
I am developing my code in the path:
/py/myscripts
/py/mylib
In order to import mylib, I need to add /py/mylib to PYTHONPATH.
Now I want to save a snapshot of the current code
, 2013 6:14:43 PM UTC+1, rusi wrote:
On Jun 11, 9:28 pm, jacopo jacopo.pe...@gmail.com wrote:
I am developing my code in the path:
/py/myscripts
/py/mylib
In order to import mylib, I need to add /py/mylib to PYTHONPATH.
Now I want to save a snapshot of the current code
1. How you run -- 'launch' -- the code -- from py and from prod
when I have to test I use python any_script.py but in production there is a
c++ program that is able to wrap and run python code (the technical details are
a bit beyond my knowledge)
2. What error you get
when I run as python
/prod/myscripts/any_script.py, every
import will look at PYTHONPATH and therefore it will load the modules from
/py/mylib. On the contrary I want to load it from /prod/mylib.
Is there an elegant way to cope with this?
thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
is
already handled by the Messaging system and I don’t need to take care
of it in my components (they keep waiting for a message, when they get
it they are fully engaged in processing and they cannot do much more).
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
technologies. I wonder if they target different problems (it doesn’t
look to me).
Is anyone able to sketch advantages of one solution against the other?
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
to different severs and collect and process results from a
client as soon as they are ready. To achieve true parallelism it looks more
complex than expected.
Many thank,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
as soon as ready and therefore
parallelize things?
thanks, Jacopo
SERVER:
fibo=Fibonacci()
fact=pb.PBServerFactory(fibo)
reactor.listenTCP(port, fact)
reactor.run()
CLIENT:
fact=pb.PBClientFactory()
reactor.connectTCP(host, port, fact)
d=fact.getRootObject()
n1=1
d.addCallback(lambda obj
for a short enough period of time
that it doesn't
matter that the reactor is prevented from accepting new connections
(or
what have you) for the duration of their execution.” ?!
Don’t we have (c) and (e) running at the same time here? How is it
possible to have only one Thread?
Thanks,
Jacopo
--
http
immediately. So the reactor is responding somehow.
Isn’t it?!
On the Server I am using: reactor.listenTCP(port, pb.PBServerFactory
(MyClass()))
Could you suggest me any doc to better understand?
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
of the clearest i have read so far.
http://www.artima.com/weblogs/viewpost.jsp?thread=230001
Grazie,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
.
For the time being I recommend this doc which has been the most useful
to me so far.
http://www.artima.com/weblogs/viewpost.jsp?thread=230001
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
in a web page?!
Is there a reason to link objects to different URLs or I could link
many of them to the same URL?
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
implemented this in a mock example it
seems to work. Clean and simple!
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
suggestion.
Regads,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
suggestion.
Regads,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
are still in
memory and I could inspect all I want. BUT I don’t want to stop the
system. So even the shell would be blocked to type something.
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
you have any suggestion?
regards, jacopo
--
http://mail.python.org/mailman/listinfo/python-list
this newsgroup with questions... yet :)
Regards, Jacopo
On Aug 26, 4:22 am, Terry terry.yin...@gmail.com wrote:
Hi,
I'm using the multiprocessing.manager to run proceduresremotely. It
all worked fine except I hope to have a different return value type.
The remote function calls always return a proxy
thank you Diez,
unfortunatelly I am on Windows NT.
Did you use SSH in a python script?
Isn't multiprocessing.managers already doing something like Pyro?
thanks
Jacopo
On Aug 31, 12:47 pm, Diez B. Roggisch de...@nospam.web.de wrote:
jacopo wrote:
I am playing with multiprocessing and I would
Gabriel Genellina wrote:
En Mon, 27 Jul 2009 16:35:51 -0300, jacopo mondi mo...@cs.unibo.it
escribió:
Is there a reason why there is no ioctl interface for socket either then
for windows platform? It's technical issues or what else??
I don't completely understand your question. On Windows
Is there a reason why there is no ioctl interface for socket either then
for windows platform? It's technical issues or what else??
thank in advance
jacopo
--
http://mail.python.org/mailman/listinfo/python-list
Scott David Daniels wrote:
jacopo mondi wrote:
Roger Binns wrote:
jacopo mondi wrote:
Hi all, I need to patch socketmodule.c (the _socket module) in order to
add support to an experimental socket family.
You may find it considerably easier to use ctypes since that will avoid
the need
Roger Binns wrote:
jacopo mondi wrote:
Hi all, I need to patch socketmodule.c (the _socket module) in order to
add support to an experimental socket family.
You may find it considerably easier to use ctypes since that will avoid
the need for any patching. You'll also be able to control how
Roger Binns wrote:
jacopo mondi wrote:
Hi all, I need to patch socketmodule.c (the _socket module) in order to
add support to an experimental socket family.
You may find it considerably easier to use ctypes since that will avoid
the need for any patching. You'll also be able to control how
could not use distutils, have I to distribuite
the already built .so with only a script to install it, and the source
code in another directory?
Thanks a lot
jacopo
PS correct my english please, is the only way I have to improve it!
--
http://mail.python.org/mailman/listinfo/python-list
34 matches
Mail list logo