From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CA1161F549 for ; Fri, 9 May 2025 03:20:31 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=G+tALM3H; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=RURfeDvf; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1746760798; bh=DfRZguA9JrRQ7cramvru7yfpl8Z6OCcVK1LlY6eK5tM=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=G+tALM3H9IRQ8mj9rWrj1uWYICbD8J1deFIFgPmw8iQGrUAz2IypYHpsMW/h7FVky 9uMottrlkjw+Q7UtbI9Ky5y3s+Ni2zbm76SPEVSyWefHgc5rXujjxhi8Svh7zr4m8/ h4luzctutVjM0aXhmNyuYNn15BtceazLAffl8E9M= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id F11D047644 for ; Fri, 9 May 2025 03:19:58 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=RURfeDvf; dkim-atps=neutral Received: from s.wfbtzhsw.outbound-mail.sendgrid.net (s.wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 3BE934752A for ; Fri, 9 May 2025 03:19:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=pNOOFQQk781Rbg5iLE9WUcSoqcHbS4KrSvH9zxecpXE=; b=RURfeDvfPGYavlmDxwOrYPB31Ur43X3yRwzOhhoZCEhgAy/K7k/Fn4UyT4UNBiKAlUVP hUh1RuEwDBl0QIK6m/l9EaunY0F+NkmiPPHTeKHptFkqR1LY5gsHVl6kB6UdxLHNijlT1C 2lL9146na4m6ZWEzBLe2GypAgcWkSUcp2dYUVVSU1YtCDgN+1PXxdBhRI7EIL2CgE3E0Jr Bodx++GZer29v9TTVG8Jim6mor1mSMwmfeKvQFBUHlrIricCmhDJg2FUQL6kBKQndpVQb0 n7F+Rp3KHDBj2VwVTbdjRw/pUtv4PIyjK25VC9L/p3Kcj6CFM/KPvQTjELg10WNg== Received: by recvd-b7858b88-2mbgw with SMTP id recvd-b7858b88-2mbgw-1-681D7443-1 2025-05-09 03:19:31.106144664 +0000 UTC m=+2610657.378590875 Received: from herokuapp.com (unknown) by geopod-ismtpd-36 (SG) with ESMTP id biHeUgUTSCWLJ4KWZIXuGQ for ; Fri, 09 May 2025 03:19:31.097 +0000 (UTC) Date: Fri, 09 May 2025 03:19:31 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 21287 X-Redmine-Issue-Author: jeremyevans0 X-Redmine-Issue-Priority: Normal X-Redmine-Sender: mame X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 98679 X-SG-EID: =?us-ascii?Q?u001=2Ep+ckLDtT+4Y5c+H0YCkEnsuWiCQmn3OZA=2F9FzjoR6ZZlPaMv54M7EFoSM?= =?us-ascii?Q?CX5Trc79ep2R5F+0oYS4n23jq1cv+p2eeCAcyTP?= =?us-ascii?Q?T2gVOOkrDNt6UIxD+wxhSwmYcR2LsU13YRLT66p?= =?us-ascii?Q?wDisDDu+4FMhTipRr7BZiOYjixZfIA9jlbSZHvf?= =?us-ascii?Q?YqAfX2KyeZ5kNaLdTicu13FIQyLz1BNOi5ft2HO?= =?us-ascii?Q?LRbm+dWaj6qjsobeNydWQTyRY7KOiCrE8ffqfft?= =?us-ascii?Q?iGUu?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: KEYBXSMMQAAWZLDK4SDDJOL7PFLD7QIA X-Message-ID-Hash: KEYBXSMMQAAWZLDK4SDDJOL7PFLD7QIA X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:121923] [Ruby Feature#21287] Remove SortedSet autoload and set/sorted_set List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "mame (Yusuke Endoh) via ruby-core" Cc: "mame (Yusuke Endoh)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #21287 has been updated by mame (Yusuke Endoh). Discussed at the dev meeting, and @matz said "go ahead". ---------------------------------------- Feature #21287: Remove SortedSet autoload and set/sorted_set https://bugs.ruby-lang.org/issues/21287#change-113031 * Author: jeremyevans0 (Jeremy Evans) * Status: Open ---------------------------------------- When implementing core Set, I moved the `SortedSet` autoload from `lib/set.rb` to `prelude.rb`. However, since this autoload only works if the `sorted_set` gem is installed, I don't think it's a good idea to have in core. I would like to remove it. I've submitted a pull request that removes it: https://github.com/ruby/ruby/pull/13188 . I'm not sure whether people would prefer a deprecation warning before removal, to alert users who have the `sorted_set` gem installed and are relying on the autoload. Previously, the `SortedSet` autoload was only setup if you had already referenced `Set` to force loading `lib/set.rb`. So `Set; SortedSet` worked, but `SortedSet; Set` did not. If people would prefer a deprecation warning, I think it's fine to deprecate in 3.5 and remove in 3.6, and I can submit a separate pull request for that approach. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/