[issue42254] inspect.getmembers iterator version

2020-11-03 Thread signing_agreement


signing_agreement  added the comment:

That is a fair point. I selected a few popular python libraries to test, and 
they all return a small list.

--
stage:  -> 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



[issue42254] inspect.getmembers iterator version

2020-11-03 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

I personally don't think it is worthwhile to add another API for this without a 
good use case.  The memory overhead of eagerly creating a list should be fairly 
small.

--

___
Python tracker 

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



[issue42254] inspect.getmembers iterator version

2020-11-03 Thread signing_agreement


signing_agreement  added the comment:

The object it deals with is already loaded, but in cases I see online, users 
tend to examine one member at a time.

--

___
Python tracker 

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



[issue42254] inspect.getmembers iterator version

2020-11-03 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

why?

--
nosy: +ronaldoussoren

___
Python tracker 

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



[issue42254] inspect.getmembers iterator version

2020-11-03 Thread signing_agreement


New submission from signing_agreement :

inspect.getmembers should have a generator version.

--
components: Library (Lib)
messages: 380287
nosy: signing_agreement
priority: normal
severity: normal
status: open
title: inspect.getmembers iterator version
type: enhancement
versions: Python 3.10

___
Python tracker 

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