Commit Graph
7 Commits
Author SHA1 Message Date
Peter LawandGitHub 3623f923a6 Fix UDPServer to correctly inherit from TCPServer (#8542) 2022-08-13 19:03:59 +02:00
Peter LawandGitHub 9b86402c77 pickle: use protocols instead of IO[bytes] (#6101) 2021-10-02 11:32:16 +03:00
Peter LawandGitHub 425a35309a Relax DictWriter.fieldnames closer to implementation (#5994)
Fixes #5993
2021-09-02 20:17:30 +02:00
Peter LawandGitHub fa0ba1eda8 Add various undocumented functions from ftplib (#4633)
Fixes #4632
2020-10-08 22:20:48 +02:00
Peter LawandGitHub 29dec525e7 Add pydoc_data (#4351)
This appears to be used by jedi at least, so it would be great to
have stubs for it.
2020-07-21 18:14:03 -07:00
Peter LawandGitHub ed04d33def Make redirect_std{out,err} yield new stream as context var (#4285)
This matches the implementation, even though this behaviour isn't
actually documented yet. https://bugs.python.org/issue41147 aims
to fix the documentation issue though.

Fixes https://github.com/python/typeshed/issues/4283.
2020-06-28 07:36:09 -07:00
PeterJCLawandJelle Zijlstra 10b14c654c Add type stub for the lzma module (#1844)
* Add type stub for the lzma module

* Claim to extend BinaryIO to resolve test failures

This doesn't record the true hierarchy of the type, though avoids
errors from mypy that 'Argument 1 of "read" incompatible with
supertype "BufferedIOBase"'.
2018-02-01 14:36:42 -08:00