Skip to content

Tests: Differentiate between Python 2 and Python 3 saves#144

Merged
psi29a merged 1 commit into
Mindwerks:masterfrom
tcld:tests_py23
Oct 20, 2015
Merged

Tests: Differentiate between Python 2 and Python 3 saves#144
psi29a merged 1 commit into
Mindwerks:masterfrom
tcld:tests_py23

Conversation

@tcld

@tcld tcld commented Oct 20, 2015

Copy link
Copy Markdown
Contributor

If this is ok, I will follow up with an update to my PR at worldengine-data.

Mindwerks/worldengine-data#1

@tcld

tcld commented Oct 20, 2015

Copy link
Copy Markdown
Contributor Author

I remembered that World_pb2.py now supposedly is the same for Python 2 and 3. Is that right? And if so: Well...maybe we don't need separate pickle-files? Since I can't use the Python 2-version of Worldengine I also can't check what it would output and if the files maybe are the same.

@psi29a

psi29a commented Oct 20, 2015

Copy link
Copy Markdown
Member

protobuf solves the python2/3 problem (one file fits all), but only for protobuf worlds. :)

@tcld

tcld commented Oct 20, 2015

Copy link
Copy Markdown
Contributor Author

Oh, I'm an idiot. Disregard my last comment.^^ (I was thinking about pickle and somehow mixed the protobuf file in, and then thought "Hey, maybe the problem is non-existent?".)

psi29a added a commit that referenced this pull request Oct 20, 2015
Tests: Differentiate between Python 2 and Python 3 saves
@psi29a psi29a merged commit 930ed27 into Mindwerks:master Oct 20, 2015
@tcld tcld mentioned this pull request Oct 20, 2015
@tcld tcld deleted the tests_py23 branch October 23, 2015 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants