Message32377
| Author | theller |
|---|---|
| Recipients | |
| Date | 2007-06-21.18:36:53 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
The following code prints out "I L" when run with python 2.5 and current SVN trunk (if you silence the DeprecationWarnings):
"""
import struct
for c in "bBhHiIlLqQdf":
try:
struct.pack(c, "foo bar")
except struct.error:
pass
else:
print c
"""
It works correctly (prints nothing) in Python 2.4.
|
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 14:55:44 | admin | link | issue1741130 messages |
| 2007-08-23 14:55:44 | admin | create | |