[issue35728] Tkinter font nametofont requires default root

2020-12-21 Thread Desmond Cheong


Change by Desmond Cheong :


--
keywords: +patch
nosy: +desmondcheongzx
nosy_count: 2.0 -> 3.0
pull_requests: +22744
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/23885

___
Python tracker 
<https://bugs.python.org/issue35728>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42727] [Enum] EnumMeta.__prepare__ needs to accept **kwds

2020-12-25 Thread Desmond Cheong


Change by Desmond Cheong :


--
nosy: +desmondcheongzx
nosy_count: 3.0 -> 4.0
pull_requests: +22792
pull_request: https://github.com/python/cpython/pull/23885

___
Python tracker 
<https://bugs.python.org/issue42727>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14678] Update zipimport to support importlib.invalidate_caches()

2021-01-07 Thread Desmond Cheong


Change by Desmond Cheong :


--
keywords: +patch
nosy: +desmondcheongzx
nosy_count: 9.0 -> 10.0
pull_requests: +22987
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/24159

___
Python tracker 
<https://bugs.python.org/issue14678>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42818] AttributeError: 'zipimporter' object has no attribute 'find_spec'

2021-01-07 Thread Desmond Cheong


Desmond Cheong  added the comment:

Could you provide some information about the system you're running this on? I 
might be wrong, but this does seem like an issue with this copy of setuptools. 
From the Traceback, it seems that line 2196 of 
/usr/lib/python3/dist-packages/pkg_resources/__init__.py runs `loader = 
importer.find_spec(packageName)` when trying to handle the AttributeError 
exception. However, this line should instead have run `loader = 
importer.find_module(packageName)` based on the source code 
https://github.com/pypa/setuptools/blob/95a9c474d30acc729b536f9ad88ead7efab62c5d/pkg_resources/__init__.py#L2190-L2197

Git blame also tells me that this fall-back has been implemented for a few 
years now.

It also appears that the zipimporter.find_spec method is not implemented in 
Python3.9 and earlier. However, zipimporter.find_module has been implemented 
for at least Python3.8 onwards, if not earlier 
(https://github.com/python/cpython/blob/ca8e96d1edbeb536f58da91e607082463398fce1/Lib/zipimport.py#L139-L150).

--
nosy: +desmondcheongzx

___
Python tracker 
<https://bugs.python.org/issue42818>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42798] pip search fails

2021-01-07 Thread Desmond Cheong


Desmond Cheong  added the comment:

Seems that this is due to PyPI's search API being disabled.

https://github.com/pypa/pip/issues/5216#issuecomment-744605466

--
nosy: +desmondcheongzx

___
Python tracker 
<https://bugs.python.org/issue42798>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com