Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

[Adriyst's work !]Compaitibility script no longer breaks to collections changes in 3.10 #1

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

zztkm
Copy link
Owner

@zztkm zztkm commented Jun 1, 2023

This PR is for merging the commit against the upstream created by Adriyst into zztkm/pyton-pptx(thins repo).

@zztkm zztkm changed the title Compaitibility script no longer breaks to collections changes in 3.10 [Adriyst's work !]Compaitibility script no longer breaks to collections changes in 3.10 Jun 1, 2023
Copy link
Collaborator

@ivixvi ivixvi left a comment

Choose a reason for hiding this comment

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

LGTM

以下を確認しました

  • python2の互換性用スクリプトであったこと
  • python3.10でエラーが再現すること
  • python3.10で属性としてでなく、モジュールとして切り出されると3.9のドキュメントで確認
  • python3.9以前でもimport collections.abcでインポートできエラーが発生しないこと

Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.

https://docs.python.org/3.9/library/collections.html

@zztkm zztkm merged commit 9cd280b into main Jun 1, 2023
@zztkm zztkm deleted the fix-770 branch June 2, 2023 04:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants