[issue30618] readlink for pathlib paths

2019-07-19 Thread Girts Folkmanis
Change by Girts Folkmanis : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue30618> ___ ___ Python-bugs-list mailin

[issue34534] importlib.resources does not work with packages that have no __init__.py

2018-08-28 Thread Girts Folkmanis
Girts Folkmanis added the comment: > What's the difference between "namespace packages and implicit non-namespace > packages"? To me, the semantic difference is that "namespace packages" are what is used when you have "foo.bar" and "foo.baz&q

[issue34534] importlib.resources does not work with packages that have no __init__.py

2018-08-28 Thread Girts Folkmanis
New submission from Girts Folkmanis : importlib.resources does not seem to work with packages that don't have __init__.py present. Since 3.3+ generally there is no need to create empty __init__.py, as directories are automatically treated as packages even without the file present. So my

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-11 Thread Girts Folkmanis
New submission from Girts Folkmanis : Documentation for os.readlink says "Changed in version 3.6: Accepts a path-like object.". This works fine on macOS, but blows up on Windows: Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32