Re: [Python-Dev] Request review of cProfile/profile series issue

2017-04-23 Thread Nick Coghlan
On 23 April 2017 at 13:21, Louie Lu wrote: > Hi all, > > I'm now looking for cProfile/profile lib's issue, and have solve a series of > dependent problem, here is the list: > > #9285 - Add a profile decorator to profile and cProfile > #30113 - Allow helper functions to wrap sys.setprofile > #18971

Re: [Python-Dev] API for bugs.python.org or some statistic about lib/module merge rate?

2017-04-23 Thread Nick Coghlan
On 21 April 2017 at 06:04, Wes Turner wrote: > Roundup has an xmlrpc API: > > - https://sourceforge.net/p/roundup/code/ci/default/tree/roundup/xmlrpc.py > - https://sourceforge.net/p/roundup/code/ci/default/tree/test/test_xmlrpc.py There's also a pending patch to add a HTTPS+JSON REST API to our

Re: [Python-Dev] Proposed BDFL Delegate update for PEPs 538 & 540 (assuming UTF-8 for *nix system boundaries)

2017-04-23 Thread Guido van Rossum
+1. I have full confidence that Inada-san will be a trustworthy delegate for these PEPs. --Guido On Sun, Apr 23, 2017 at 9:00 PM, Nick Coghlan wrote: > Hi folks (mainly Guido), > > Due to constraints on his available time, Barry has decided to step > down as BDFL-Delegate for PEP 538 (my propos

[Python-Dev] Proposed BDFL Delegate update for PEPs 538 & 540 (assuming UTF-8 for *nix system boundaries)

2017-04-23 Thread Nick Coghlan
Hi folks (mainly Guido), Due to constraints on his available time, Barry has decided to step down as BDFL-Delegate for PEP 538 (my proposal to default to coercing the legacy C locale to newer UTF-8 based locales when the latter are available). After discussion with Barry and Inada-san, Victor and

[Python-Dev] Python3 C extension how to support dir()

2017-04-23 Thread Barry Scott
I first ask this on python users. But I think the only people that can answer are the core developers. I have a python3 C++ extension that works written using the PyCXX C++ interface. But dir(obj) does not return the list of member variables. With the python2 version supporting the __members__