This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients benjamin.peterson, doko, georg.brandl
Date 2011-05-31.08:47:42
SpamBayes Score 9.1995713e-07
Marked as misclassified No
Message-id <1306831663.83.0.751518346555.issue12221@psf.upfronthosting.co.za>
In-reply-to
Content
Modules/pyexpat.c (get_version_string) has:

static PyObject *
get_version_string(void)
{
    static char *rcsid = "$Revision$";
    char *rev = rcsid;
    int i = 0;

    while (!isdigit(Py_CHARMASK(*rev)))
        ++rev;

which segfaults, or has unexpected results. -O2 builds don't show the segfaults, but at least debug builds on sparc, ARM, powerpc, m68k.

>>> pyexpat.__version__
'0\x05'

seen with all the current release candidates for 2.7.2, 3.1.4 and 3.2.1
2.5.6 and 2.6.7 don't have this issue.

other occurrences:

./setup.py:__version__ = "$Revision$"
./Demo/scripts/newslist.py:# Newslist  $Revision$
./Demo/scripts/newslist.py:rcsrev = '$Revision$'
./configure.in:AC_REVISION($Revision$)
./Tools/webchecker/websucker.py:__version__ = "$Revision$"
./Tools/webchecker/webchecker.py:__version__ = "$Revision$"
./Tools/world/world:__version__ = '$Revision$'
./Parser/asdl_c.py:        # Value of version: "$Revision$"
./Parser/Python.asdl:module Python version "$Revision$"
./Modules/pyexpat.c:    static char *rcsid = "$Revision$";
./Lib/tkinter/__init__.py:__version__ = "$Revision$"
./Lib/pickle.py:__version__ = "$Revision$"       # Code version
./Lib/xml/parsers/expat.py:__version__ = '$Revision$'
./Lib/pydoc.py:__version__ = "$Revision$"
./Lib/tarfile.py:__version__ = "$Revision$"
History
Date User Action Args
2011-05-31 08:47:43dokosetrecipients: + doko, georg.brandl, benjamin.peterson
2011-05-31 08:47:43dokosetmessageid: <1306831663.83.0.751518346555.issue12221@psf.upfronthosting.co.za>
2011-05-31 08:47:43dokolinkissue12221 messages
2011-05-31 08:47:42dokocreate