hpyproject / hpy

HPy: a better API for Python

Home Page:https://hpyproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is keeping 2.7 compatibility for `hpy/devel/__init__.py` still relevant?

Sachaa-Thanasius opened this issue · comments

Note: Not a bug or a feature, more of a general question.

Context: This note at the top of hpy/devel/__init__.py

# NOTE: this file is also imported by PyPy tests, so it must be compatible
# with both Python 2.7 and Python 3.x

I'm not that familiar with PyPy, but I know pathlib in CPython is only available in the standard library for 3.x. If PyPy's in a similar boat, and considering that library is being used seemingly without issue in this file's code, is the note above still relevant?

Ah, the note’s still relevant then, and pathlib is accounted for. Got it.