Movatterモバイル変換


[0]ホーム

URL:


homepage

Message154506

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorezio.melotti
RecipientsArfrever, ezio.melotti, gregory.p.smith, gruszczy, meatballhat, rhettinger
Date2012-02-27.20:11:04
SpamBayes Score7.8579006e-08
Marked as misclassifiedNo
Message-id<1330373466.0.0.158876530049.issue8706@psf.upfronthosting.co.za>
In-reply-to
Content
On one hand I agree that it would be nice to get rid of these implementation details that prevent some C functions/methods to accept keyword args, but on the other hand I'm not sure that changing them all is the right thing to do.For some functions/methods being able to pass keyword args make the code more readable/flexible, but for some other there's no real gain.It also seems to me that since the arguments where only positional, not much thought went into choosing an appropriate name for these arguments.For example str.join() is documented as str.join(iterable), and the C function calls the argument 'data'.If we use those names, we won't have a chance to fix them later, so we should be careful before doing a mass-update.
History
DateUserActionArgs
2012-02-27 20:11:06ezio.melottisetrecipients: +ezio.melotti,rhettinger,gregory.p.smith,Arfrever,gruszczy,meatballhat
2012-02-27 20:11:06ezio.melottisetmessageid: <1330373466.0.0.158876530049.issue8706@psf.upfronthosting.co.za>
2012-02-27 20:11:05ezio.melottilinkissue8706 messages
2012-02-27 20:11:04ezio.melotticreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp