[issue44164] Document what are resources in importlib.resources

2021-05-23 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've not previously seen a definition of resources. The original implementation of importlib_resources excluded 'directories' as resources and excluded support for resources being in subdirectories (only files in packages were allowed). Now resources can

[issue44164] Document what are resources in importlib.resources

2021-05-21 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +24886 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26280 ___ Python tracker ___

[issue44164] Document what are resources in importlib.resources

2021-05-17 Thread Filipe Laíns
New submission from Filipe Laíns : It would be good to explain what constitutes a resource in the importlib.resources documentation. As per the current implementation, they should be defined as arbitrary files contained in the package. Is this correct? -- assignee: docs@python