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,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 0F7101F44D for ; Thu, 14 Mar 2024 09:45:20 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=iDZtKd68; 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=LwhmYg+1; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 4ACBA83376; Thu, 14 Mar 2024 09:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1710409514; bh=nLtkkifPSok8EooOurV25U6HRCXGf4uiB5rfilX1uZ8=; 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=iDZtKd68NskKd1bV5SucW+kDc5eZGIa7LDZCGThgVZlaDNR2nJxIYBu4H7QmT8X1A eZaIXaFihOhYtTcQSnc4jqG+Znu30Zn0ohBiRw/dX62GTdqCvXxjFmh8KA83vrKUSj VTlPAC7u/5Ei8EeB8u1lUPhqBqYugH/nzQWdH4eQ= Received: from s.wfbtzhsv.outbound-mail.sendgrid.net (s.wfbtzhsv.outbound-mail.sendgrid.net [159.183.224.104]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 5901483372 for ; Thu, 14 Mar 2024 09:45:11 +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=LwhmYg+1; dkim-atps=neutral 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=aBCc0IsxeiLu/kHx6oM9nE8WlQ3Db14SAcfUe8DE+bY=; b=LwhmYg+1Szux9IkusNDtfyM6dnZKFLO4hXbxREQFykyLyFuF3LSJ2ZPsBG71mM+xrCmB JpnSqpWcJiFmhTig59GSdxF/BdhxGY7S8nyvOwf8vtc3jWM8b4LbqMMEHXl0EdbXD7AUPz Ce/NeHhwctX9wG3AjlzTYfTizwUqBRccMjJ8x8XGlybk+r6e8F5akS/isp0SF20XCyIC+k oZMKuZ3Zm6c9/CcfXjpCwQmaCJ/3dQsISsCbmL9B+QSu6MWNdC+RORWyZa/Ymsz2/xH610 oMPjdc9R2tDSFSLqXvHOsamRKBO57D67llVfvCblRBAt2JKWuXRjKeqnvD5ILKNg== Received: by recvd-6449d6bd6c-km2fs with SMTP id recvd-6449d6bd6c-km2fs-1-65F2C726-23 2024-03-14 09:45:10.449424188 +0000 UTC m=+1252541.812592857 Received: from herokuapp.com (unknown) by geopod-ismtpd-39 (SG) with ESMTP id 7vC6X8LgSUuO6KU3eRkO5A for ; Thu, 14 Mar 2024 09:45:10.410 +0000 (UTC) Date: Thu, 14 Mar 2024 09:45:10 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20261 X-Redmine-Issue-Author: burdettelamar X-Redmine-Issue-Assignee: burdettelamar 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: 93720 X-SG-EID: =?us-ascii?Q?u001=2Ep+ckLDtT+4Y5c+H0YCkEnsuWiCQmn3OZA=2F9FzjoR6ZZlPaMv54M7EFoSM?= =?us-ascii?Q?CX5Trc79ep2R5F+0oYS4n23jq1cv87GnV3RQdY6?= =?us-ascii?Q?J+7g8veJMb6ZeOsz=2FCqSTTsMrbDcoFtcP2Av8cj?= =?us-ascii?Q?wEwmyPWZMPHzmoqc62pE3GVXtATf7FDXkE=2Fdhl0?= =?us-ascii?Q?IANfOZSrNTQ3p2UjPD5NXJUbnUoij125jIQWvG8?= =?us-ascii?Q?=2F6uzVR4wKHyJ+ZGATB4GdZYW+DI6VrnpLu=2FROjL?= =?us-ascii?Q?x6jj?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: Q7UX5ZBUPE6YGLP3MKJHGPGVXCQ6YWFB X-Message-ID-Hash: Q7UX5ZBUPE6YGLP3MKJHGPGVXCQ6YWFB 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.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117154] [Ruby master Feature#20261] Add symbol synonyms for '' and nil for IO method line separator arguments 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 #20261 has been updated by mame (Yusuke Endoh). Discussed at the dev meeting, and @matz (Yukihiro Matsumoto) said he wants to take time to consider it. No conclusion is reached. ---------------------------------------- Feature #20261: Add symbol synonyms for '' and nil for IO method line separator arguments https://bugs.ruby-lang.org/issues/20261#change-107241 * Author: burdettelamar (Burdette Lamar) * Status: Open * Assignee: burdettelamar (Burdette Lamar) ---------------------------------------- [Feature 20261] For IO's line-oriented read methods, there are two special values for the line-separator argument `sep`; I'm proposing to add (user-friendlier) symbol synonyms for those values: - `:paragraph` as synonym for `''` (read paragraphs). - `:slurp` as synonym for `nil` (read all). Details (code, documentation, tests) may be seen at https://github.com/ruby/ruby/pull/9921. -- 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/postorius/lists/ruby-core.ml.ruby-lang.org/