Re: [Python-Dev] PEP 8 updated on whether to break before or after a binary update

2016-04-15 Thread Ian Lee
g/msg263509> [2] https://github.com/python/peps/commit/0c790e7b721bd13ad12ab9e6f6206836f398f9c4 ~ Ian Lee | ianlee1...@gmail.com <mailto:ianlee1...@gmail.com> > On Apr 15, 2016, at 10:49, MRAB wrote: > > On 2016-04-15 18:03, Victor Stinner wrote: > > Hum. >

Re: [Python-Dev] Very old git mirror under github user "python-git"

2016-02-27 Thread Ian Lee
> On Feb 27, 2016, at 14:21, Alexander Walters wrote: > > Can we even ask github to pull it down and reasonably expect them to comply? > Their entire model is built on everyone forking everyone else. As a data point — I had a pretty good experience with GitHub helping me out when I was trying

Re: [Python-Dev] some minor questions about pep8

2015-03-20 Thread Ian Lee
ion('mypackage').version Also, then more useful things like "__all__" (which can very reasonably rely on imports), can be together with "__version__" and "__author__" assignments. I would vote: shebang docstring imports dunder assignments other code...

Re: [Python-Dev] some minor questions about pep8

2015-03-20 Thread Ian Lee
Guido, In that case would you be open to a patch to update the PEP accordingly? Additionally, does that official statement cover other dunder assignments (e.g. "__author__"?). If so I'll update the PEP8 tool accordingly. Thanks, ~ Ian Lee On Mar 20, 2015 8:55 PM, "Guid

Re: [Python-Dev] (no subject)

2015-02-11 Thread Ian Lee
I split off a separate thread on python-ideas [1] specific to the idea of introducing "+" and "+=" operators on a dict. [1] https://mail.python.org/pipermail/python-ideas/2015-February/031748.html ~ Ian Lee On Tue, Feb 10, 2015 at 10:35 PM, John Wong wrote: > > &g

Re: [Python-Dev] (no subject)

2015-02-10 Thread Ian Lee
s 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)