Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 13, 2019

  • Fix a crash in comparing with float (and maybe other crashes).
  • They are now never equal to strings and non-integer numbers.
  • Comparison with a large number no longer raises OverflowError.
  • Arbitrary exceptions no longer silenced in constructors and comparisons.
  • TypeError raised in the constructor contains now the name of the type.
  • Accept only ChannelID and int-like objects in channel functions.
  • Accept only InterpreterId, int-like objects and str in the InterpreterId constructor.
  • Accept int-like objects, not just int in interpreter related functions.
    (cherry picked from commit bf16991)

Co-authored-by: Serhiy Storchaka [email protected]

https://bugs.python.org/issue38005

…D. (pythonGH-15652)

* Fix a crash in comparing with float (and maybe other crashes).
* They are now never equal to strings and non-integer numbers.
* Comparison with a large number no longer raises OverflowError.
* Arbitrary exceptions no longer silenced in constructors and comparisons.
* TypeError raised in the constructor contains now the name of the type.
* Accept only ChannelID and int-like objects in channel functions.
* Accept only InterpreterId, int-like objects and str in the InterpreterId constructor.
* Accept int-like objects, not just int in interpreter related functions.
(cherry picked from commit bf16991)

Co-authored-by: Serhiy Storchaka <[email protected]>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

@miss-islington miss-islington deleted the backport-bf16991-3.8 branch September 14, 2019 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants