Change by Wansoo Kim :
--
keywords: +patch
nosy: +ys19991
nosy_count: 4.0 -> 5.0
pull_requests: +20529
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21384
___
Python tracker
<https://bugs.python.org/i
New submission from Wansoo Kim :
Hello!
When using 'if syntax', casting condition to bool type is unnecessary. Rather,
it only occurs overhead.
https://github.com/python/cpython/blob/b26a0db8ea2de3a8a8e4b40e69fc8642c7d7cb68/Lib/asyncio/futures.py#L118
If you look at the link above
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20544
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21396
___
Python tracker
<https://bugs.python.org/issu
New submission from Wansoo Kim :
Hello
I think it's better to use += than list.join() when concating strings.
This is more intuitive than other methods.
Also, I personally think it is not good for one variable to change to another
type during runtime.
https://github.com/python/cpython
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20545
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21397
___
Python tracker
<https://bugs.python.org/issu
New submission from Wansoo Kim :
https://bugs.python.org/issue41242
According to BPO-41242, it is better to use join than += when concatenating
multiple strings.
https://github.com/python/cpython/blob/b26a0db8ea2de3a8a8e4b40e69fc8642c7d7cb68/Lib/asyncio/queues.py#L82
However, the link above
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20546
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21398
___
Python tracker
<https://bugs.python.org/issu
Wansoo Kim added the comment:
Well... to be honest, I'm a little confused. bpo-41244 and this issue are
completely opposite. I'm not used to Python community yet because it hasn't
been long since I joined it.
You're saying that if a particular method is not dramatically
Wansoo Kim added the comment:
May I solve this issue?
--
nosy: +ys19991
___
Python tracker
<https://bugs.python.org/issue41199>
___
___
Python-bugs-list mailin
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20562
pull_request: https://github.com/python/cpython/pull/21413
___
Python tracker
<https://bugs.python.org/issue41
Wansoo Kim added the comment:
Can I solve this problem?
--
nosy: +ys19991
___
Python tracker
<https://bugs.python.org/issue37894>
___
___
Python-bugs-list mailin
Wansoo Kim added the comment:
Can you reproduce this bug? I was able to find the hidden file by recursive
search by excuting the code below.
```
from glob import glob
hidden = glob('**/.*')
print(hidden)
```
--
nosy: +ys19991
___
Pyth
New submission from Wansoo Kim :
Using the name of the built-in function as a variable can cause unexpected
problems.
```
# example
type = 'Hello'
...
type('Happy')
Traceback (most recent call last):
File "", line 1, in
TypeError: 'str' obje
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20574
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21427
___
Python tracker
<https://bugs.python.org/issu
Change by Wansoo Kim :
--
pull_requests: +20575
pull_request: https://github.com/python/cpython/pull/21428
___
Python tracker
<https://bugs.python.org/issue41
Wansoo Kim added the comment:
Can I solve this issue?
--
nosy: +ys19991
___
Python tracker
<https://bugs.python.org/issue40982>
___
___
Python-bugs-list mailin
New submission from Wansoo Kim :
Many Python users use the following snippets to read Json File.
```
with oepn(filepath, 'r') as f:
data = json.load(f)
```
I suggest providing this snippet as a function.
```
data = json.read(filepath)
```
Reading Json is very frequent task
Change by Wansoo Kim :
--
keywords: +patch
pull_requests: +20601
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21453
___
Python tracker
<https://bugs.python.org/issu
18 matches
Mail list logo