On 29.03.2012 21:29, David Robinow wrote:
Have you included the patch to Include/py_curses.h ?
If you don't know what that is, download the cygwin src package for
Python-2.6 and look at the patches. Not all of them are still
Thanks for the hint. With cygwin's 2.6.5-ncurses-abi6.patch it wor
On 28.03.2012 18:42, David Robinow wrote:
> On Wed, Mar 28, 2012 at 7:50 AM, Alexey Luchko wrote:
>> I've tried to build Python 2.7.3rc2 on cygwin and got the following errors:
>>
>> $ CFLAGS=-I/usr/include/ncursesw/ CPPFLAGS=-I/usr/include/ncursesw/
>> ./configu
JFI
Reported as
http://bugs.python.org/issue14437
http://bugs.python.org/issue14438
--
Regars,
Alex
--
http://mail.python.org/mailman/listinfo/python-list
On 28.03.2012 14:50, Alexey Luchko wrote:
Hi!
I've tried to build Python 2.7.3rc2 on cygwin and got the following errors:
$ CFLAGS=-I/usr/include/ncursesw/ CPPFLAGS=-I/usr/include/ncursesw/
./configure
$ make
...
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.7.11-i686-2.7/P
Hi!
I've tried to build Python 2.7.3rc2 on cygwin and got the following errors:
$ CFLAGS=-I/usr/include/ncursesw/ CPPFLAGS=-I/usr/include/ncursesw/ ./configure
$ 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/t
Hi!
I've just had fun with the runpy module in Python 2.7. I'm writing to
share it :)
What I've tried is to "load" a python script using runpy.run_path(), take a
function from the resulting namespace and call it with arbitrary arguments.
All the functions in the namespace seem to be ok. r
Example script.py: """
def f(arg):
return g(arg)
def g(arg):
return arg
"""
Reading the Lib/runpy.py I've found, that the temporary module created
inside the run_path() calls, is destroyed right after the script.py code
executed in the resulting namespace.
I've got an idea. It would