Showing content from http://mail.python.org/pipermail/python-dev/attachments/20140119/5226851a/attachment.html below:
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
On 01/18/2014 09:52 PM, Ryan Smith-Roberts wrote:<br>
</div>
<blockquote
cite="mid:CABPWfCE3b9ZMNJOQ-apRkTLfgVDQ-4V-UMFcCvuUc19b2oOG=g@mail.gmail.com"
type="cite">
<div dir="ltr">
<p>I still advise you not to use this solution. time() is a
system call on many operating systems, and so it can be a
heavier operation than you'd think. Best to avoid it unless
it's needed (on FreeBSD it seems to add about 15% overhead to
localtime(), for instance).</p>
</div>
</blockquote>
<br>
I agree. Converting to Argument Clinic should not cause a
performance regression. Please don't add new calls to time() for
the sake of making code more generic.<br>
<br>
A better choice would be to write a converter function in C, then
use a custom converter that called it. Nikolaus: Is that something
you're comfortable doing?<br>
<br>
<br>
<blockquote
cite="mid:CABPWfCE3b9ZMNJOQ-apRkTLfgVDQ-4V-UMFcCvuUc19b2oOG=g@mail.gmail.com"
type="cite">
<div dir="ltr">
<p>As for why you're getting that exception, it definitely looks
like a bug in Argument Clinic. I spotted another bug that
would have bitten you while I was looking for this one, so
I've opened bugs on both issues, and put you on the nosy list
for them.</p>
</div>
</blockquote>
<br>
According to the issue tracker, "
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
rmsr" has only ever filed one issue. I just fixed (and closed) it.<br>
<br>
<br>
<i>/arry</i><br>
</body>
</html>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4