All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wray <mike.wray@hp.com>
To: rami rosen <ramirosen@hotmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: xs.c  and PyMODINIT_FUNC in xen-unstable-src.tgz
Date: Wed, 15 Jun 2005 15:39:29 +0100	[thread overview]
Message-ID: <42B03DA1.3010403@hp.com> (raw)
In-Reply-To: <BAY2-F239FDBFB17D0956B2C2820BDF00@phx.gbl>

rami rosen wrote:
> Hello,
> 
> Really a little thing:
> 
>  I had downaloaded the xen-unstable-src.tgz version from the Xen 
> downloads web site yesterday.
> 
> I ran "make world".
> I have python-2.2.2-26 on my RH9 machine.
> 
> I get an error in xs.c; looking a bit showed that it came from that
> PyMODINIT_FUNC is not define; more specifically:
> 
> These lines in python/xen/lowlevel/xs/xs.c:
> /* Needed for Python versions earlier than 2.3. */
> //#ifndef PyMODINIT_FUNC
> //#define PyMODINIT_FUNC DL_EXPORT(void)
> //#endif
> 
> 
> So I removed this remarks ; I also saw that in xc.c and xu.c these
> #ifndef PyMODINIT_FUNC lines **DO** appear.
> 
> I assume that these lines were remarked mistakingly and that there is no 
> real
> need to upgrade the Python version to a version >= 2.3. Am I right ?
> 

Python 2.3 was released in July 2003, so versions older than that
are pretty old. Looking at the release notes I see that bool(), True and False
came in back then - so I suspect some things may not work right with earlier versions.

Regards,
Mike

      reply	other threads:[~2005-06-15 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13  8:09 xs.c and PyMODINIT_FUNC in xen-unstable-src.tgz rami rosen
2005-06-15 14:39 ` Mike Wray [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42B03DA1.3010403@hp.com \
    --to=mike.wray@hp.com \
    --cc=ramirosen@hotmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.