- Created Wednesday, September 23rd 2015 @ 14:33:28
As you may already know most of the Workstation oriented distribution (Ubuntu/Fedora/Debian) switched (or switching right now) to python 3, and python 3 is the default python installed. And the support (which is only bug fixes) for python 2 just comes from third party developers and non of core maintainer of python community working on python 2 anymore.
I remember almost 6-7 month ago I was going to seriously participate in one of you games but not having python 3 support and not caring about python 3 was a serious bummer and at the end I gave up because of this.
p.s. You can Google it you can see almost all 1000 most download package in pypy already switched to python 3 ecosystem. p.s. If you go to python official download site they state this clearly : "Python 2 is not under development , and you should not start any new project in Python 2"
The bottom line is if you want use python 2 , I am okay and I think nobody argues about that , but at least provide alternative python 3 support , just ignoring the whole community of python 3 is ridiculous.
- Created Thursday, September 24th 2015 @ 10:00:14
I'll have a look at implementing separate support for python 3 next week (python 2 will still be available).
- Created Thursday, September 24th 2015 @ 10:35:52
Thank you so much.
- Created Tuesday, October 27th 2015 @ 13:57:24
Any update on this? A Python 3 starter bot? Thanks!
- Created Tuesday, October 27th 2015 @ 14:03:37
Somebody else will have to make a Python3 starterbot, but I will most likely implement Python 3 support this week.
- Created Wednesday, October 28th 2015 @ 10:27:23
Python 3 support has been added! You need to add 'python3' somewhere in a comment so our compiler can recognize it.
- Created Wednesday, October 28th 2015 @ 15:21:26
Do I need to specifiy something if I'm using python2? Right now I can't upload a new bot and a previously working one doesn't work either. I get ImportError: /src ...max err dump reached.
- Updated Wednesday, October 28th 2015 @ 15:31:00
No python 2 should still work. At least it does for the starterbots. that '...max err dump reached.' should happen when the error dump of your compilation is over 1000 characters. Is that all you are getting?
- Updated Wednesday, October 28th 2015 @ 16:17:13
This is all i'm getting:
Traceback (most recent call last):
File "src/main.py", line 3, in
from aiblockbattle.bot import Bot
File "/src/aiblockbattle/bot/init.py", line 1, in
from .bot import Bot
File "/src/aiblockbattle/bot/bot.py", line 3, in
from .update import Update
File "/src/aiblockbattle/bot/update.py", line 2, in
from .player import Player
File "/src/aiblockbattle/bot/player.py", line 2, in
from ..field import Field
ImportError: /src ...max err dump reached.
Running testcase /opt/aigames/etc/testsblockbattle/testblockbattle.txt...
Testing Bot with setup input...
... finished testcase in 0.119999997318 seconds
Test failed: no output
- Created Wednesday, October 28th 2015 @ 16:22:39
I don't think that has anything to do with implementing python 3. I'll increase the error dump length so you can see the error fully. If you can't fix it please open a new thread on the forum.
- Created Thursday, October 29th 2015 @ 11:23:20
I looked at my profile and for some reason it says: "Language Python 3" for my latest version and I haven't specified that I would like to use python3. Can i somehow specifiy python2 just to be sure?
- Created Thursday, October 29th 2015 @ 11:53:06
Sorry small bug, compiler should recognize it correctly now.
- Created Thursday, October 29th 2015 @ 12:55:50
Thanks, now it's working again :)