Re: [Python-Dev] Intention to accept PEP 552 soon (deterministic pyc files)

2017-09-29 Thread Louie Lu
Hi all, Do the accepted PEP were 552, not 550? Thanks, Louie. 2017-09-29 22:40 GMT+08:00 Guido van Rossum : > It's Friday! > > There have been no further comments. PEP 550 is now accepted. > > Congrats, Benjamin! Go ahead and send your implementation for review. > > --Guido > > On Tue, Sep 26,

Re: [Python-Dev] IDLE internal layout

2017-06-14 Thread Louie Lu
I generate these picture with no-external, so it won't show up about importlib.import_module calls (I think) I'll try to modify the code, and re-generated the pic with importlib. 2017-06-14 20:45 GMT+08:00 Terry Reedy : > On 6/14/2017 1:48 AM, Louie Lu wrote: >> >> (Due

[Python-Dev] IDLE internal layout

2017-06-13 Thread Louie Lu
(Due to idle-dev mailing list low traffic, this mail was sent to python-dev and idle-dev) Hi all, I'm now trying to figure out IDLE internal relation. I got some module dependency graph and count. The work is at HackMD: https://hackmd.io/IwNg7AphDGBmsFoAsBOCAmZAGMBDBKsArEgruuiEkQCa5YBGsNQA Is

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-01 Thread Louie Lu
For the ARENA_SIZE, will that be better to setting by ./configure first, and without hard code in c files? 2017-06-01 17:37 GMT+08:00 INADA Naoki : > x86's hugepage is 2MB. > And some Linux enables "Transparent Huge Page" feature. > > Maybe, 2MB arena size is better for TLB efficiency. > Especiall

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

2017-05-01 Thread Louie Lu
Louie Lu : > 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 > #1

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

2017-04-27 Thread Louie Lu
2017-04-28 4:06 GMT+08:00 Terry Reedy : > On 4/27/2017 7:57 AM, Louie Lu wrote: > >>> Lib/idlelib/idle_test/test_calltips.py has 1 and 1 >>> bpo issues: 20185 22392 24665 >>> None of these are idlelib issues. >>> >> >> Not that directly, bu

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

2017-04-27 Thread Louie Lu
Thanks for the reply, 2017-04-27 14:14 GMT+08:00 Terry Reedy : > On 4/26/2017 1:17 AM, Louie Lu wrote: > >> Fix some pr counting issue, and now the bpo-mergerate can choose hg (the >> old process), git, or all for mergerate counting. Also, relative bpo issue >> can be ex

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

2017-04-25 Thread Louie Lu
Louie Lu : > Hi all, > > Current merge rate is count in a mixed way (patch + PR). > > After reading Bertt's post "The history behind the decision to move Python > to GitHub", I would like to separate the count of merge rate to hg and > GitHub. > > It ma

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

2017-04-25 Thread Louie Lu
cess of CPython development. Best Regards, Louie. 2017-04-24 23:55 GMT+08:00 Louie Lu : > Hi all, > > thanks for all your reply, since roundup didn't contain JSON REST API, and > I'm not sure did roundup robot have deal with "patched but still open" > situatio

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

2017-04-24 Thread Louie Lu
Hi all, thanks for all your reply, since roundup didn't contain JSON REST API, and I'm not sure did roundup robot have deal with "patched but still open" situation, thus I do some change to bpo-mergerate and have some result. GitHub repo: https://github.com/lulouie/bpo-mergerate Demo site: https:

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

2017-04-22 Thread Louie Lu
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 - Use argparse in the profile/cProfile modules #30118 - A

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

2017-04-19 Thread Louie Lu
2017-04-20 5:04 GMT+08:00 Brett Cannon : > I don't think there's any API. Your best bet will probably be to analyze > the GitHub data. > > On Tue, 18 Apr 2017 at 09:09 Louie Lu wrote: > >> Hi all, >> >> After reading some topic at python-committers mai

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

2017-04-18 Thread Louie Lu
Hi all, After reading some topic at python-committers mailing list, some of the topics are around not enough reviewers to review patches, cause the develop process slowing down or the patch can't merge into the codebase. I would like to make some analysis about module / library patch merge rate (

[Python-Dev] Is there any docstring format used inside CPython core?

2017-04-13 Thread Louie Lu
Hi everyone, Is there any docstring format used inside CPython core? e.g. Doxygen. During the tour to know more about CPython, I found that some part of the internal function didn't comment that intuitive, for example, `tok_get` return value, `tok_decimal_tail` description, ...etc. If there is a