Message402634
On 25.09.2021 18:20, STINNER Victor wrote:
>
> STINNER Victor <vstinner@python.org> added the comment:
>
> Marc-Andre: I suppose that you're talking about LANDMARK in Modules/getpath.c and PC/getpathp.c.
Now that you mention it: yes, that as well :-) But os.py is used in the
Python stdlib code as well, just search for "os.__file__" to see a few
such uses.
If you search for ".__file__" you'll find that there are quite a few
cases in the test suite expecting that attribute on other stdlib modules
as well. The attribute may officially be optional, but in reality a
lot of code expects to find it. |
|
Date |
User |
Action |
Args |
2021-09-25 16:29:19 | lemburg | set | recipients:
+ lemburg, gvanrossum, brett.cannon, nascheme, rhettinger, terry.reedy, ronaldoussoren, ncoghlan, vstinner, larry, methane, Mark.Shannon, eric.snow, indygreg, miss-islington, brandtbucher, BTaskaya, shihai1991 |
2021-09-25 16:29:19 | lemburg | link | issue45020 messages |
2021-09-25 16:29:19 | lemburg | create | |
|