[Python-Dev] Failed issue tracker submission

2011-12-18 Thread Python tracker
An unexpected error occurred during the processing of your message. The tracker administrator is being notified. Return-Path: X-Original-To: rep...@bugs.python.org Delivered-To: roundup+trac...@psf.upfronthosting.co.za Received: from mail.python.org (mail.python.org [82.94.164.166]) by ps

Re: [Python-Dev] [Python-checkins] cpython: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum

2011-12-18 Thread Martin v. Löwis
> Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum What's the rationale for that change? It's a valid kind value, after all, and the C convention is that an enumeration lists all valid values (else there wouldn't be a need for an enumeration in the first place). Regards, Martin ___

Re: [Python-Dev] [Python-checkins] cpython: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum

2011-12-18 Thread Victor Stinner
On 18/12/2011 20:34, "Martin v. Löwis" wrote: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum What's the rationale for that change? It's a valid kind value, after all, and the C convention is that an enumeration lists all valid values (else there wouldn't be a need for an enumeration i

Re: [Python-Dev] [Python-checkins] cpython: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum

2011-12-18 Thread Martin v. Löwis
Am 18.12.2011 20:45, schrieb Victor Stinner: > On 18/12/2011 20:34, "Martin v. Löwis" wrote: >>>Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum >> >> What's the rationale for that change? It's a valid kind value, after >> all, and the C convention is that an enumeration lists all valid va

Re: [Python-Dev] [Python-checkins] cpython: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum

2011-12-18 Thread Victor Stinner
On 18/12/2011 21:04, "Martin v. Löwis" wrote: PyUnicode_KIND() only returns PyUnicode_1BYTE_KIND, PyUnicode_2BYTE_KIND or PyUnicode_4BYTE_KIND. Outside unicodeobject.c, you are not supposed to see PyUnicode_WCHAR_KIND. Why do you say that? It can very well happen, assuming you call PyUnicode_KI

Re: [Python-Dev] [Python-checkins] cpython: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum

2011-12-18 Thread Martin v. Löwis
Am 18.12.2011 21:16, schrieb Victor Stinner: > On 18/12/2011 21:04, "Martin v. Löwis" wrote: >>> PyUnicode_KIND() only returns PyUnicode_1BYTE_KIND, PyUnicode_2BYTE_KIND >>> or PyUnicode_4BYTE_KIND. Outside unicodeobject.c, you are not supposed >>> to see PyUnicode_WCHAR_KIND. >> >> Why do you say

Re: [Python-Dev] A new dict for Xmas?

2011-12-18 Thread Antoine Pitrou
On Fri, 16 Dec 2011 21:32:44 + Mark Shannon wrote: > > > per-instance attributes, it just forces them all to keep resizing up, > > even though individual instances would be small with the current dict. > There is a cut-off point, at the moment it's quite unsophisticated about > how it does t

Re: [Python-Dev] Inconsistent script/console behaviour

2011-12-18 Thread Stephen J. Turnbull
Fernando Perez writes: > Apology for the advertising, If there's any apologizing to be done, it's on Anatoly's part. Your post was short, to the point, information-packed, and should put a big fat open-centered ideographic full stop period to this thread. __