8000 compileall: update for py39 by hauntsaninja · Pull Request #3956 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

compileall: update for py39 #3956

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
compileall: update for current py39 (as of beta1)
  • Loading branch information
hauntsaninja committed May 25, 2020
commit 2f984d3744f1364ffd33a38d885a4c09b86bab62
4 changes: 2 additions & 2 deletions stdlib/3/compileall.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if sys.version_info >= (3, 9):
workers: int = ...,
invalidation_mode: Optional[PycInvalidationMode] = ...,
*,
stripdir: Optional[_Path] = ...,
stripdir: Optional[str] = ..., # TODO: change to Optional[_Path] once https://bugs.python.org/issue40447 is resolved
prependdir: Optional[_Path] = ...,
limit_sl_dest: Optional[_Path] = ...,
) -> _SuccessType: ...
Expand All @@ -41,7 +41,7 @@ if sys.version_info >= (3, 9):
optimize: int = ...,
invalidation_mode: Optional[PycInvalidationMode] = ...,
*,
stripdir: Optional[_Path] = ...,
stripdir: Optional[str] = ..., # TODO: change to Optional[_Path] once https://bugs.python.org/issue40447 is resolved
prependdir: Optional[_Path] = ...,
limit_sl_dest: Optional[_Path] = ...,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But these two really can be PathLike

) -> _SuccessType: ...
Expand Down
0