Is this patch published anywhere? It would be a good idea to do so for all these bot owners who wants to use that bug related python version.
xqt
----- Original Nachricht ---- Von: John phoenixoverride@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 31.12.2010 16:23 Betreff: Re: [Pywikipedia-l] [Toolserver-l] Default Python will change to 2.7
Yeah, River patched the toolserver version to fix the known unicode problem
Delta
On Fri, Dec 31, 2010 at 10:21 AM, info@gno.de wrote:
Hi folks,
there is py 2.7.1 running on toolserver and I found this version does not trigger unicode bug #3081100 whereas py 2.7.1 downloaded from www.python.org has still this bug. Are there any changes or fixes made on ts version?
Greetings xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: toolserver-l@lists.wikimedia.org Datum: 22.11.2010 11:59 Betreff: Re: [Pywikipedia-l] [Toolserver-l] Default Python will change to 2.7
Hello all,
This is especially relevant for all interwiki bots on the toolserver. Do *not* use python 2.7 for those bots.
There is a bug [1] in the unicode normalization that causes page titles to become mangled [2]. This, in turn, results in botwars [3]. As such, interwiki bots on wikipedia should use a python version that does not have this bug, which means using a version before 2.6.5.
Although you will get a warning message when using a python version that exhibits this bug, the bot will still work. As such, you may very well cause bot wars if you start using py2.7.
Best regards, Merlijn van Deen
http://sourceforge.net/tracker/?func=detail&atid=603138&aid=3081100&...
=93107 [3]
http://de.wikipedia.org/w/index.php?title=GNU-Lizenz_f%C3%BCr_freie_Dokument
ation&action=history
On 22 November 2010 11:22, River Tarnell river.tarnell@wikimedia.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
During the general maintenance on Dec 6th, we will change the default
Python
version (/usr/bin/python) on the Solaris user servers from 2.6 to
2.7.
You may
wish to test your tools with /usr/bin/python2.7 before then.
- river.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkzqREgACgkQIXd7fCuc5vIhFQCgpX20z0B9xHikuwl+yiEUDzFH WjYAn1wqm21wZjP1uQhsEO7RkxlTyE/N =CqUE -----END PGP SIGNATURE-----
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 2 January 2011 14:32, info@gno.de wrote:
Is this patch published anywhere? It would be a good idea to do so for all these bot owners who wants to use that bug related python version.
The version on the toolserver just uses the unicode library from 2.6 instead of 2.7. By now, a fix has been backported to the 2.6/2.7 repositories, so it is possible to do a manual checkout and compile a correct version.
Best regards, Merlijn
I downloaded r2.7.1 (timestamp 27.11.2010) from www.python.org but this bug is still there. Where do I find the correction patch?
Greetings xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 02.01.2011 14:40 Betreff: Re: [Pywikipedia-l] [Toolserver-l] Default Python will change to 2.7
On 2 January 2011 14:32, info@gno.de wrote:
Is this patch published anywhere? It would be a good idea to do so for all
these bot owners who wants to use that bug related python version.
The version on the toolserver just uses the unicode library from 2.6 instead of 2.7. By now, a fix has been backported to the 2.6/2.7 repositories, so it is possible to do a manual checkout and compile a correct version.
Best regards, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Could anybody compile the backported source to distribute it?
Regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 02.01.2011 14:40 Betreff: Re: [Pywikipedia-l] [Toolserver-l] Default Python will change to 2.7
On 2 January 2011 14:32, info@gno.de wrote:
Is this patch published anywhere? It would be a good idea to do so for all
these bot owners who wants to use that bug related python version.
The version on the toolserver just uses the unicode library from 2.6 instead of 2.7. By now, a fix has been backported to the 2.6/2.7 repositories, so it is possible to do a manual checkout and compile a correct version.
Best regards, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 3 January 2011 05:40, info@gno.de wrote:
Could anybody compile the backported source to distribute it?
Yes, but I see no need for this. Pywikipediabot works fine with python up to 2.6.5, which is available for download at http://www.python.org/download/releases/2.6.5/ (downgrade) and with 2.5.5 (side-by-side installation), which is available for download at http://www.python.org/download/releases/2.5.5/ .
The bug has been marked as a security fix (as it can cause segfaults), which means it will, at the very least, be included in 2.7.2. It's not clear to me whether there will be an 'official' 2.6.7, but someone might create a bugfix release for it (for example, Debian).
Best regards, Merlijn
Yes but (as per Merlijn) it's not in the code yet:
which means it will, at the very least, be included in 2.7.2. It's not clear to me whether there will be an 'official' 2.6.7, but someone might create a bugfix release for it (for example, Debian).
----- Original Nachricht ---- Von: Marcin Cieslak saper@saper.info An: pywikipedia-l@lists.wikimedia.org Datum: 19.01.2011 01:21 Betreff: Re: [Pywikipedia-l] [Toolserver-l] Default Python will change to 2.7
info@gno.de info@gno.de wrote:
Could anybody compile the backported source to distribute it?
For your reference:
The problem history is in the Python bugtracker:
http://bugs.python.org/issue10254
Last comment says it's fixed in 2.6, 2.7 and 3.1 trees.
For 2.6
http://svn.python.org/view?view=rev&revision=87546
For 2.7
http://svn.python.org/view?rev=87541&view=rev
Fr 3.1
http://svn.python.org/view?rev=87540&view=rev
//Saper
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
info@gno.de info@gno.de wrote:
Could anybody compile the backported source to distribute it?
For your reference:
The problem history is in the Python bugtracker:
http://bugs.python.org/issue10254
Last comment says it's fixed in 2.6, 2.7 and 3.1 trees.
For 2.6
http://svn.python.org/view?view=rev&revision=87546
For 2.7
http://svn.python.org/view?rev=87541&view=rev
Fr 3.1
http://svn.python.org/view?rev=87540&view=rev
//Saper