Skip to content

bpo-36236: Set a fatal error if the current path cannot be obtained#12237

Closed
pablogsal wants to merge 2 commits intopython:masterfrom
pablogsal:bpo36236
Closed

bpo-36236: Set a fatal error if the current path cannot be obtained#12237
pablogsal wants to merge 2 commits intopython:masterfrom
pablogsal:bpo36236

Conversation

@pablogsal
Copy link
Copy Markdown
Member

@pablogsal pablogsal commented Mar 8, 2019

@tirkarthi
Copy link
Copy Markdown
Member

This might have a news entry since this crashes the interpreter on Mac OS while executing python -m module_name from a deleted directory.

@pablogsal
Copy link
Copy Markdown
Member Author

pablogsal commented Mar 9, 2019

@vstinner Not sure what is the best way to use _Py_INIT_USER_ERR here as this function (_PyPathConfig_ComputeArgv0) returns a Pyobject*.

Nevermind, I have modified the function to take a PyObject** as third argument and return a _PyInitError :)

@vstinner
Copy link
Copy Markdown
Member

@pablogsal pablogsal closed this Mar 19, 2019
@pablogsal
Copy link
Copy Markdown
Member Author

Superseded by #12424

@pablogsal pablogsal deleted the bpo36236 branch May 19, 2021 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants