<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 06/15/2012 04:32 AM, Nick Coghlan wrote:
<blockquote
cite="mid:CADiSq7cyq_ScT6NRAumttMQjEkrN_RyXRPNzOiWHKKX2d3=xMw@mail.gmail.com"
type="cite">
<pre wrap="">Since I don't believe your proposed flag will answer any question that
actually matters in practice, I consider it useless noise that should
be dropped from the proposal.</pre>
</blockquote>
<br>
I can cite a situation where it matters in practice: the
implementation of os.fwalk is effectively gated on hasattr(posix,
"openat"). I expect to remove openat() in favor of adding a dir_fd
parameter to open (see issue 14626).<br>
<br>
<br>
<blockquote
cite="mid:CADiSq7cyq_ScT6NRAumttMQjEkrN_RyXRPNzOiWHKKX2d3=xMw@mail.gmail.com"
type="cite">
<pre wrap="">Now, what a function *could* do is set __signature__ to a Signature
subclass that provided an additional "validate()" method, or provided
arbitrary additional information about supported features. That's a
perfectly reasonable option.</pre>
</blockquote>
<br>
What would the validate() function for os.close do?<br>
<br>
<br>
<i>/arry</i><br>
</body>
</html>