[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - What is the Python version?

It is currently Sat Dec 15, 2018 5:47 am Advanced search

What is the Python version?

Code won't compile? Found a bug? Post here!

What is the Python version?

Postby attilaolah » Sun Feb 14, 2010 1:00 am

I'm struggling with an "Early Exit" error for quite some time now. My code is 100% unit-tested, and of course all the test maps work with the local engine. After lots and lots of frustration, I decided to check against Python 2.5, and here's the cache: tuples don't have an 'index' method in python2.5; And I use tuples quite heavily, since they can be iterated almost twice as fast as strings; immutability also gives a slight speedup, too.

So, it would be very nice to have multiple versions of Python, or at least a recent one. I'll try using #!/usr/bin/env python2.6, see if it works. Has anyone more information about Python versions?
attilaolah
Cadet
 
Posts: 8
Joined: Sat Feb 13, 2010 8:16 pm

Re: What is the Python version?

Postby samadam » Sun Feb 14, 2010 1:04 am

Yep, it would be nice. And while they're at it, I hear they should update GHC too.
samadam
Lieutenant
 
Posts: 14
Joined: Sat Feb 06, 2010 11:13 pm

Re: What is the Python version?

Postby attilaolah » Sun Feb 14, 2010 1:26 am

attilaolah
Cadet
 
Posts: 8
Joined: Sat Feb 13, 2010 8:16 pm

Re: What is the Python version?

Postby henrikno » Sun Feb 14, 2010 1:31 am

I've been bitten by this too. So much that it timed out. Upgrading to Python 2.6 would be very handy.
henrikno
Cadet
 
Posts: 9
Joined: Mon Feb 08, 2010 12:52 pm

Re: What is the Python version?

Postby amstan » Sun Feb 14, 2010 1:38 am

Yes, Python is version 2.5, as mentioned in the .
Unfortunately we are not able to upgrade the software, to do this is would require a lot of work and we haven't heard any good arguments for needing a newer version.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: What is the Python version?

Postby arnaudsj » Sun Feb 14, 2010 1:00 pm

I just found out this post and reviewed the FAQs, and for what it is worth, I believe limiting to Python 2.5 really sucks! ;)

All the other languages are using latest available releases (such as Ruby 1.9!!!, but Python is stuck to 2.5 (which is not the latest current release since Oct 2008!!!)

Python 2.6 offers some speed improvements over 2.5 (between 5-15%) and:
* supports epoll under linux, which allows async style programming with great performance!
* supports some functional programming patterns (e.g. filter/map/reduce) with much better performance than 2.5
* and I am sure I am forgetting dozen of other things (http://docs.python.org/whatsnew/2.6.html)

If you guys are saying that upgrading to 2.6 is a lot of work, because you are using a linux distro who uses Python 2.5 for many os level tools (such as RedHat/CentOS), let me know. I have built successfully my own Python2.6 rpms for such distros, and would be happy to share ;)

Thank you for listening
arnaudsj
Cadet
 
Posts: 5
Joined: Thu Feb 11, 2010 5:33 am

Re: What is the Python version?

Postby attilaolah » Sun Feb 14, 2010 1:54 pm

attilaolah
Cadet
 
Posts: 8
Joined: Sat Feb 13, 2010 8:16 pm

Re: What is the Python version?

Postby AndrewBC » Sun Feb 14, 2010 2:45 pm

AndrewBC
Cadet
 
Posts: 5
Joined: Sun Feb 14, 2010 2:08 pm

Re: What is the Python version?

Postby aerique » Sun Feb 14, 2010 3:05 pm

aerique
Brigadier-General
 
Posts: 131
Joined: Fri Feb 05, 2010 3:23 pm
Location: Netherlands

Re: What is the Python version?

Postby amstan » Sun Feb 14, 2010 7:54 pm

GHC is also stuck on a 2 year old version. If we upgrade python we should upgrade the others too, since it's only fair. Till then everyone seems to be stuck with crappy versions.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Next

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron