Skip to content

Conversation

shihai1991
Copy link
Member

@shihai1991 shihai1991 commented Oct 3, 2020

  • Move the codecs.register operation to the setup of testcases.
  • Remove _codecs._forget_codecs and _PyCodec_Forget().

https://bugs.python.org/issue41919

@shihai1991
Copy link
Member Author

Hi, victor. Pls take a look when you have free time. @vstinner

@shihai1991 shihai1991 changed the title bpo-41919: Move the codecs.register operation to testcases. bpo-41919: Move the codecs.register operation to the inside of testcases. Oct 8, 2020
@shihai1991 shihai1991 changed the title bpo-41919: Move the codecs.register operation to the inside of testcases. bpo-41919: Move the codecs.register operation to the setup of testcases. Oct 8, 2020
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

I checked for leaks: ./python -m test test_codecs -R 3:3 pass (no leak), good!

@vstinner
Copy link
Member

It seems like your PR is sick: it got two Travis CI, and one will never complete. It's a victim of python/core-workflow#377 bug.

Can you try to recreate a new PR? For example, rename your local branch update_test_codecs to update_test_codecs2 and publish it.

Or wait until python/core-workflow#377 is fixed (Travis CI made optional).

@shihai1991
Copy link
Member Author

It seems like your PR is sick: it got two Travis CI, and one will never complete. It's a victim of python/core-workflow#377 bug.

Can you try to recreate a new PR? For example, rename your local branch update_test_codecs to update_test_codecs2 and publish it.

Or wait until python/core-workflow#377 is fixed (Travis CI made optional).

Copy that, I can waiting the fix of issues/377 :)

@vstinner vstinner merged commit c9f696c into python:master Oct 16, 2020
@vstinner
Copy link
Member

Copy that, I can waiting the fix of issues/377 :)

Travis CI is no longer mandatory.

I merged your PR, thanks.

@shihai1991
Copy link
Member Author

Copy that, I can waiting the fix of issues/377 :)

Travis CI is no longer mandatory.

I merged your PR, thanks.

Wow, thanks, victor.

xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
…GH-22513)

* Move the codecs' (un)register operation to testcases.
* Remove _codecs._forget_codec() and _PyCodec_Forget()
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…GH-22513)

* Move the codecs' (un)register operation to testcases.
* Remove _codecs._forget_codec() and _PyCodec_Forget()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants