My contributions to CPython during 2017 Q2 (part 2)

 — 

This is the second part of my contributions to CPython during 2017 Q2 (april, may, june):

  • Mentoring
  • Reference and memory leaks
  • Contributions
  • Enhancements
  • Bugfixes
  • Stars of the CPython GitHub project

Previous report: My contributions to CPython during 2017 Q2 (part 1).

Next report: My contributions to CPython during 2017 Q2 …

Category: python Tags:

My contributions to CPython during 2017 Q2 (part 1)

 — 

This is the first part of my contributions to CPython during 2017 Q2 (april, may, june):

  • Statistics
  • Buidbots and test.bisect
  • Python 3.6.0 regression
  • struct.Struct.format type
  • Optimization: one less syscall per open() call
  • make regen-all

Previous report: My contributions to CPython during 2017 Q1.

Next reports …

Category: python Tags:

Work on Python buildbots, 2017 Q2

 — 

I spent the last 6 months on working on buildbots: reduce the failure rate, send email notitication on failure, fix random bugs, detect more bugs using warnings, backport fixes to older branches, etc. I decided to fix all buildbots issues: fix all warnings and all unstable tests!

The good news …

Category: python Tags:

New Python test.bisect tool

 — 

This article tells the story of the new CPython test.bisect tool to identify failing tests in the CPython test suite.

Modify manually a test file

I am fixing reference leaks since many years. When the test file contains more than 200 tests and is longer than 5,000 lines …

Category: python Tags:

My contributions to CPython during 2017 Q1

 — 

My contributions to CPython during 2017 Q1 (january, februrary, march):

  • Statistics
  • Optimization
  • Tricky bug
  • FASTCALL optimizations
  • Stack consumption
  • Contributions
  • os.urandom() and getrandom()
  • Migration to GitHub
  • Enhancements
  • Security
  • regrtest
  • Bugfixes

Previous report: My contributions to CPython during 2016 Q4. Next report: My contributions to CPython during 2017 Q2 (part 1 …

Category: python Tags:

speed.python.org results: March 2017

 — 

In feburary 2017, CPython from Bitbucket with Mercurial moved to GitHub with Git: read [Python-Dev] CPython is now on GitHub by Brett Cannon.

In 2016, I worked on speed.python.org to automate running benchmarks and make benchmarks more stable. At the end, I had a single command to:

  • tune …
Category: benchmark Tags:

FASTCALL issues

 — 

Here is the raw list of the 46 CPython issues I opended between 2016-04-21 and 2017-02-10 to implement my FASTCALL optimization. Most issues created in 2016 are already part of Python 3.6.0, some are already merged into the future Python 3.7, the few remaining issues are still …

Category: python Tags:

FASTCALL microbenchmarks

 — 

For my FASTCALL project (CPython optimization avoiding temporary tuples and dictionaries to pass arguments), I wrote many short microbenchmarks. I grouped them into a new Git repository: pymicrobench. Benchmark results are required by CPython developers to prove that an optimization is worth it. It's not uncommon that I abandon a …

Category: python Tags:

The start of the FASTCALL project

 — 

False start

In April 2016, I experimented a Python change to avoid temporary tuple to call functions. Builtin functions were between 20 and 50% faster!

Sadly, some benchmarks were randomy slower. It will take me four months to understand why!

Work on benchmarks

During four months, I worked on making …

Category: python Tags:

My contributions to CPython during 2016 Q4

 — 

My contributions to CPython during 2016 Q4 (october, november, december):

hg log -r 'date("2016-10-01"):date("2016-12-31")' --no-merges -u Stinner

Statistics: 105 non-merge commits + 31 merge commits (total: 136 commits).

Previous report: My contributions to CPython during 2016 Q3. Next report: My contributions to CPython during 2017 Q1.

Table of …

Category: python Tags:

© Victor Stinner 2016

Powered by Pelican