| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| def read_byte(self) -> int: ... | ||
| def readline(self) -> bytes: ... | ||
| def resize(self, newsize: int, /) -> None: ... | ||
| if sys.version_info < (3, 15) or sys.platform != "darwin": |
There was a problem hiding this comment.
weird
Sorry, something went wrong.
There was a problem hiding this comment.
Apparently this is correct: python/cpython#138276. It used to be available on all platforms (but it would fail on platforms without MREMAP), now it only exists if it works.
Sorry, something went wrong.
| _socket.CAN_ISOTP_LL_OPTS | ||
| _socket.CAN_ISOTP_OPTS | ||
| _socket.CAN_ISOTP_RECV_FC | ||
| (_socket.CAN_ISOTP_LL_OPTS)? |
There was a problem hiding this comment.
do these definitely need the ()? magic trick?
Sorry, something went wrong.
There was a problem hiding this comment.
Not really, I cleaned up a bunch more socket constants that should have been added.
Sorry, something went wrong.
… codex/python315-socket-ssl
| if sys.version_info >= (3, 13): | ||
| if sys.version_info >= (3, 15): | ||
| pass | ||
| elif sys.version_info >= (3, 13): |
There was a problem hiding this comment.
i'm on mobile right now, so I can't select multiple rows, but can we fix the version_info check to use the standard format?
Sorry, something went wrong.
There was a problem hiding this comment.
I'll change it so it's unconditionally @deprecated.
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary:
Relevant report entries: