I know this isn't really the place for this conversation, but:
> which is what `os.PathLike` represents, hence why `str` isn't covered by
> it);
>
wait, what? It seems so clear to me that "PathLike" (as a type specifier)
would mean: anything that can be passed into os.fspath to give me a path.
(
Hi Larry!
The steering council brought this thread (that I missed) up to my attention.
On Thu, Nov 4, 2021 at 8:17 AM Larry Hastings wrote:
>
> I guess this is part of the migration from bpo to GitHub issues?
It is: this is one of the repos that I'm using for testing. In
particular I'm using it
On Wed, 1 Dec 2021 at 12:12, Sebastian Rittau wrote:
>
> Am 30.11.21 um 13:39 schrieb Oscar Benjamin:
>
>> Others have mentioned the pressure on libraries to adopt typing and
>> I've certainly noticed this with SymPy. I think type hints could be
>> good for SymPy for internal use but it seems that
On 2021-11-30 09:01, Steven D'Aprano wrote:
Heh. We could update PEP 8 to ban type annotations, then watch as the
people who over-zealously apply PEP 8 to everything AND over-zealously
insist on adding type annotations to everything have their heads
explode.
Captain Kirk would be proud:
ht
On Tue, Nov 30, 2021 at 1:34 PM Paul Moore wrote:
> On Tue, 30 Nov 2021 at 19:07, Brett Cannon wrote:
> >
> > On Tue, Nov 30, 2021 at 9:09 AM Steven D'Aprano
> wrote:
> >>
> >> On Tue, Nov 30, 2021 at 02:30:18PM +, Paul Moore wrote:
> >>
> >> > And to be clear, it's often very non-obvious h
On Tue, Nov 30, 2021 at 7:52 PM Victor Stinner wrote:
> For this specific PEP changes, I consider that the number of impacted
> projects is low enough to skip a deprecation process: only 4 projects
> are known to be impacted. One year ago (Python 3.10), 16 were
> impacted, and 12 have already been
On Wed, 1 Dec 2021 at 12:08, Sebastian Rittau wrote:
> Please note that users of you library usually won't care that the library
> uses type hints. It's more important that there are type hints for the API,
> which can also be supplied using a stub file.
I tried that route, but I was informed
Am 30.11.21 um 13:39 schrieb Oscar Benjamin:
Others have mentioned the pressure on libraries to adopt typing and
I've certainly noticed this with SymPy. I think type hints could be
good for SymPy for internal use but it seems that a lot of users want
it for external reasons that I don't always un
01.12.21 09:56, Ethan Furman пише:
> Some searching turned up issue 36793: "Do not define unneeded __str__
> equal to __repr__" .
>
> As can be seen, `__str__` is needed for inheritance to work properly.
> Thoughts on reverting that patch?
As the author of issue36793 I do not think so. If you re