Hi Exe, thanks for your efforts, but I think the patch cannot be accepted the way it is. struct.pack really returns a "bytes" instance which should not be converted into a string but rather the other way round; all strings should be converted to bytes before being sent. I started something along these lines with http://sumo.dlr.de/trac.wsgi/changeset/19632. It is not complete (still errors in some modules like lane, vehicle and simulation) but I think you get the idea and maybe you can finish it.
Nevertheless, thanks again for looking into it, Michael Am 15.12.2015 um 06:03 schrieb Developer sequielo: > Hi Michael, > > Sorry the delay. The changes are backward compatible with Python 2. > I've tested them with Python version 2.7, 3.2 and 3.4. > > I've create a pull-request on the github repo. > Please feel free to review the code and make any questions :) > > Best regards, > Exe > > 2015-12-06 5:07 GMT-03:00 Michael Behrisch <[email protected]>: > >> Hi, >> thank you very much for your efforts! >> You can use the github mirror https://github.com/planetsumo/sumo >> if you are more familiar with github. (I personally think, sending a >> unified diff via e-mail is not that cumbersome, but maybe I am a little >> old fashioned.) >> Are the changes python 2 compatible? >> >> Best regards >> Michael >> >> Am 06.12.2015 um 04:24 schrieb Developer sequielo: >>> Hello, >>> >>> I have developed Python 3 support for the latest TraCI Python API. >>> I would like to submit my code into the repo, so that you could review >> and >>> maybe integrate into the solution. >>> >>> As a context, I am a software developer and currently using SUMO for my >>> thesis in Computer Engineering. >>> >>> I have experience in making pull request with GitHub projects, and >> believe >>> the steps necessary for integrating code are a bit cumbersome (please >> take >>> this as a comment, no an offense). >>> >>> Best regards, >>> Exe Curia. >>> >> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) XDK. >>> Use one codebase in this all-in-one HTML5 development environment. >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>> _______________________________________________ >>> sumo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/sumo-devel >>> >> >> > ------------------------------------------------------------------------------ _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
