Python Security

 — 

I am working on the Python security for years, but I never wrote anything about that. Let's fix this!

PSRT

I am part of the Python Security Response Team (PSRT): I get emails sent to security@python.org. I try to analyze each report to validate that the bug is …

Category: python Tags:

A New C API for CPython

 — 

I am currently at a CPython sprint 2017 at Facebook. We are discussing my idea of writing a new C API for CPython hiding implementation details and replacing macros with function calls.

CPython sprint at Facebook, september 2017

This article tries to explain why the CPython C API needs to evolve.

C API prevents further optimizations …

Category: python Tags:

My contributions to CPython during 2017 Q2 (part 3)

 — 

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

  • Security
  • Trick bug: Clang 4.0, dtoa and strict aliasing
  • sigwaitinfo() race condition in test_eintr
  • FreeBSD test_subprocess core dump

Previous reports:

Category: python Tags:

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:

© Victor Stinner 2016

Powered by Pelican