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 autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (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 476911FA93 for ; Wed, 17 Apr 2024 04:58:37 +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=YX3noc45; 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=Pv8swTUA; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id A4E9A84355; Wed, 17 Apr 2024 04:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1713329909; bh=IFJWn7baWWcBs3iwz+Fi1rcxyBqMFQQqTIPQpqC6iwU=; 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=YX3noc45Oi9RwzmVUS0ZemLMyUGR0nXGnSi/y3wDmpsWi4d1I3mcYwxFtYvREVnGC aVHwxRNR6Vi7o+3LoyuYMgXqz0yG6y10HtyslbR8roTHBDz+Bt7wU/otPE/sc7EeMh RToa1jn/9WytAOhiom2mSPp3KKaRmADevRsSRbLs= 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 D0EF181361 for ; Wed, 17 Apr 2024 04:58:26 +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=Pv8swTUA; 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=PcccjHzpS1ltZnX6oBgmGdqtQNLflLCp7NwrabRi5cA=; b=Pv8swTUAMhmA423HKwMevtnRQ+RUZQUMZJdK1SThQd1sqNrqRzxxz4DKQH53TUgH1MjN +eEPltLyImc/gzi0nNsfPt9sQe/CZGbmJNdulJC74KNp0ePT6qQtfAGaSGFpKQ0WriECbF Aa7bit86V1blFd5Fwf5+Ozs5DPXtjShZSX8RUvmXd52hlNe9o+z0x0uzf6ZP0J4G5ZBfeN XAzh3Fljjv7ptf+i95LmeJ4DAa7mrK1rMSyspCePJyfKWww6G0IFOZvsvPx+9bnnx0A+gx 2KTAbgXXj1UL0rQN/PFdVoloxEN262uacjXdyvAboMoSxcsfxaDQIHpliwuWh7Lw== Received: by recvd-8c7b9fb4f-csd5w with SMTP id recvd-8c7b9fb4f-csd5w-1-661F56F1-9 2024-04-17 04:58:25.848904479 +0000 UTC m=+370653.086902335 Received: from herokuapp.com (unknown) by geopod-ismtpd-33 (SG) with ESMTP id WrKay6LhT4-Gej1Rd-PzHg for ; Wed, 17 Apr 2024 04:58:25.788 +0000 (UTC) Date: Wed, 17 Apr 2024 04:58:25 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 6413 X-Redmine-Issue-Author: shevegen X-Redmine-Issue-Assignee: matz X-Redmine-Issue-Priority: Normal X-Redmine-Sender: matz 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: 94142 X-SG-EID: =?us-ascii?Q?u001=2Eqca74XLbbBG2T0HhbEZgBN9E1Qhb0c7bGBe1waNAWdTreSqyWPDekZUgq?= =?us-ascii?Q?NYk4+nm=2F0VIqwc8ZBTQxqk7G=2FctsRLtYG2yTl=2FP?= =?us-ascii?Q?2CaGNETxG2R3mmXUyc7prPXyumGgitdeVf=2FFTHg?= =?us-ascii?Q?ygx936VhreVQ9R8MrWN4OyRlB+Hmyi9Um3LTOHg?= =?us-ascii?Q?iJtEzh7fBNv=2FiALNjoc1gXcPYsaWcdguSEJc0BR?= =?us-ascii?Q?G00xQVxP3WayeP2GZ8PZMtE1R=2F10fBh5w3rd=2FBK?= =?us-ascii?Q?Hi7HSLVF8LeHRlSTJM+NZVNm+A=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: EE672TQXMXCOLJ4FQHSJDSHEMZIKFTTX X-Message-ID-Hash: EE672TQXMXCOLJ4FQHSJDSHEMZIKFTTX 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:117546] [Ruby master Feature#6413] Make Dir.entries default to Dir.entries(Dir.pwd) List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "matz (Yukihiro Matsumoto) via ruby-core" Cc: "matz (Yukihiro Matsumoto)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #6413 has been updated by matz (Yukihiro Matsumoto). Status changed from Assigned to Rejected As a language with concurrency, I don't think depending on the current directory implicitly is a good idea. Matz. ---------------------------------------- Feature #6413: Make Dir.entries default to Dir.entries(Dir.pwd) https://bugs.ruby-lang.org/issues/6413#change-107940 * Author: shevegen (Robert A. Heiler) * Status: Rejected * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- Is there a reason why Dir.entries requires one argument? I think it would be easier and more convenient for the userruby if it would default to the current directory. Like so: Dir.entries(i = Dir.pwd) Or is there a reason why this is not done? -- 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/