Commit Graph
18 Commits
Author SHA1 Message Date
Pavel Karateev c1137ee364 stdlib modules removed in Python 3.13 (PEP 594) (#11193) 2023-12-20 21:55:11 -08:00
Pavel KarateevandAlex Waygood 838dd3a5ba Add sys.monitoring from Python 3.12 (#10890)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-16 13:50:06 +01:00
Pavel Karateev b1b958def2 Add __note__ to BaseException in Python 3.11 (#6633) 2021-12-20 07:27:04 -08:00
Pavel Karateev 739a052c40 Add more ast.parse() mode overrides (#6522)
eval -> Expression
func_type -> FunctionType
single -> Interactive

We need (simplified) to cover all cases in Python >= 3.8

- 1 case: parse(filename: str = ...)
- 4 cases: parse(filename: str, mode: Literal[...])
- 4 cases: parse(*, mode: Literal[...])
2021-12-10 09:22:23 -08:00
Pavel Karateev 73d598eaa8 Add sqlite_errorcode and sqlite_errorname to sqlite3.Error in Python 3.11 (#6425) 2021-11-28 13:52:32 +02:00
Pavel KarateevandAkuli 575a008744 Add operator.call() and operator.__call__() for Python 3.11 (#6396)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-11-27 16:43:17 +02:00
Pavel Karateev 2bd1c7dbab Add math.cbrt() for Python 3.11 (#6375) 2021-11-25 11:00:01 +02:00
Pavel Karateev 7df997c6c0 Add __int__ to Fraction in Python 3.11 (#6372) 2021-11-24 15:59:08 +01:00
Pavel Karateev b459329cec Add __complex__ to complex and __bytes__ to bytes for Python 3.11 (#6369) 2021-11-23 13:28:53 -08:00
Pavel Karateev 42fa8434f0 Add codeobject.co_positions() for Python 3.11 (#6339) 2021-11-18 11:36:41 -08:00
Pavel Karateev f4c5ae01c4 Add importlib.metadata.packages_distributions() (#5565) 2021-06-01 20:07:18 +02:00
Pavel Karateev ef15088d65 Add encoding & errors parameters to fileinput (#5558) 2021-05-31 19:24:53 +02:00
Pavel Karateev ee4d9fb106 Expose curses.BUTTON5_* in Python 3.10 (#5556)
* Expose curses.BUTTON5_* in Python 3.10

* curses.BUTTON5_* aren't available on macOS
2021-05-30 16:58:31 +03:00
Pavel Karateev af376f4d1f Add contextlib.AsyncContextDecorator (#5550) 2021-05-29 06:44:10 -07:00
Pavel Karateev 33ea648988 Add curses.has_extended_color_support() for Python 3.10 (#5549) 2021-05-28 18:50:36 +02:00
Pavel Karateev 038556cb7e Add codecs.unregister() for Python 3.10 (#5539) 2021-05-27 12:33:02 +02:00
Pavel Karateev 781b76769e Add sys.orig_argv for Python 3.10 (#5524) 2021-05-24 13:09:15 +02:00
Pavel Karateev e7880085a2 Add sys.stdlib_module_names for Python 3.10 (#5523) 2021-05-23 15:25:32 +03:00