-
Antoine Pitrou authored
Issue #14159: Fix the len() of weak sets to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
0c0ad370
Issue #14159: Fix the len() of weak sets to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.