Commit Graph

5813 Commits

Author SHA1 Message Date
Stephen Morton
1798badcdd update for the new patch releases (#13196) 2024-12-05 18:24:07 +01:00
Colin Watson
7d9f5acebe Allow float for TarInfo.replace(mtime) (#13199) 2024-12-05 14:59:00 +01:00
Stephen Morton
9e033f3287 allowlist updates for new patch releases of 3.12 and 3.13 (#13194) 2024-12-04 12:56:12 -08:00
Stephen Morton
ebe2558c2c add tkinter differences for 3.13 (#13156)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-12-04 22:39:49 +02:00
Stephen Morton
d70fad09dd selectors.KqueueSelector is documented as BSD-only (#13183) 2024-12-03 21:59:39 -08:00
Stephen Morton
fe26deaee6 a close reading of the pickle module (#12971) 2024-12-03 20:03:54 -08:00
Sebastian Rittau
7fbb5fe32b Improve gzip.open() annotations (#13176)
* Return concrete io.TextIOWrapper instead of typing.TextIO.
* Allow file objects when opening in text mode. Closes: #13175
2024-12-03 17:33:47 -08:00
Stephen Morton
6d32917d7f Move a couple allowlist entries to "don't fix" (#13187) 2024-12-03 15:36:46 -08:00
Stephen Morton
5425311939 sort platform allowlists (#13179) 2024-12-03 22:25:04 +01:00
Brian Schubert
318cebb776 Mark typing.TYPE_CHECKING as Final (#13180) 2024-12-03 22:23:19 +01:00
Konstantin Baikov
fcf30cfd40 Fix todo in tarfile for modes with pipe char (#13130) 2024-12-03 13:48:47 +01:00
Stephen Morton
5461d37acf de-duplicate _dummy_threading (#13063)
While technically it's an independent implementation, the classes
all call themselves `threading.*` and have the same interfaces.

Except for local, which is from _threading_local instead.
2024-12-03 13:44:06 +01:00
Stephen Morton
4890153e61 add zipfile._path.glob (#13154) 2024-12-03 13:42:15 +01:00
Stephen Morton
f3dfc90741 sys.tracebacklimit can be set to None (#13173) 2024-12-03 13:16:45 +01:00
Stephen Morton
a980fc5308 sort the common allowlist (#13164) 2024-12-03 13:07:48 +01:00
Stephen Morton
d5b0e4aa35 fixes to select module constants (#13174) 2024-12-03 12:45:10 +01:00
Stephen Morton
c606b4f8ad add socket.AF_DECnet value (#13172) 2024-12-03 09:08:49 +01:00
Stephen Morton
d9e5333ab8 sort security backport allowlist entries (#13165) 2024-12-03 09:07:09 +01:00
Konstantin Baikov
a078e6f5d3 Use Generic in weakref finalize (#13158) 2024-12-02 17:34:37 +01:00
Stephen Morton
c713947801 sort allowlists by version more consistently (#13160)
This makes it easier to ensure that categorization and comments
are in sync between one allowlist and another.
2024-12-02 17:29:07 +01:00
Diogo
f2eae507b2 Set None as default value for prog in add_subparsers (#13163)
And add some default values to a few other parameters, too

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-12-02 11:43:46 +00:00
Stephen Morton
2ccc53bb67 Add a couple missing tkinter things (#13149) 2024-11-29 03:04:31 +02:00
Konstantin Baikov
cba73d93a8 Use a TypedDict for turtle._PenState (#13152) 2024-11-28 22:10:41 +02:00
Stephen Morton
7a0f6837e9 add missing ctypes things (#13147) 2024-11-28 12:09:47 -08:00
Stephen Morton
5c7d51f3b8 add missing attributes of _thread_local._localimpl (#13143)
add missing attributes of _thread_local._localimpl
2024-11-28 07:10:37 -08:00
Stephen Morton
00c0c8d984 cleaning up termios constants (#13138) 2024-11-28 07:04:05 -08:00
Stephen Morton
93a31af781 add modulefinder.test (#13148) 2024-11-28 07:03:06 -08:00
Stephen Morton
e22419c0ed add turtle.TNavigator.speed (#13150) 2024-11-28 07:01:57 -08:00
Stephen Morton
0969d25a1f Cleaning up os/posix module constants (#13134) 2024-11-28 06:23:44 +01:00
Stephen Morton
8c666665f7 add missing attributes in codecs module (#13145) 2024-11-27 20:23:50 -08:00
Stephen Morton
775f8671b3 add bz2.BZ2File.peek (#13144) 2024-11-27 19:56:57 -08:00
Stephen Morton
b286a59514 add configparser.RawConfigParser.converters (#13146) 2024-11-27 19:55:22 -08:00
Stephen Morton
11ec1a10fd Improve the SyntaxError constructor; add SyntaxError.print_file_and_line (#13141) 2024-11-27 22:21:48 +00:00
Stephen Morton
696e631330 remove broad allowlist entry (#13139) 2024-11-27 12:44:04 -08:00
Stephen Morton
4ce28d2539 add encodings.ascii and encodings.latin_1 (#13113) 2024-11-26 21:01:33 -08:00
Stephen Morton
c53442c30d add encodings.raw_unicode_escape and encodings.unicode_escape (#13114) 2024-11-26 20:45:48 -08:00
Stephen Morton
3d00ca80f1 add byte-to-byte encodings submodules (#13120) 2024-11-26 20:34:39 -08:00
Stephen Morton
3f9c6d5845 Add a batch of encodings submodules (#13112)
Also align encodings.utf_8 so the stub file is formatted the same
as these others that match
2024-11-26 20:24:29 -08:00
Stephen Morton
8d7436b3ef add encodings.utf_16 and encodings.utf_32 (#13121) 2024-11-26 20:03:53 -08:00
Stephen Morton
900e5c5b1b Add encodings.mbcs and encodings.oem (#13122) 2024-11-26 20:02:49 -08:00
Stephen Morton
720946c9d2 add the remaining encodings submodules (#13123) 2024-11-26 20:00:19 -08:00
Stephen Morton
ceec43659c add _json.encode_basestring (#13131) 2024-11-26 19:57:51 -08:00
Stephen Morton
6cbcecd01c Add a few missing things from _thread (#13132) 2024-11-26 19:57:01 -08:00
Brian Schubert
693add9512 Update return type of Generator.close in 3.13 (#13127)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-11-26 13:32:07 -08:00
Konstantin Baikov
02533d13ea Remove obsolete OptExcInfo from sys (#13117) 2024-11-26 09:10:56 +01:00
Stephen Morton
410081e820 fix the length of platform.uname_result (#13068)
It should be a 6-tuple, once processor is added. This makes sure mypy understands that.

Fixes https://github.com/python/typeshed/issues/13064
2024-11-25 11:53:25 -08:00
Konstantin Baikov
b815bfaf3c Fix tkinter ImageSpec #11721 (#13049) 2024-11-25 20:45:58 +02:00
Stephen Morton
0521fce9f9 Avoid using _typeshed.StrEnum (#13062) 2024-11-25 18:35:32 +01:00
Brian Schubert
b15c302227 Update configparser.SectionProxy.get* to return T | None when fallback is not specified (#12936) 2024-11-25 18:34:29 +01:00
Stephen Morton
4944f1b12c add sqlite3.dump (#13085) 2024-11-25 18:14:45 +01:00