Daniël van Noord added the comment:
I have resubmitted the patch that changes the default sorting order in
https://github.com/python/cpython/pull/31929 as it was asked to separate that
from the original patch by Anders.
I also added documentation changes that follow from changing the default
Daniël van Noord added the comment:
@Bayard Randel, do you want to make this patch into a GitHub PR? If not, I
could help by doing so and try to get this landed.
--
nosy: +danielnoord
___
Python tracker
<https://bugs.python.org/issue15
Daniël van Noord added the comment:
I have submitted the path by @berker.peksag with one additional test case in a
new PR.
@nanjekyejoannah I saw you responded to the other PR, but that died down. Would
you mind taking a look at mine? I'm happy to help land this :)
--
Daniël van Noord added the comment:
I have created a PR that combines the patch here with the patch from issue9736.
--
nosy: +danielnoord
___
Python tracker
<https://bugs.python.org/issue2
Daniël van Noord added the comment:
This was fixed by https://github.com/python/cpython/pull/27729.
On 3.10:
```console
>>> ast.parse("f'{a}'").body[0].value.values[0].value.col_offset
3
>>> ast.parse("f'{a:b}'").body[0].value.values
Daniël van Noord added the comment:
@wdv4758h, do you think you will be able to resubmit the patch to Github? This
would probably still be a useful addition and some review has already been done.
If not, I could pick up the patch and re-submit, but I don't want to take
credit for your
Daniël van Noord added the comment:
There were some comments on the (now closed) PR associated to this report.
One was about requiring a new flag to tell cProfile to consider the code in
question code instead of a file path. `-c` was proposed, I presume abbreviating
`--code`. Is this indeed
Daniël van Noord added the comment:
I resubmitted the original patch and updated it with documentation and news
item changes.
This would still be a valuable addition imo, as it can help single out
expensive calls in your module/script.
--
nosy: +danielnoord
Daniël van Noord added the comment:
Thanks Brett for that explanation!
Makes sense actually now that I think about it. I also wondered how astroid got
onto my sys.path, but that's something for another time :)
--
___
Python tracker
&
Change by Daniël van Noord :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue46241>
___
___
Python-bugs-list mailing list
Unsub
New submission from Daniël van Noord :
Affected folder structure:
── module_loader
│ ├── __init__.py
├── pyproject.toml
├── setup.cfg
└── tests
└── test_module_loader.py
```console
❯ cat
'/Users/daniel/DocumentenLaptop/Programming/Test/module_loader/module_loader/__init__.py&
11 matches
Mail list logo