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.
>
> 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
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...
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
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
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)