Re: [Cython] Bug in print statement

2012-05-10 Thread Vitja Makarov
2012/5/9 Vitja Makarov : > 2012/5/9 Stefan Behnel : >> Vitja Makarov, 09.05.2012 18:31: >>> Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs. >>> Here is minimal example: >>> >>> import unittest >>> import sys >>> >>> class Foo(unittest.TestCase): >>>     def test_file_fau

Re: [Cython] Bug in print statement

2012-05-09 Thread Vitja Makarov
2012/5/9 Stefan Behnel : > Vitja Makarov, 09.05.2012 18:31: >> Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs. >> Here is minimal example: >> >> import unittest >> import sys >> >> class Foo(unittest.TestCase): >>     def test_file_fault(self): >>         # Testing sys.s

Re: [Cython] Bug in print statement

2012-05-09 Thread Stefan Behnel
Vitja Makarov, 09.05.2012 18:31: > Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs. > Here is minimal example: > > import unittest > import sys > > class Foo(unittest.TestCase): > def test_file_fault(self): > # Testing sys.stdout is changed in getattr... >

[Cython] Bug in print statement

2012-05-09 Thread Vitja Makarov
Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs. Here is minimal example: import unittest import sys class Foo(unittest.TestCase): def test_file_fault(self): # Testing sys.stdout is changed in getattr... test_stdout = sys.stdout class StdoutG