Serhiy Storchaka
5bf32d1300
[3.13] gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613) ( #124735 )
...
* Setting the __module__ attribute for a class now removes the
__firstlineno__ item from the type's dict.
* The _collections_abc and _pydecimal modules now completely replace the
collections.abc and decimal modules after importing them. This
allows to get the source of classes and functions defined in these
modules.
* inspect.findsource() now checks whether the first line number for a
class is out of bound.
(cherry picked from commit 69a4063ca516360b5eb96f5432ad9f9dfc32a72e)
2024-09-29 21:21:40 -07:00
..
2024-09-27 11:45:06 -07:00
2024-09-06 22:25:19 +02:00
2024-09-29 21:21:40 -07:00
2024-06-08 16:35:10 +00:00
2024-07-30 08:05:09 +00:00
2024-06-12 19:27:32 +00:00
2024-08-06 19:06:41 +02:00
2024-08-06 18:50:12 +00:00
2024-08-24 15:36:58 -07:00
2024-09-27 15:19:56 -07:00
2024-09-29 18:17:16 -07:00
2024-09-02 12:07:27 +00:00
2024-05-29 21:24:42 +00:00
2024-09-27 15:21:58 -07:00
2024-08-06 06:46:14 +00:00
2024-07-27 02:18:34 +00:00
2024-09-29 21:21:40 -07:00
2024-07-19 09:13:08 +00:00
2024-06-19 06:46:13 +00:00
2024-09-29 18:11:03 -07:00
2024-09-02 13:09:17 +02:00
2024-09-29 18:11:22 -07:00
2024-06-07 03:43:17 +00:00
2024-09-02 13:13:18 +02:00
2024-09-29 18:15:16 -07:00
2024-08-23 10:26:03 +01:00
2024-07-29 21:55:28 +03:00
2024-07-19 09:13:08 +00:00
2024-09-29 18:05:51 -07:00
2024-05-28 16:55:37 +02:00
2024-06-16 21:09:54 +00:00
2024-08-23 12:59:08 +01:00
2024-06-24 20:23:30 +02:00
2024-07-19 09:13:08 +00:00
2024-07-03 15:28:57 +00:00
2024-07-19 09:13:08 +00:00
2024-06-12 19:27:32 +00:00
2024-09-29 21:21:40 -07:00
2024-07-30 09:17:35 +00:00
2024-07-16 10:44:23 +03:00
2024-06-27 12:13:01 +00:00
2024-05-29 21:24:42 +00:00
2024-06-15 19:10:50 +00:00
2024-09-29 21:21:40 -07:00
2024-09-03 01:19:46 +02:00
2024-07-27 10:54:49 +00:00
2024-06-12 19:27:32 +00:00
2024-05-30 04:40:21 +00:00
2024-07-03 12:15:53 -07:00
2024-09-02 13:17:16 +02:00
2024-05-24 18:26:06 +00:00
2024-07-19 09:13:08 +00:00
2024-09-27 15:21:58 -07:00
2024-09-23 16:25:51 -07:00
2024-05-22 23:13:32 +02:00
2024-07-19 09:13:08 +00:00
2024-06-01 20:38:55 +01:00
2024-07-16 00:49:41 +02:00
2024-07-31 08:48:59 +00:00
2024-09-02 12:53:59 +02:00
2024-06-12 19:27:32 +00:00
2024-07-19 09:13:08 +00:00
2024-07-17 13:54:40 +00:00
2024-06-15 11:28:28 +00:00
2024-09-02 13:19:11 +02:00
2024-07-30 09:24:35 +00:00
2024-09-29 18:13:36 -07:00
2024-08-13 17:03:36 +00:00
2024-06-25 16:30:08 +00:00
2024-07-23 10:24:07 +00:00
2024-09-02 13:18:27 +02:00
2024-09-29 18:17:16 -07:00