Message3288
| Author | pjenvey |
|---|---|
| Recipients | pjenvey |
| Date | 2008年06月15日.03:36:56 |
| SpamBayes Score | 0.10072823 |
| Marked as misclassified | No |
| Message-id | <1213501016.69.0.729614055386.issue1058@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
object.__set/delattr__ allow modification of built in types, this is known as the Carlo Verre hack: Jython 2.3a0+ (trunk:4630:4631M, Jun 14 2008, 20:07:38) [Java HotSpot(TM) Client VM (Apple Inc.)] on java1.5.0_13 Type "help", "copyright", "credits" or "license" for more information. >>> object.__setattr__(str, 'lower', str.upper) >>> 'dammit Carlo!'.lower() 'DAMMIT CARLO!' See CPython's typeobject.c:hackfix for how they prevent this This prevents test_descr.carloverre from passing |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月15日 03:36:56 | pjenvey | set | spambayes_score: 0.100728 -> 0.10072823 recipients: + pjenvey |
| 2008年06月15日 03:36:56 | pjenvey | set | spambayes_score: 0.100728 -> 0.100728 messageid: <1213501016.69.0.729614055386.issue1058@psf.upfronthosting.co.za> |
| 2008年06月15日 03:36:56 | pjenvey | link | issue1058 messages |
| 2008年06月15日 03:36:56 | pjenvey | create | |
Supported by Python Software Foundation,
Powered by Roundup