[Python-Dev] TransformDict (PEP 455) Naming

2013-09-15 Thread anatoly techtonik
Does anybody know if http://vote.python.org is already operational? I decided to start a separate thread for TransformDict name, because I want to change it. Current implementation of PEP 455 only touches dictionary keys and it is more narrow than the name suggests. I'd reserve TransformDict name

Re: [Python-Dev] Relative path in co_filename for zipped modules

2013-09-15 Thread Vitaly Murashev
This bug has been reported as http://bugs.python.org/issue18307 over a month ago Аnd I've found out the root cause of this issue so far. Unit-test and patch are suggested. Without patch test fails, with patch - passed. On Wed, Jun 26, 2013 at 12:11 AM, Vitaly Murashev wrote: > Dear Python deve

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Nick Coghlan
On 16 September 2013 00:45, Serhiy Storchaka wrote: > 15.09.13 16:57, Antoine Pitrou написав(ла): > >> I don't really care. What's the point in the end? TransformDict is >> non-trivial to implement, while the so-called "TransformSet" is just a >> dict with a different API. > > > I don't see a diff

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Antoine Pitrou
On Sun, 15 Sep 2013 17:45:00 +0300 Serhiy Storchaka wrote: > 15.09.13 16:57, Antoine Pitrou написав(ла): > > I don't really care. What's the point in the end? TransformDict is > > non-trivial to implement, while the so-called "TransformSet" is just a > > dict with a different API. > > I don't see

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Serhiy Storchaka
15.09.13 16:57, Antoine Pitrou написав(ла): I don't really care. What's the point in the end? TransformDict is non-trivial to implement, while the so-called "TransformSet" is just a dict with a different API. I don't see a difference. To me TransformDict is just a dict (or two). _

Re: [Python-Dev] PEP 422: Simpler customisation of class creation

2013-09-15 Thread Nick Coghlan
On 16 September 2013 00:19, Ethan Furman wrote: > Three questions: > > > Would the new __initclass__ function be usable with actual full-blown > metaclasses? Sure (as long as the metaclass in question called it at the appropriate time, which those inheriting from type would do automatically)). >

[Python-Dev] PEP 422: Simpler customisation of class creation

2013-09-15 Thread Ethan Furman
Three questions: Would the new __initclass__ function be usable with actual full-blown metaclasses? The PEP says this: If present on the created object, this new hook will be called by the class creation machinery after the __class__ reference has been initialised. Given that statement,

[Python-Dev] PEP 428: Pathlib

2013-09-15 Thread Ethan Furman
I see PEP 428 is both targeted at 3.4 and still in draft status. What remains to be done to ask for pronouncement? -- ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://ma

Re: [Python-Dev] cpython: Issue #18571: Implementation of the PEP 446: file descriptors and file handles

2013-09-15 Thread Victor Stinner
Yes, but I'm not interested to write such doc. Victor Le 15 sept. 2013 10:34, "Georg Brandl" a écrit : > On 08/28/2013 01:20 AM, victor.stinner wrote: > > http://hg.python.org/cpython/rev/ef889c3d5dc6 > > changeset: 85420:ef889c3d5dc6 > > user:Victor Stinner > > date:Wed Aug 2

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Antoine Pitrou
On Sun, 15 Sep 2013 16:14:24 +0300 Serhiy Storchaka wrote: > 15.09.13 14:23, Antoine Pitrou написав(ла): > > On Sun, 15 Sep 2013 13:56:26 +0900 > > Larry Hastings wrote: > >> On 09/14/2013 07:30 PM, Antoine Pitrou wrote: > >>> On Sat, 14 Sep 2013 14:33:56 +0900 > >>> Larry Hastings wrote: >

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Serhiy Storchaka
15.09.13 14:23, Antoine Pitrou написав(ла): On Sun, 15 Sep 2013 13:56:26 +0900 Larry Hastings wrote: On 09/14/2013 07:30 PM, Antoine Pitrou wrote: On Sat, 14 Sep 2013 14:33:56 +0900 Larry Hastings wrote: Whenever I read a discussion about the dict, I always wonder whether the same thing appl

Re: [Python-Dev] PEP 455: TransformDict

2013-09-15 Thread Antoine Pitrou
On Sun, 15 Sep 2013 13:56:26 +0900 Larry Hastings wrote: > On 09/14/2013 07:30 PM, Antoine Pitrou wrote: > > On Sat, 14 Sep 2013 14:33:56 +0900 > > Larry Hastings wrote: > >> Whenever I read a discussion about the dict, I always wonder whether the > >> same thing applies to a set. Have you consi

Re: [Python-Dev] cpython: Issue #18571: Implementation of the PEP 446: file descriptors and file handles

2013-09-15 Thread Georg Brandl
On 08/28/2013 01:20 AM, victor.stinner wrote: > http://hg.python.org/cpython/rev/ef889c3d5dc6 > changeset: 85420:ef889c3d5dc6 > user:Victor Stinner > date:Wed Aug 28 00:53:59 2013 +0200 > summary: > Issue #18571: Implementation of the PEP 446: file descriptors and file > handl