On 01/18/2014 09:52 PM, Ryan Smith-Roberts wrote: > > 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). > 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. 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? > 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. > According to the issue tracker, " rmsr" has only ever filed one issue. I just fixed (and closed) it. //arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140119/5226851a/attachment.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