[ Context for others, I'm working on a test that will exhibit bug:
https://gna.org/bugs/?14139 ]
I think it is too difficult to call the bot daemon as another process.
:)
I have another solution, in pokerbot.py, I notice you have this:
application = makeApplication(sys.argv[1:])
def run():
app.startApplication(application, None)
reactor.run()
if __name__ == '__main__':
run()
Is there any reason the application = makeApplication() line can't be
inside run(), ala:
def run():
application = makeApplication(sys.argv[1:])
app.startApplication(application, None)
reactor.run()
If we did this, it would be possible for me to use the bot code just
like the client code in the tests, and therefore make a mixture of
clients and bots who are all in the same process.
Thoughts?
--
-- bkuhn
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users