Re: [Python-Dev] Property inheritance in Python

2012-05-30 Thread cyberdupo56
Hi, I apologize if I violate (or am violating) some sacred mailing list rules. Torsten wrote back in 2010 (http://mail.python.org/pipermail/python-dev/2010-April/099672.html) about property inheritance behavior and super(). Specifically, only fget() behavior of properties work with super(), not

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Georg Brandl
Am 29.05.2012 18:54, schrieb victor.stinner: http://hg.python.org/cpython/rev/df0144f68d76 changeset: 77231:df0144f68d76 user:Victor Stinner victor.stin...@gmail.com date:Tue May 29 18:53:56 2012 +0200 summary: Issue #14744: Fix compilation on Windows (part 2) All

Re: [Python-Dev] Property inheritance in Python

2012-05-30 Thread Terry Reedy
On 5/30/2012 1:58 AM, cyberdup...@gmail.com wrote: Hi, I apologize if I violate (or am violating) some sacred mailing list rules. Torsten wrote back in 2010 (http://mail.python.org/pipermail/python-dev/2010-April/099672.html) about property inheritance behavior and super(). Specifically, only

Re: [Python-Dev] Optimize Unicode strings in Python 3.3

2012-05-30 Thread Serhiy Storchaka
On 30.05.12 01:44, Victor Stinner wrote: The two steps method is not promising: parsing the format string twice is slower than other methods. The 1.5 steps method is more promising -- first parse the format string in an efficient internal representation, and then allocate the output string

Re: [Python-Dev] [Python-checkins] cpython: Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args

2012-05-30 Thread Serhiy Storchaka
On 29.05.12 19:55, Victor Stinner wrote: The following changesets should fix the two errors, but not warnings. Why not move `TYPE *p` declaration inside WRITE_DIGITS? ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Optimize Unicode strings in Python 3.3

2012-05-30 Thread Victor Stinner
The two steps method is not promising: parsing the format string twice is slower than other methods. The 1.5 steps method is more promising -- first parse the format string in an efficient internal representation, and then allocate the output string and then write characters (or enlarge and

[Python-Dev] Python Language Summit, Florence, July 2012

2012-05-30 Thread Larry Hastings
Like Python? Like Italy? Like meetings? Then I've got a treat for you! I'll be chairing a Python Language Summit this July in historic Florence, Italy. It'll be on July 1st (the day before EuroPython starts) at the Grand Hotel Mediterraneo conference center. Language Summits are when

Re: [Python-Dev] Optimize Unicode strings in Python 3.3

2012-05-30 Thread Serhiy Storchaka
On 30.05.12 14:26, Victor Stinner wrote: I implemented something like that, and it was not efficient and very complex. See for example the (incomplete) patch for str%args attached to the issue #14687: http://bugs.python.org/file25413/pyunicode_format-2.patch I have seen and commented on this

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Kristján Valur Jónsson
Curiously, the 64bit debug windows build cannot run the unittests either. There are crash bugs in the release build and I wanted to repro it using the debug version , but failed. This is likely to be related to the virtualenv changes, perhaps. see http://bugs.python.org/issue14952

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread R. David Murray
On Wed, 30 May 2012 14:03:44 -, =?iso-8859-1?Q?Kristj=E1n_Valur_J=F3nsson?= krist...@ccpgames.com wrote: -Original Message- From: python-dev-bounces+kristjan=ccpgames@python.org [mailto:python-dev-bounces+kristjan=ccpgames@python.org] On Behalf Of Georg Brandl Sent:

Re: [Python-Dev] Property inheritance in Python

2012-05-30 Thread Guido van Rossum
Agreed this could go on the tracker, but I don't see the need for a Python-Ideas detour. It seems worth fixing (and I vaguely recall there was some follow-up last time?). --Guido van Rossum (sent from Android phone) On May 29, 2012 11:58 PM, Terry Reedy tjre...@udel.edu wrote: On 5/30/2012 1:58

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Kristján Valur Jónsson
-Original Message- From: R. David Murray [mailto:rdmur...@bitdance.com] The ValueError: Invalid format string was coming from a broken-on- windows test_calendar test I checked in. It is fixed now and the stable windows buildbots are green. --David Hm, there appear to be no

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Brian Curtin
On Wed, May 30, 2012 at 10:46 AM, Kristján Valur Jónsson krist...@ccpgames.com wrote: -Original Message- From: R. David Murray [mailto:rdmur...@bitdance.com] The ValueError: Invalid format string was coming from a broken-on- windows test_calendar test I checked in.  It is fixed now

[Python-Dev] ur'string literal' in 3.3: make same as in 2.x?

2012-05-30 Thread Terry Reedy
In 2.7, 'r' and 'ur' string literal prefixes have different effects: When an 'r' or 'R' prefix is present, a character following a backslash is included in the string without change, and all backslashes are left in the string. When an 'r' or 'R' prefix is used in conjunction with a 'u' or

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-30 Thread Martin v. Löwis
I hereby predict that Microsoft will revert this decision, and that VS Express 11 will be able to build CPython. But will it be able to target Windows XP? I'll still need to try. I couldn't easily find a Windows XP installation to try out whether a hello world application runs on

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Georg Brandl
Am 30.05.2012 16:03, schrieb Kristján Valur Jónsson: Curiously, the 64bit debug windows build cannot run the unittests either. There are crash bugs in the release build and I wanted to repro it using the debug version , but failed. This is likely to be related to the virtualenv changes,

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Georg Brandl
Am 30.05.2012 16:40, schrieb R. David Murray: On Wed, 30 May 2012 14:03:44 -, =?iso-8859-1?Q?Kristj=E1n_Valur_J=F3nsson?= krist...@ccpgames.com wrote: -Original Message- From: python-dev-bounces+kristjan=ccpgames@python.org

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Kristján Valur Jónsson
-Original Message- From: Brian Curtin [mailto:br...@python.org] Sent: 30. maí 2012 15:56 To: Kristján Valur Jónsson Cc: python-dev@python.org Subject: Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2) appear to be no x64 buildbots. Antoine asked about one

Re: [Python-Dev] Property inheritance in Python

2012-05-30 Thread Nick Coghlan
On May 31, 2012 1:31 AM, Guido van Rossum gu...@python.org wrote: Agreed this could go on the tracker, but I don't see the need for a Python-Ideas detour. +1 It seems worth fixing (and I vaguely recall there was some follow-up last time?). You may be thinking of the abstract property fixes

Re: [Python-Dev] ur'string literal' in 3.3: make same as in 2.x?

2012-05-30 Thread Nick Coghlan
Sounds reasonable and within the intent of the PEP, so a tracker issue would be the next step. Cheers, Nick. -- Sent from my phone, thus the relative brevity :) ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] cpython: Issue #14744: Fix compilation on Windows (part 2)

2012-05-30 Thread Brian Curtin
On Wed, May 30, 2012 at 3:35 PM, Kristján Valur Jónsson krist...@ccpgames.com wrote: -Original Message- From: Brian Curtin [mailto:br...@python.org] Sent: 30. maí 2012 15:56 To: Kristján Valur Jónsson Cc: python-dev@python.org Subject: Re: [Python-Dev] cpython: Issue #14744: Fix

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-30 Thread Larry Hastings
On 05/30/2012 12:43 PM, Martin v. Löwis wrote: Please understand that Visual Studio never had the notion of targetting an operating system. The Windows SDK has that notion, and it appears that targetting XP continues to be supported. I may be misremembering, but--the C API of necessity calls

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-30 Thread Neil Hodgson
Curt: But will it be able to target Windows XP? It will likely be possible in a reasonable manner at some point. From http://blogs.msdn.com/b/visualstudio/archive/2012/05/18/a-look-ahead-at-the-visual-studio-11-product-lineup-and-platform-support.aspx : C++ developers can also use the

Re: [Python-Dev] [Python-checkins] cpython: Make parameterized tests in email less hackish.

2012-05-30 Thread Nick Coghlan
I'm not clear on why this is a metaclass rather than a simple class decorator. On Thu, May 31, 2012 at 11:54 AM, r.david.murray python-check...@python.org wrote: +    In a _params dictioanry, the keys become part of the name of the generated +    tests.  In a _params list, the values in the