Re: [Python-Dev] GitHub migration scheduled for Friday
On Wed, Feb 8, 2017 at 8:52 AM, Senthil Kumaranwrote: > On Tue, Feb 7, 2017 at 11:38 PM, Victor Stinner > wrote: > > I know that different people have different expectation on GitHub. I > > would like to take the opportunity of migrating to Git to use the > > "author" and "committer" fields. If the author is set to the real > > author, the one who proposed the change on the bug tracker or someone > > else, we will be able to compute statistics on most active > > contributors to more easily detect them and promote them to core > > developers. > > > > What do you think? > > I am +1 to this idea. The intention behind this idea is also good one. > > * When the patches come from Github PRs, the contribution authors are > automatically tracked. The comitter would be merging the changes from > the authors. > > * When contribution comes via Patches/ or for many existing patches, > setting the author is a good idea. > > If we enable auto-PR creation, which was done by Anish as part of his GSoC we might be able to set the original author based on the github username associated with his user on bpo. But I'm guessing we need more work in this area ;) ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Update PEP 7 to require curly braces in C
To add my additional 0.02$ to the discussion. Quite a while ago my coworkers and I agreed to use strict rules regarding code formatting. That idea turned into a formatter we've had committed in the project itself. This forced everyone on the team to use it and thus producing exactly "the same looking" code. I found it very nice, although we've debated over how those rules should be applied for good couple months, that was at one of the previous companies I've worked for. Currently by day I'm working with Go, which go-fmt is by default required for all our projects and I found it extremely handy see [1], [2], [3]. Maciej [1] https://github.com/openshift/origin/ [2] https://github.com/openshift/source-to-image/ [3] https://github.com/kubernetes/kubernetes On Tue, Jan 19, 2016 at 9:48 AM, M.-A. Lemburg <m...@egenix.com> wrote: > On 19.01.2016 00:20, Brett Cannon wrote: > > On Sun, 17 Jan 2016 at 11:10 Brett Cannon <br...@python.org> wrote: > > > >> While doing a review of http://bugs.python.org/review/26129/ I asked to > >> have curly braces put around all `if` statement bodies. Serhiy pointed > out > >> that PEP 7 says curly braces are optional: > >> https://www.python.org/dev/peps/pep-0007/#id5. I would like to change > >> that. > >> > >> My argument is to require them to prevent bugs like the one Apple made > >> with OpenSSL about two years ago: > >> https://www.imperialviolet.org/2014/02/22/applebug.html. Skipping the > >> curly braces is purely an aesthetic thing while leaving them out can > lead > >> to actual bugs. > >> > >> Anyone object if I update PEP 7 to remove the optionality of curly > braces > >> in PEP 7? > >> > > > > Currently this thread stands at: > > Make that: > > > +1 > > Brett > > Ethan > > Robert > > Georg > > Nick > > Maciej Szulik > > +0 > > Guido > > -0 > > Serhiy > > -1 > MAL > > Victor (maybe; didn't specifically vote) > > Larry > > Stefan > > There are plenty other cases where typos can ruin the flow > of your code in C; the discussed case is not a very common one. > > I find the whole discussion a bit strange: In Python we're > advocating not having to use curly braces, because whitespace > already provides the needed semantics for us, yet you are > now advocating that without adding extra curly braces > we'd be in danger of writing wrong code. > > The Apple bug can happen in Python just as well: > > if a: > run_if_true() > else: > run_if_false() > > can turn into (say by hitting a wrong key in the editor): > > if a: > run_if_true() > run_if_false() > > (run_if_false is now run when a is true, and nothing is > done in case a is false) > > So what's the correct way to address this ? > > It's having a test for both branches (a is true, a is false), > not starting to write e.g. > > if a: > run_if_true() > if not a: > run_if false() > > to feel more "secure". > > Also note that the extra braces won't necessarily help you. > If you remove "else" from: > > if (a) { > run_if_true(); > } > else { > run_if_false(); > } > > you get exactly the same Apply bug as before, only with more > curly braces. > > This all sounds a bit like security theater to me ;-) > > I'd say: people who feel better using the extra braces can use > them, while others who don't need them can go ahead as always > ... and both groups should write more tests :-) > > BTW: There are other things in PEP 7 which should probably be updated > instead, e.g. it still says we should use C89, but we're having more > and more C99 code (mostly new library functions) in CPython. > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Experts (#1, Jan 19 2016) > >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ > >>> Python Database Interfaces ... http://products.egenix.com/ > >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ > > > ::: We implement business ideas - efficiently in both time and costs ::: > >eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg >Registered at Amtsgericht Duesseldorf: HRB 46611 >http://www.egenix.com/company/contact/ > http://www.malemburg.com/ > > ___ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/soltysh%40gmail.com > ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Update PEP 7 to require curly braces in C
On Mon, Jan 18, 2016 at 9:59 AM, Larry Hastingswrote: > > > On 01/17/2016 11:10 AM, Brett Cannon wrote: > > Anyone object if I update PEP 7 to remove the optionality of curly braces > in PEP 7? > > > I'm -1. I don't like being forced to add the curly braces when the code > is perfectly clear without them. If this was a frequent problem then I'd > put up with it, but I can't recall ever making this particular mistake > myself or seeing it in CPython source. It seems to me like a fix for a > problem we don't have. > > I'm +1. We don't have that problem yet and the idea Brett brought up is for future changes that will happen. We'll be soon moving to github, which should simplify the process of submitting PRs from other developers interested in making our beautiful language even more awesome. I'm quite positive that with current review process that kind of bug should not happen, but you never know. Having this as a requirement is rather to minimize the risk of potentially having such bugs. I've switched to this style myself good couple years ago and I find it very readable atm. Maciej */arry* > > ___ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/soltysh%40gmail.com > > ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] (no subject)
Thanks to Nick Coghlan and Barry Warsaw we've setup a new SIG dedicated to discussing python features from different distributions point of view. Here is Nick's reasoning: > With the Python 3 migration, and the growth in interest in user level > package management for development purposes, what do you think of the idea > of setting up a new Linux SIG to have those discussions? I know it's a case > of "yet another mailing list", but I think it will be worthwhile to have a > clear point of collaboration within the Python ecosystem, rather than > expecting Pythonistas to know how to reach out to (other) distros directly. The list is available @ https://mail.python.org/mailman/listinfo/linux-sig Maciej ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python Bug Day in October
On 10/24/2012 03:19 AM, Éric Araujo wrote: Hello, Le 12/10/2012 13:50, Petri Lehtinen a écrit : It's two and a half weeks left, but I've not seen any announcements yet! Indeed, work and other commitments took over, so we (Montréal-Python) decided to move the bug day instead of announcing it late. The date that would work for us is November 3rd. Brian, is it okay for Boston? Maciej, what about your group? Comitters, who could join on IRC? Sorry for the false start. Eric, We have a meeting tomorrow, I'll talk to guys, but because we're starting Silesian Python Group, there won't be much interest yet. I'll try to work on that ;) maybe some time in future I could organize this kind of event and invite all of you to join us. Nonetheless I'll try to join both events, on this and next Saturday on IRC. Maciej ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python Bug Day in October
On 10/02/2012 08:47 PM, Éric Araujo wrote: Hello, We confirm October 27! User groups and devs on IRC, join us if you can. I’ll send an announcement to the mentoring list to let subscribers know about the event. Cheers I'll be joining this particular event for sure, through IRC, I was planing to get more Poles interested in topic ;) Thanks for clearing things, I'll see what can be done with another Bug Day :) Regards, Maciej ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python Bug Day in October
On 09/28/2012 12:30 AM, Éric Araujo wrote: Hi all, The Montreal-Python user group would like to host a bug day on October 27 (to be confirmed) at a partner university in Montreal. It would be cool to do a bug day on IRC like we used to (and in other physical locations if people want to!) to get new contributors and close bugs. What do you think? Cheers Eric, How do you and Montreal-Pythoon user group see possibility to move this event a little bit in time, to have enough time to organize everything what's needed. In most cases peoples here in Poland. How about doing this event whole month later, meaning end of November? If we all get enough time to prepare and advertise it properly, we might attract bigger group of people, which in long term means more hands to work on bugs :) Regards, Maciej ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python Bug Day in October
On 09/28/2012 12:30 AM, Éric Araujo wrote: Hi all, The Montreal-Python user group would like to host a bug day on October 27 (to be confirmed) at a partner university in Montreal. It would be cool to do a bug day on IRC like we used to (and in other physical locations if people want to!) to get new contributors and close bugs. What do you think? Great idea, I'll talk to Łukasz Langa about possibilities to gather a group of Poles interested in this topic. Łukasz could be the leader of our group. Regards, Maciej ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 404 in (important) documentation in www.python.org and contributor agreement
Dnia 25-11-2011 o godz. 1:01 Jesus Cea napisał(a): PS: The devguide doesn't say anything (AFAIK) about the contributor agreement. There is info in the Contributing part of the devguide, follow How to Become a Core Developer link which points to http://docs.python.org/devguide/coredev.html where Contributor Agreement is mentioned. Regards, Maciej ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com