Re: [Python-Dev] XML DoS vulnerabilities and exploits in Python

2013-02-24 Thread M.-A. Lemburg
Reminds me of the encoding attacks that were possible in earlier versions of Python... you could have e.g. an email processing script run the Python test suite by simply sending a specially crafted email :-) On 21.02.2013 13:04, Christian Heimes wrote: Am 21.02.2013 11:32, schrieb Antoine

Re: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

2013-02-24 Thread Barry Warsaw
On Feb 23, 2013, at 04:02 PM, Stefan Krah wrote: +Ordered comparisons between enumeration values are *not* supported. Enums are +not integers! Hmm. I think this limits interoperation with C libraries and prototyping C code. This is mostly a red-herring. flufl.enum values are C-level int

Re: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

2013-02-24 Thread Ethan Furman
On 02/24/2013 05:40 PM, Barry Warsaw wrote: On Feb 23, 2013, at 04:02 PM, Stefan Krah wrote: +Ordered comparisons between enumeration values are *not* supported. Enums are +not integers! Hmm. I think this limits interoperation with C libraries and prototyping C code. This is mostly a