[Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Serhiy Storchaka
There were several suggestions for naming new macros which replace old value with new value and then (x)decref old value. #define Py_XXX(ptr, value)\ { \ PyObject *__tmp__ = ptr; \ ptr = new_value; \ Py_DECREF(__tmp__);

Re: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2

2014-02-26 Thread Stephen J. Turnbull
Nick Coghlan writes: sjt writes: although introduction of a new format character is a poor man's consistency, and this is consistency for consistency's sake. (I don't have a big problem with that, though. I *like* consistency!) It's *not* a new format character, unless you mean

Re: [Python-Dev] GSoC 2014 - Email Module

2014-02-26 Thread Surya
On Wed, Feb 26, 2014 at 8:16 AM, Terry Reedy tjre...@udel.edu wrote: On 2/25/2014 8:56 PM, Surya wrote: Hey there, I am Surya, studying final year of Engineering. I have looked into Core Python's ideas list and got interested in Email module. I've been working on Django over the past few

Re: [Python-Dev] GSoC 2014 - Email Module

2014-02-26 Thread Brett Cannon
On Wed, Feb 26, 2014 at 4:46 AM, Surya kasturi.su...@gmail.com wrote: On Wed, Feb 26, 2014 at 8:16 AM, Terry Reedy tjre...@udel.edu wrote: On 2/25/2014 8:56 PM, Surya wrote: Hey there, I am Surya, studying final year of Engineering. I have looked into Core Python's ideas list and got

Re: [Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Ryan Gonzalez
I like Py_DECREF_REPLACE. It gives the impression that it decrefs the original and replaces it. On Wed, Feb 26, 2014 at 3:40 AM, Serhiy Storchaka storch...@gmail.comwrote: There were several suggestions for naming new macros which replace old value with new value and then (x)decref old value.

Re: [Python-Dev] GSoC 2014 - Email Module

2014-02-26 Thread Paul Moore
On 26 February 2014 16:13, Brett Cannon br...@python.org wrote: Please sign up for core-mentorship list and ask questions there. Is this for students too? Because I want to join as a student. The mailing list is for anyone who wants to contribute to Python's development and wants some

Re: [Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Antoine Pitrou
On Wed, 26 Feb 2014 11:40:01 +0200 Serhiy Storchaka storch...@gmail.com wrote: There were several suggestions for naming new macros which replace old value with new value and then (x)decref old value. #define Py_XXX(ptr, value)\ { \

[Python-Dev] GSoC 2014 - Status for Core Python

2014-02-26 Thread Terry Reedy
On 2/26/2014 12:34 PM, Paul Moore wrote: The subject of this email mentions GSoC, it's probably worth clarifying that the GSoC process is still under way and there isn't (as far as I know, I'm not involved myself) a confirmed list of mentors and projects in place yet. There is a confirmed

Re: [Python-Dev] GSoC 2014 - Status for Core Python

2014-02-26 Thread Paul Moore
On 26 February 2014 18:53, Terry Reedy tjre...@udel.edu wrote: On 2/26/2014 12:34 PM, Paul Moore wrote: The subject of this email mentions GSoC, it's probably worth clarifying that the GSoC process is still under way and there isn't (as far as I know, I'm not involved myself) a confirmed list

Re: [Python-Dev] GSoC 2014 - Status for Core Python

2014-02-26 Thread Tim Delaney
On 27 February 2014 05:53, Terry Reedy tjre...@udel.edu wrote: PSF acts as an umbrella organization for multiple Python projects https://wiki.python.org/moin/SummerOfCode/2014 Core Python is the first listed of about 15. I'm guessing Mercurial will appear under the umbrella in the not to

Re: [Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Nick Coghlan
On 27 Feb 2014 04:28, Antoine Pitrou solip...@pitrou.net wrote: On Wed, 26 Feb 2014 11:40:01 +0200 Serhiy Storchaka storch...@gmail.com wrote: There were several suggestions for naming new macros which replace old value with new value and then (x)decref old value. #define Py_XXX(ptr,

Re: [Python-Dev] GSoC 2014 - Status for Core Python

2014-02-26 Thread Nick Coghlan
On 27 Feb 2014 08:07, Tim Delaney timothy.c.dela...@gmail.com wrote: On 27 February 2014 05:53, Terry Reedy tjre...@udel.edu wrote: PSF acts as an umbrella organization for multiple Python projects https://wiki.python.org/moin/SummerOfCode/2014 Core Python is the first listed of about 15.

Re: [Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Georg Brandl
Am 26.02.2014 17:09, schrieb Ryan Gonzalez: I like Py_DECREF_REPLACE. It gives the impression that it decrefs the original and replaces it. Agreed, most other suggestions are not really explicit enough. Georg ___ Python-Dev mailing list