[Python-Dev] PyObject_GenericGetAttr vs cygwin

Michael Hudson mwh@python.net
09 Nov 2001 05:23:39 -0500


Jason Tishler <jason@tishler.net> writes:

> --CGQ4QxZ4DCp/f9YC
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> Michael,
> 
> On Thu, Nov 08, 2001 at 01:52:01PM -0500, Michael Hudson wrote:
> > It works.  Do you want to see the patches or shall I just check the
> > changes in?
> 
> If they are just the standard "PyObject_HEAD_INIT(NULL)" style fix, then
> please just commit them.

Done.

> > BTW, _cursesmodule.c doesn't compile; you get things like:
> > 
> > Warning: resolving _stdscr by linking to __imp__stdscr (auto-import)
> > [snip]
> > build/temp.cygwin-1.3.3-i686-2.2/_cursesmodule.o: In function `PyCurses_InitScr':
> > /cygdrive/c/src/python/dist/src/Modules/_cursesmodule.c:1842: undefined reference to `acs_map'
> > [snip]
> 
> I'm getting a feeling of deja vu from the above, but I can't quite
> remember...  I believe that the above is related to the auto-import
> features recently added to Cygwin's binutils.  Please send me your
> 
>     /etc/setup/installed.db
> 
> via private email.  In the meantime, I will dig some on my own.

OK, this will follow (from a different machine).

> > and contrary to README,
> 
> The Cygwin section of Python README has become stale -- I need to submit
> a doco patch.  Sigh...
> 
> > test_poll
> 
> The test_poll problem was fixed by:
> 
>     http://sources.redhat.com/ml/cygwin-patches/2001-q3/msg00109.html
> 
> and released in Cygwin 1.3.4.

OK...

> > and threads seem to work fine.
> 
> There is still one known Cygwin pthreads hang.  If interested, see the
> following for the current state of affairs:
> 
>    http://sources.redhat.com/ml/cygwin-developers/2001-10/msg00193.html

makes little sense to me, I'm afraid.  Haven't had test_thread die on
me yet, but then I've only run it a few times.

> > test_strftime is still bust, though:
> 
> The test_strftime problem was fixed by:
> 
>     http://sources.redhat.com/ml/newlib/2001/msg00504.html
> 
> and released in Cygwin 1.3.4.

... but if test_poll works, how come this doesn't?

How do I find out which version of cygwin I have?

> I've attached the latest README, since it is the most complete description
> of the current state.

Thanks.

Cheers,
M.

-- 
  NUTRIMAT:  That drink was individually tailored to meet your
             personal requirements for nutrition and pleasure.
    ARTHUR:  Ah.  So I'm a masochist on a diet am I?
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 9