Message106695
| Author |
benrg |
| Recipients |
benrg |
| Date |
2010年05月28日.22:53:45 |
| SpamBayes Score |
9.554846e-09 |
| Marked as misclassified |
No |
| Message-id |
<1275087227.35.0.709211922869.issue8847@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
c:\>python
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from collections import namedtuple
>>> foo = namedtuple('foo', '')
>>> [1] + foo()
At this point the interpreter crashes. Also happens when foo has named arguments, and in batch scripts. foo() + [1] throws a TypeError as expected. [] + foo() returns (). The immediate cause of the crash is the CALL instruction at 1E031D5A in python31.dll jumping into uninitialized memory. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月28日 22:53:47 | benrg | set | recipients:
+ benrg |
| 2010年05月28日 22:53:47 | benrg | set | messageid: <1275087227.35.0.709211922869.issue8847@psf.upfronthosting.co.za> |
| 2010年05月28日 22:53:45 | benrg | link | issue8847 messages |
| 2010年05月28日 22:53:45 | benrg | create |
|