Package Details: python26 2.6.9-14

Git Clone URL: (read-only, click to copy)
Package Base: python26
Description: Legacy version Python 2.6 of the high-level scripting language
Upstream URL:
Licenses: PSF
Submitter: None
Maintainer: None
Last Packager: yan12125
Votes: 59
Popularity: 0.000000
First Submitted: 2010-10-14 18:27
Last Updated: 2018-01-25 08:50

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

yan12125 commented on 2016-11-26 13:11

Thanks for that doc. ChangeLog updated.

SpotlightKid commented on 2016-11-26 12:56

@yan12125: Sorry, the errors were due to a left-over debugging statement in my PKGBUILD. Everything compiles cleanly here now too.

You might want to update/correct the Changelog with the next release:

yan12125 commented on 2016-11-26 08:58

Land the socket test patch first. @SpotlightKid if you don't mind how about sharing the build log and I may guess what's wrong.

yan12125 commented on 2016-11-24 07:56 and builds fine on my machine. If you wish, I can adopt this

SpotlightKid commented on 2016-11-23 20:50

@yan12125 Thanks for the heads up. I was able to integrate your patch, but I currently have two other modules that fail to compile: _ssl (again) and dbm. I tried a patch from the official repo for the latter, which seemed applicable, but it didn't fix it.

To be honest, it's getting increasingly difficult to compile Python 2.6 on modern systems and I don't much see the point in keeping this AUR package any more. If you need to use old Python versions, pyenv ( does a lot better job than this. So, unless somebody offers a fix for the PKGBUILD or wants to take over maintainership intermediately, I'll probably orphan the package soon.

yan12125 commented on 2016-11-19 16:27

Test suite fails since testing/filesystem 2016.11. [1] Could you add the following patch? It's ported from CPython r86565 [2]

--- Python-2.6.9/Lib/test/ 2016-11-08 20:40:24.456911160 +0800
+++ Python-2.6.9/Lib/test/ 2016-11-08 20:41:01.106910886 +0800
@@ -480,7 +480,11 @@
# XXX(nnorwitz): seems to indicate
# it reasonable to get the host's addr in addition to
# At least for eCos. This is required for the S/390 to pass.
- my_ip_addr = socket.gethostbyname(socket.gethostname())
+ try:
+ my_ip_addr = socket.gethostbyname(socket.gethostname())
+ except socket.error:
+ # Probably name lookup wasn't set up right; skip this test
+ return
self.assert_(name[0] in ("", my_ip_addr), '%s invalid' % name[0])
self.assertEqual(name[1], port)


SpotlightKid commented on 2016-07-23 11:41

@yan12125,@max-k: I integrated the patch. Thanks!

max-k commented on 2016-07-19 09:11


Here is a full patch implementing yan12125's fix :

Thank you to update your package.

yan12125 commented on 2016-07-07 14:44

Here's a new bug for Python due to updated expat: It causes tests failed. This patch works for me:

SpotlightKid commented on 2016-05-26 16:07

@yan12125: I can confirm the failing tests.

I had to solve this by compiling the package with GCC 5.3 (from the 'gcc5' AUR package), setting the CC, CXX and CPP environment variables to 'gcc-5', 'g++-5' and 'cpp-5' respectively.

Unfortunately this means that you have to build and install the 'gcc5' package to build this package, which can take a LOOOOONG time.

Make sure that you build the package with a clean source directory, i.e. if you use 'makepkg', remove an existing 'src' directory first.