- Promote Paul Ganssle
- Do not promote Paul Ganssle
Victor Stinner and I want to propose Paul Ganssle as a core developer, who would center his efforts on co-maintaining datetime together with Alexander Beloposky.
Some of you may already know Paul Ganssle as the main maintainer of dateutil, as maintainer of setuptools or for his contributions to CPython. On the technical side, Paul has proven many times to have a great domain knowledge around the datetime module and related functionality but he also has remarkable knowledge about Python and CPython internals. As a reviewer, Paul has made several reviews of datetime-related pull requests but also other general pull requests involving Python
and C code as well as documentation. In the reviews he always shows a great care towards the contributor (as can be seen as well in the reviews in the packages that Paul maintains) but also he has spend a lot of time reviewing the wording as a native English speaker, always in a detailed and pedagogical way. Paul always listens to other ideas and viewpoints when discussing and he reacts very positively to criticism in his PRs and work.
Paul would like to focus on co-maintain datetime together with Alexander Beloposky (who has expressed that he is ok with that).
We consulted with Paul prior to the nomination, and he said he is interested in becoming a core developer so that he can expand his ability to improve the datetime module and CPython in general; he also participates in many sprint events, and it would improve his ability to bring new contributors on to the project. In short, we think Paul is an exceptional developer, a kind and compassionate person, and CPython would benefit from having him on the core team.
As a reminder from PEP 13 regarding voting rules:
… It is granted by receiving at least two-thirds positive votes in a core team vote that is open for one week and with no veto by the steering council."
PEP 13 – Python Language Governance | peps.python.org
Here is a summary of Paul’s work and achievements:
Background Information about Paul Ganssle
- Maintainer of dateutil since 2014. First and most prominent third-party implementation of PEP 495 (Local Time Disambiguation).
- Maintainer of setuptools since 2018.
- Frequently run sprints on dateutil and setuptools. Would like to be able to offer mentorship on CPython at conference sprints.
- Organized and ran the PyPA mini-summit at PyCon US 2018 and 2019, active in the PyPA generally.
- Wrote datetime bindings for PyO3 (CPython bindings for Rust), and has continued to contribute regularly to that project with PRs, reviews and issues. Interested in contributing to the C API from the perspective of someone writing cross-language bindings.
- Frequently helps maintain datetime-related code on other projects:
pandas
: Issue 23959, issue 18523, PR 19281, PR 22560matplotlib
: PR 12678, issue 9018, PR 11610, PR 11360jupyter
: jupyter-widgets/ipywidgets#168
- Spoke at the language summit about adding more time zones to the standard library. Slides, Repo
Major accomplishments in CPython
- Implemented
datetime.fromisoformat
, the inverse ofdatetime.isoformat
. This is still the fastest constructor fordatetime
accessible from Python. (PR #4699, PR #8959) - Exposed
datetime.timezone
anddatetime.timezone.utc
in the CPython API. (PR #5032) - Implemented and made the case for changing the return type of
datetime
+timedelta
arithmetic to respect the subclass of thedatetime
object. Similarly has been working to makedatetime
safer to subclass in general. (PR #10902, Python-dev thread 1 2) - Improved the speed of all
datetime
alternate constructors. (PR #4993) - Add
datetime.fromisocalendar
, the inverse function fromdatetime.isocalendar
in PR #11888. Intends to continue improving and maintaining symmetry between “serialization” and “deserialization” functions.
General maintenance tasks
- Generally follows and comments on datetime and packaging related issues in the issue tracker, among other things.
- Reviews PRs, generally to datetime and time, but also unrelated PRs (e.g. PR #7605 adding
shlex.join
).
Also has been trying to help give a native English speaker’s perspective on documentation PRs.
Future plans
During our discussion, Paul has provided a list of improvements to Python he’d like to make:
- Improve Python datetime C API test suite and documentation (partially completed at the PyCon sprints, Paul created the issues and helped Edison Abahurire with reviews and in-person guidance while he made his first pull requests adding tests and documentation for the datetime C API).
- Expand time zone support in the standard library with a concrete implementation of IANA time zones and an explicit representation of “local” time.
- Add nanosecond support to
datetime
- Improve compatibility across platforms where possible in things like
strftime
andtimestamp
. - Improve locale-specific testing
Most of this is datetime related because that is the primary area where his expertise is most needed (plus most packaging changes occur on setuptools
itself and not distutils
), but he is interested in general contributions to the language as well.
Contributions
- PRs authored: Pull requests · python/cpython · GitHub
- PRs reviewed: Pull requests · python/cpython · GitHub
Selected bpo issues
-
strftime() returns wrong week numbers: Issue 35841: Datetime strftime() does not return correct week numbers for 2019 - Python tracker
-
warning about potential dead code: Issue 36330: Warning about a potential dead code in timemodule and Clang - Python tracker
-
Wrong inspect.getsource for datetime: Issue 32313: Wrong inspect.getsource for datetime - Python tracker
-
fromisoformat doesn’t handle “Z”: Issue 35829: datetime: parse "Z" timezone suffix in fromisoformat() - Python tracker
-
sqlite3 optional auto-conversion of DATETIME fields: Issue 35145: sqlite3: optionally autoconvert table_info's DATETIME fields - Python tracker
-
Incorrect documentation for strftime(): Issue 33381: [doc] Incorrect documentation for strftime()/strptime() format code %f - Python tracker
-
Second run of 2to3 modifies output: Issue 36122: Second run of 2to3 continues to modify output - Python tracker (companion issue where he suggested keeping it open: Issue 35417: Double parenthesis in print function running 2to3 in already correct call - Python tracker )
-
Replace append loops with comprehensions: Issue 36039: Replace append loops with list comprehensions - Python tracker
-
datetime.time.isoformat has inconsistent behavior: Issue 34407: datetime.time.isoformat function has inconsistent behavior with timezone - Python tracker