Robert Nowotny
Robert Nowotny
can You provide a code snippet to test please
ok, I changed the implementation to use multiprocess.pipe (halfduplex). It is faster, more elegant and probably can work with AWS (let me know). See : https://github.com/bitranox/wrapt-timeout-decorator or https://github.com/pnpnpn/timeout-decorator/pull/53 yours sincerely...
Maybe thats the reason why : By default, timeout-decorator uses signals to limit the execution time of the given function. This appoach does not work if your function is executed...
I tested with https://github.com/bitranox/wrapt_timeout_decorator - we dont have this problem.
implemented multiprocess.pipe instead of multiprocessing.queue -it is faster and can be probably used on amazon AWS
implemented multiprocess.pipe instead of multiprocessing.queue -it is faster and can be probably used on amazon AWS
You can use my fork - https://github.com/bitranox/wrapt-timeout-decorator there it works fine, I just tested ... Yours sincerely Robert
You can try my Version, its using wrapt instead functools - it should behave correctly : https://github.com/bitranox/timeout-decorator Yours sincerely Robert
Dear Igor, yes, I agree, another ```ParserClass/ParserObject``` definitely makes sense. for point 4 - I tried to archive that Visitors can be subclassed, and that the name of the methods...
Igor, no problem - love it or lump it ! You might merge what You like (or discard it), and make some changes Yourself - however, just check it out...