Project

General

Profile

Actions

Misc #21627

closed

No usages of rb_enumeratorize

Added by ricardo.trindade743@gmail.com (Ricardo Trindade) 3 days ago. Updated 2 days ago.

Status:
Rejected
Assignee:
-
[ruby-core:<unknown>]

Description

Throughout the codebase there seems to be no usages of the rb_enumeratorize method. Behind the scenes it is calling rb_enumeratorize_with_size which seems to be the recommended option, and this method has way more usages.
Would it be ok to cleanup the method and its usages? Last issue reported here https://bugs.ruby-lang.org/issues/7302. If I get it correctly it seems to point that the method should be internal.
Happy to work on a PR for this.

Actions #1

Updated by hsbt (Hiroshi SHIBATA) 2 days ago

  • Assignee deleted (ricardo.trindade743@gmail.com (Ricardo Trindade))
Actions #2

Updated by alanwu (Alan Wu) 2 days ago ยท Edited

  • Status changed from Open to Rejected

This has been public API for years, and since it doesn't really incur much maintenance burden to keep around anyways, we keep it to not bother external users with a breaking change.

Actions

Also available in: Atom PDF

Like0
Like0Like0