Irmen de Jong a écrit : > Jean-François Piéronne wrote: > >> Which Python version, OpenVMS version, IP stack and stack version? > > OpenVMS 7.3-2, Python 2.3.5, no idea about IP stack version. > Thanks, may be upgrade to Python 2.5 will solve the problem.
>> If you think this is a Python on OpenVMS problem, send me a small >> reproduced anf I will take a look. > > I don't have any small case lying around (I can't reproduce it myself > because I lack access to an openVMS machine) but I think you should > be able to reproduce it by slightly altering one of the socket examples > that comes with Python. Just add the MSG_WAITALL to the recv() call: > > something = sock.recv(somesize, socket.MSG_WAITALL) > > and you should see it crash with a socket exception. > Ok, I will try. > Mail me offline if you still need running example code (that I think > would expose the problem). > Ok >> If you think it's a OpenVMS problem and if you can provide a simple >> reproducer and have a support contract I suggest you call HP, but I >> suspect that if it's not documented the reply would be not (yet?) >> supported. > > I don't have anything to do with HP... the person that reported the > problem to me has, however. He's already aware of the problem. > You or the other person can also try to use http://forums1.itrc.hp.com/service/forums/familyhome.do?familyId=288 >> May be a workaround is to not use MSG_WAITALL (currently) on OpenVMS and >> in next version I will not defined MSG_WAITALL in the socket module on >> OpenVMS. > > How can I detect that I'm running on OpenVMS? > > for example import sys print sys.platform 'OpenVMS' JF -- http://mail.python.org/mailman/listinfo/python-list