[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread Łukasz Langa

Change by Łukasz Langa :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +25909
pull_request: https://github.com/python/cpython/pull/27371

___
Python tracker 

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



[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread miss-islington


Change by miss-islington :


--
pull_requests: +25910
pull_request: https://github.com/python/cpython/pull/27372

___
Python tracker 

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



[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-06-18 Thread Jelle Zijlstra


Change by Jelle Zijlstra :


--
keywords: +patch
pull_requests: +25370
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/26785

___
Python tracker 

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



[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-06-18 Thread Jelle Zijlstra


New submission from Jelle Zijlstra :

https://docs.python.org/3/library/sysconfig.html#sysconfig.get_path says it 
returns None if the name is not found, but the implementation 
(https://github.com/python/cpython/blame/main/Lib/sysconfig.py) uses [] and 
will raise KeyError instead.

Noticed by @srittau in https://github.com/python/typeshed/pull/5659. I will 
submit a PR.

--
assignee: Jelle Zijlstra
components: Documentation
messages: 396065
nosy: Jelle Zijlstra
priority: normal
severity: normal
status: open
title: Documented return type of sysconfig.get_path() is wrong
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 

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