New submission from 林自均 :
When I create 2 different dicts with the same literal, their dict.values() are
equal in python2 but not equal in python3.
Here is an example in python2:
$ python2
Python 2.7.16 (default, Mar 4 2019, 09:02:22)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0
林自均 added the comment:
Hi Karthikeyan and Serhiy,
Thank you for the explanation. I'll check the references you gave me.
--
___
Python tracker
<https://bugs.python.org/is
林自均 added the comment:
"丗" means "30" in Japanese. However, it is a variant Chinese character to "世",
where "世" means "world" in Chinese.
I'm not sure if this information makes any difference.
--
nosy: +johnlinp
___
林自均 added the comment:
Hi Pedro Lacerda,
I think you should submit your patch as a GitHub pull request. Please correct
me if I'm wrong. Thanks.
--
nosy: +林自均
___
Python tracker
<http://bugs.python.org/is
New submission from 林自均:
Although systemd units are inspired by .ini format, ConfigParser is unable to
parse those files because:
1. Multiple assignments to the same option in systemd units are concatenated
with white spaces.
2. Multiple sections with the same section name are merged.
3. An
New submission from 林自均 :
There are str.index() and str.rindex(), but there is only list.index() and no
list.rindex(). It will be very handy if we provide it.
--
components: Library (Lib)
messages: 340312
nosy: johnlinp
priority: normal
severity: normal
status: open
title: Provide
Change by 林自均 :
--
keywords: +patch
pull_requests: +12776
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36639>
___
___
Python-
林自均 added the comment:
Hi @SilentGhost, Thank you for the feedback. The PR is only a WIP and a
placeholder.
Hi @xtreak, Thank you for searching that mailing list for me. However, after
reading the thread, it seems that we didn't have any conclusion on whether we
should add list.rindex
林自均 added the comment:
Hi @rhettinger ,
Thank you for the reply. May I ask what is the known, strong use cases for
str.rindex()?
--
___
Python tracker
<https://bugs.python.org/issue36
林自均 added the comment:
>From the discussion in
>https://mail.python.org/pipermail/python-ideas/2019-April/056416.html, Guido
>said:
> Some use cases for rindex() on strings that I found in a large codebase
here include searching a pathname for the final slash, a list of
comma-sep
林自均 added the comment:
Hi @SilentGhost,
Yes, sorry I didn't make it clear. I was just posting the discussion here for
some reference, not claiming that this issue should be reopened.
--
___
Python tracker
<https://bugs.python.org/is
11 matches
Mail list logo