Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-43950: implement on-the-fly source tracking for interactive mode#27117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@isidentical
Copy link
Member

@isidenticalisidentical commentedJul 13, 2021
edited by bedevere-bot
Loading

Purely for design purposes, do not review/merge.

https://bugs.python.org/issue43950

@isidenticalisidenticalforce-pushed thebpo-43950-source-tracking branch fromea92deb to3d2919cCompareJuly 13, 2021 17:33
@isidentical
Copy link
MemberAuthor

isidentical commentedJul 17, 2021
edited by bedevere-bot
Loading

One problem with this patch is that, we need to limit fetching from__source__ only for the main frame, otherwise if the offsets match out it will show something like this;

 $ ./pythonPython3.11.0a0 (heads/[bpo-43950](https://bugs.python.org/issue43950)-source-tracking-dirty:1173c11e09,Jul172021,14:52:40) [GCC9.3.0]onlinuxType"help","copyright","credits"or"license"formoreinformation.>>>defframe_3():...return1/0...>>>defframe_2():...returnframe_3()...>>>defframe_1():...returnframe_2()...>>>ifTrue:...1+frame_1()...Traceback (mostrecentcalllast):File"<stdin>",line2,in<module>1+frame_1()^^^^^^^^^File"<stdin>",line2,inframe_11+frame_1()^^^^^^^^^File"<stdin>",line2,inframe_21+frame_1()^^^^^^^^^File"<stdin>",line2,inframe_31+frame_1()^^^ZeroDivisionError:divisionbyzero

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelAug 17, 2021
@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelAug 10, 2022
@CAM-Gerlach
Copy link
Member

Hey@isidentical , can this be closed now?

@isidentical
Copy link
MemberAuthor

Thanks for the reminder@CAM-Gerlach, this was mainly an experiment before it ever got to be a real PR so yep we can close it.

CAM-Gerlach reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pablogsalpablogsalAwaiting requested review from pablogsalpablogsal will be requested when the pull request is marked ready for reviewpablogsal is a code owner

@lysnikolaoulysnikolaouAwaiting requested review from lysnikolaoulysnikolaou will be requested when the pull request is marked ready for reviewlysnikolaou is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently will be requested when the pull request is marked ready for reviewericsnowcurrently is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@isidentical@CAM-Gerlach@the-knights-who-say-ni@ezio-melotti@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp