Message276270
| Author |
christian.heimes |
| Recipients |
christian.heimes, methane, skrah, vstinner, xiang.zhang |
| Date |
2016年09月13日.13:44:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1473774261.86.0.260884808309.issue28120@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Good work! This example is a bit easier to understand:
class Cls:
pass
a = Cls()
a.x = 1
a.y = 2
b = Cls()
b.x = 1
print(hasattr(b, 'y'))
print(b.__dict__.pop('y', None))
$ ./python d.py
False
python: Objects/dictobject.c:1743: _PyDict_Pop: Assertion `ix >= 0' failed.
Aborted (core dumped) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年09月13日 13:44:21 | christian.heimes | set | recipients:
+ christian.heimes, vstinner, methane, skrah, xiang.zhang |
| 2016年09月13日 13:44:21 | christian.heimes | set | messageid: <1473774261.86.0.260884808309.issue28120@psf.upfronthosting.co.za> |
| 2016年09月13日 13:44:21 | christian.heimes | link | issue28120 messages |
| 2016年09月13日 13:44:21 | christian.heimes | create |
|