Re: [Python-Dev] (no subject)
On Wed, Feb 11, 2015 at 12:35 AM, Ian Lee ianlee1...@gmail.com wrote: +1 for adding + or | operator for merging dicts. To me this operation: {'x': 1, 'y': 2} + {'z': 3} {'x': 1, 'y': 2, 'z': 3} Is very clear. The only potentially non obvious case I can see then is when there are duplicate keys, in which case the syntax could just be defined that last setter wins, e.g.: {'x': 1, 'y': 2} + {'x': 3} {'x': 3, 'y': 2} Which is analogous to the example: new_dict = dict1.copy() new_dict.update(dict2) Well looking at just list a + b yields new list a += b yields modified a then there is also .extend in list. etc. so do we want to follow list's footstep? I like + because + is more natural to read. Maybe this needs to be a separate thread. I am actually amazed to remember dict + dict is not possible... there must be a reason (performance??) for this... ___ 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] https:bugs.python.org -- Untrusted Connection (Firefox)
As of today I still am getting untrusted cert thought I would re-ping to see if there is an ETA. On Thu, Aug 21, 2014 at 10:32 PM, Terry Reedy tjre...@udel.edu wrote: On 8/21/2014 7:25 PM, Nick Coghlan wrote: On 22 Aug 2014 04:45, Benjamin Peterson benja...@python.org mailto:benja...@python.org wrote: Perhaps some board members could comment, but I hope the PSF could just pay a few hundred a year for a proper certificate. That's exactly what we're doing - MAL reminded me we reached the same conclusion last time this came up, we'll just track it better this time to make sure it doesn't slip through the cracks again. (And yes, switching to forced HTTPS once this is addressed would also be a good idea - we'll add it to the list) I just switched from a 'low variety' short password of the sort almost crackable with brute force (today, though not several years ago) to a higher variety longer password. People with admin privileges on the tracker might be reminded to recheck. What was adequate 10 years ago is not so now. -- Terry Jan Reedy ___ 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/gokoproject%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] Fwd: Python 2.x and 3.x usage survey
Hackernews is a good place to start. https://news.ycombinator.com/item?id=6992482 On Tue, Dec 31, 2013 at 1:13 PM, Dan Stromberg drsali...@gmail.com wrote: On Tue, Dec 31, 2013 at 1:50 AM, Paul Moore p.f.mo...@gmail.com wrote: On 31 December 2013 05:31, Dan Stromberg drsali...@gmail.com wrote: So far the results are looking good for 3.x. Where can the results be seen? I don't think there's a publicly-available results page yet. I'll summarize them after more people have had a chance to fill it out. I'm trying to get it onto planet python - that should help. But I created the blog post without a Python label initially, and added it afterward - not sure if that'll work or not. ___ 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/gokoproject%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] Fwd: Python 2.x and 3.x usage survey
Ah interesting. I just saw that in my newsfeed. Thanks. Deleted mine! Yeah there is certain hours that can make a post popular :) On Tue, Dec 31, 2013 at 3:05 PM, Janzert janz...@janzert.com wrote: On 12/31/2013 1:13 PM, Dan Stromberg wrote: On Tue, Dec 31, 2013 at 1:50 AM, Paul Moore p.f.mo...@gmail.com wrote: On 31 December 2013 05:31, Dan Stromberg drsali...@gmail.com wrote: So far the results are looking good for 3.x. Where can the results be seen? I don't think there's a publicly-available results page yet. I'll summarize them after more people have had a chance to fill it out. I'm trying to get it onto planet python - that should help. But I created the blog post without a Python label initially, and added it afterward - not sure if that'll work or not. I submitted it to hacker news[1] and it has been sitting around #5 on the front page for about 3 hours now. That should've helped broaden the responses a bit. Janzert 1. https://news.ycombinator.com/item?id=6990481 ___ 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/ gokoproject%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] Add Gentoo packagers of external modules to Misc/ACKS
Looks like a human to me instead, or some kind of smart AI. look he just responded again. On Sun, Dec 8, 2013 at 5:29 AM, R. David Murray rdmur...@bitdance.comwrote: As far as we have been able to determine, Tae Wong is in fact a bot (note the 'seo' in the email address...a tip of the hand, as far as I can see). We have removed all access permissions (including email) from the related account on the bug tracker already. IMO this address should be blocked from posting to all python lists. --David On Sun, 08 Dec 2013 11:07:10 +0100, Dirkjan Ochtman dirk...@ochtman.nl wrote: Tae Wong, Please don't speak on behalf the Gentoo Python team. Everyone else, sorry for this, they are definitely not actually connected to our Gentoo team. Cheers, Dirkjan ___ 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/rdmurray%40bitdance.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/gokoproject%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