Alexey Luchko l...@ank-sia.com added the comment:
Final 2.7.3 didn't get the fix.
Checked http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.xz
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14437
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Yes, the 2.7.3 branch was cut long before the fix (end of February) so it was
not included.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14437
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f96b603278cc by Antoine Pitrou in branch '3.2':
Issue #14437: Fix building the _io module under Cygwin.
http://hg.python.org/cpython/rev/f96b603278cc
New changeset 6f8dd543d80a by Antoine Pitrou in branch '2.7':
Antoine Pitrou pit...@free.fr added the comment:
Fix committed in 2.7 and 3.2. 3.3 shouldn't be affected. Thank you!
--
nosy: +pitrou
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
versions: -Python 3.3
___
New submission from Alexey Luchko l...@ank-sia.com:
$ make
...
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bufferedio.o
build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bytesio.o
Alexey Luchko l...@ank-sia.com added the comment:
The error got building Python 2.7.2 2.7.3rc2
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14437
___
Alexey Luchko l...@ank-sia.com added the comment:
Checked solution by David Robinow
http://mail.python.org/pipermail/python-list/2012-March/1290038.html
It works. Diff follows:
--- Modules/_io/_iomodule.h.orig2012-03-16 03:26:36.0 +0200
+++ Modules/_io/_iomodule.h
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The proposed patch is correct; no extension module should use PyAPI_ for its
own symbols.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - commit review
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14437
___