FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-44648: Fix error type in inspect.getsource() in interactive session by akulakov · Pull Request #27171 · python/cpython · GitHub

Repository navigation

bpo-44648: Fix error type in inspect.getsource() in interactive session - #27171

Merged
ambv merged 3 commits into
python:mainfrom
akulakov:44648-Fix-error-inspect-getsource-for-class
Jul 30, 2021
Merged

ambv merged 3 commits into
python:mainfrom
akulakov:44648-Fix-error-inspect-getsource-for-class

Conversation

akulakov commented Jul 15, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Fix error TypeError, 'built in class' => OSError, 'source code not available'

https://bugs.python.org/issue44648

iritkatriel requested a review from 1st1 July 27, 2021 09:55
ambv merged commit 48a6255 into python:main Jul 30, 2021

Copy link
Copy Markdown
Contributor

Thanks @akulakov for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 30, 2021
…on (pythonGH-27171)

(cherry picked from commit 48a6255)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>

Copy link
Copy Markdown

GH-27495 is a backport of this pull request to the 3.10 branch.

ambv pushed a commit that referenced this pull request Jul 30, 2021
…on (GH-27171) (GH-27495)

(cherry picked from commit 48a6255)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
scv119 added a commit to ray-project/ray that referenced this pull request May 20, 2022
in python3.10, it fixed a bug that a interactively defined class was tagged with a wrong type during inspection; which now throws OSError. detailed pr python/cpython#27171

we need to handle this case properly in otherwise ray actor definition will throw in interactive mode. please refer to #25026 for repo.
scv119 added a commit to scv119/ray that referenced this pull request May 20, 2022
…ct#25032

in python3.10, it fixed a bug that a interactively defined class was tagged with a wrong type during inspection; which now throws OSError. detailed pr python/cpython#27171

we need to handle this case properly in otherwise ray actor definition will throw in interactive mode. please refer to ray-project#25026 for repo.
scv119 added a commit to ray-project/ray that referenced this pull request May 21, 2022
…25042)

in python3.10, it fixed a bug that a interactively defined class was tagged with a wrong type during inspection; which now throws OSError. detailed pr python/cpython#27171

we need to handle this case properly in otherwise ray actor definition will throw in interactive mode. please refer to #25026 for repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL