Jesse Rosenthal writes:
> python3 doesn't allow dictionaries to be initialized with non-string
> keywords. This presents problems on systems in which "python" means
> "python3". We instead initalize the dictionary using the dict
> comprehension and then update it with the values from the tree.
Jesse Rosenthal jrosent...@jhu.edu writes:
python3 doesn't allow dictionaries to be initialized with non-string
keywords. This presents problems on systems in which python means
python3. We instead initalize the dictionary using the dict
comprehension and then update it with the values from
On Fri, Oct 31 2014, "W. Trevor King" wrote:
> On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
>> We instead initalize the dictionary using the dict comprehension and
>> then update it with the values from the tree. This will work with
>> both python2 and python3.
>
> Dict
On Fri, Oct 31 2014, W. Trevor King wk...@tremily.us wrote:
On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
We instead initalize the dictionary using the dict comprehension and
then update it with the values from the tree. This will work with
both python2 and python3.
Dict
"W. Trevor King" writes:
> On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
>> We instead initalize the dictionary using the dict comprehension and
>> then update it with the values from the tree. This will work with
>> both python2 and python3.
>
> Dict comprehensions are new in
python3 doesn't allow dictionaries to be initialized with non-string
keywords. This presents problems on systems in which "python" means
"python3". We instead initalize the dictionary using the dict
comprehension and then update it with the values from the tree. This
will work with both python2
On Fri, Oct 31, 2014 at 02:04:50PM -0400, Jesse Rosenthal wrote:
> W. Trevor King writes:
> > On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
> >> We instead initalize the dictionary using the dict comprehension
> >> and then update it with the values from the tree. This will work
On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
> We instead initalize the dictionary using the dict comprehension and
> then update it with the values from the tree. This will work with
> both python2 and python3.
Dict comprehensions are new in 2.7 [1,2], so this drops support
python3 doesn't allow dictionaries to be initialized with non-string
keywords. This presents problems on systems in which python means
python3. We instead initalize the dictionary using the dict
comprehension and then update it with the values from the tree. This
will work with both python2 and
On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
We instead initalize the dictionary using the dict comprehension and
then update it with the values from the tree. This will work with
both python2 and python3.
Dict comprehensions are new in 2.7 [1,2], so this drops support for
On Fri, Oct 31, 2014 at 02:04:50PM -0400, Jesse Rosenthal wrote:
W. Trevor King writes:
On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
We instead initalize the dictionary using the dict comprehension
and then update it with the values from the tree. This will work
with
W. Trevor King wk...@tremily.us writes:
On Fri, Oct 31, 2014 at 01:33:25PM -0400, Jesse Rosenthal wrote:
We instead initalize the dictionary using the dict comprehension and
then update it with the values from the tree. This will work with
both python2 and python3.
Dict comprehensions are
12 matches
Mail list logo