Dave Fugate dfug...@microsoft.com added the comment:
I guarantee you that IronPython needs this. I was a tester on IronPython for
four years, and saw hundreds of random failures due to this specific issue.
My best,
Dave
--
___
Python tracker rep
New submission from Dave Fugate dfug...@microsoft.com:
Using Python 2.7 (r27:82525, Jul 4 2010, 09:01:59; 32-bit Intel) on 64-bit
Windows Server 2008 R2, python.exe (interactive sessions and files) crashes
when it encounters the following snippet:
import signal
signal.signal(7, lambda a, b
New submission from Dave Fugate dfug...@microsoft.com:
The error message below should state something along the lines of f() takes at
least 1 non-keyword argument (0 given). Regardless, this is a regression from
2.6 which would have emitted f() takes at least 1 argument (0 given) which
while
Dave Fugate dfug...@microsoft.com added the comment:
Actually CPython 2.6 emits precisely what I'd expect:
D:\rft\vsl\dlr\Languages\IronPython\Tests26
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type help, copyright, credits or license for more
Dave Fugate dfug...@microsoft.com added the comment:
platform.system()==Windows won't work unless you change platform as well:
IronPython 2.6.1 DEBUG (2.6.10920.0) on .NET 2.0.50727.4927
Type help, copyright, credits or license for more information.
import platform
platform.system()
'cli
New submission from Dave Fugate dfug...@microsoft.com:
Sprinkled throughout CPython's test modules are snippets of code such as the
following taken from 2.7A3's test_old_mailbox.py (line 141):
box = mailbox.UnixMailbox(open(self._path, 'r'))
The key thing to observe here is the file being