Nick Coghlan
d5cacbb1d9
PEP 489: Multi-phase extension module initialization
...
Known limitations of the current implementation:
- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet
The leak is most visible by running:
./python -m test -R3:3 test_importlib
However, you can also see it by running:
./python -X showrefcount
Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
..
2015-05-13 15:22:03 -04:00
2015-05-22 16:56:32 -07:00
2015-01-17 20:02:14 +01:00
2015-05-13 00:34:39 -05:00
2015-04-10 13:29:28 +03:00
2015-05-20 16:10:04 +03:00
2015-05-22 17:23:28 -07:00
2015-05-13 00:34:53 +03:00
2015-05-22 20:30:16 -04:00
2015-01-18 11:33:31 +02:00
2015-04-10 13:29:28 +03:00
2015-05-20 16:15:20 +03:00
2015-05-23 22:24:10 +10:00
2015-01-26 13:16:30 +02:00
2015-05-13 13:40:12 +03:00
2015-04-10 13:29:28 +03:00
2015-04-13 14:21:02 -04:00
2015-04-13 20:53:43 +02:00
2015-04-19 13:50:12 -07:00
2015-05-22 11:13:20 +03:00
2015-05-23 22:24:10 +10:00
2015-05-22 11:36:53 -05:00
2015-03-02 12:29:58 -08:00
2015-05-21 20:15:40 +03:00
2015-05-17 20:44:50 -04:00
2015-02-06 11:23:58 -05:00
2014-09-17 16:32:46 +08:00
2015-05-11 22:57:16 -04:00
2015-04-10 13:29:28 +03:00
2015-05-09 11:44:30 -04:00
2015-05-22 19:29:22 -07:00
2015-03-31 16:49:26 +03:00
2015-04-11 00:31:01 +02:00
2015-03-12 22:01:30 +02:00
2015-04-13 20:02:33 +02:00
2015-03-25 01:21:50 +02:00
2015-04-10 13:24:41 +03:00
2015-02-14 01:39:17 +02:00
2015-03-30 21:38:00 +02:00
2015-04-03 18:12:41 +03:00
2015-04-10 13:29:28 +03:00
2015-04-11 00:31:01 +02:00
2015-03-29 16:45:19 -04:00
2015-04-04 11:01:02 +03:00
2015-04-10 13:24:41 +03:00
2015-03-05 15:45:01 +13:00
2015-04-03 18:13:23 +03:00
2015-04-22 09:39:19 +03:00
2014-09-15 02:08:41 -07:00
2015-05-09 11:44:30 -04:00
2015-03-24 18:06:42 +02:00
2015-03-30 09:09:54 +03:00
2015-03-12 22:01:30 +02:00
2015-03-12 21:56:08 +02:00
2015-05-22 11:16:47 -04:00
2015-05-11 22:57:16 -04:00
2015-04-13 14:21:02 -04:00
2015-04-11 23:23:06 -07:00
2015-04-10 13:29:28 +03:00
2015-03-27 12:56:57 -04:00
2015-05-13 00:19:51 +03:00
2015-04-10 13:29:28 +03:00
2015-05-20 10:33:40 +03:00
2014-10-04 14:58:43 +03:00
2015-04-14 10:35:43 -04:00
2014-09-11 12:17:37 +03:00
2015-04-11 00:31:01 +02:00
2014-12-01 18:28:43 +02:00
2014-10-19 18:07:05 +03:00
2015-05-10 19:17:23 -04:00
2015-05-23 22:24:10 +10:00
2015-05-22 16:09:44 -04:00
2015-05-20 10:33:40 +03:00
2015-04-01 16:56:13 +03:00
2015-05-12 23:24:19 +03:00
2015-04-11 00:31:01 +02:00
2015-05-19 11:00:07 +03:00
2015-04-10 13:29:28 +03:00
2015-03-10 13:17:21 -07:00
2015-05-02 19:15:18 -06:00
2015-03-21 09:40:26 +02:00
2015-05-19 11:00:07 +03:00
2015-01-26 09:57:07 +02:00
2015-05-11 22:57:16 -04:00
2015-05-20 18:29:18 +03:00
2015-04-13 20:25:11 -04:00
2015-02-15 18:06:54 +01:00
2014-10-19 18:07:05 +03:00
2015-03-31 14:07:24 +03:00
2014-12-16 18:00:56 +02:00
2015-05-16 20:24:28 +03:00
2015-05-16 15:05:53 -04:00
2015-05-19 11:00:07 +03:00
2015-05-16 21:38:05 +03:00
2015-05-02 19:15:18 -06:00
2015-05-02 19:15:18 -06:00
2014-09-02 23:18:25 +02:00
2015-03-20 16:46:19 +02:00
2015-03-25 21:03:47 +02:00
2014-11-15 10:58:58 -08:00
2015-05-02 19:15:18 -06:00
2015-01-31 12:05:05 +02:00
2015-05-11 13:48:16 -04:00
2015-04-10 13:24:41 +03:00
2015-05-04 22:45:47 -04:00
2014-12-10 02:51:36 +02:00
2015-03-18 17:27:57 -07:00
2015-05-02 19:15:18 -06:00
2015-05-11 12:11:40 -04:00
2015-05-17 19:27:22 -04:00
2014-10-09 16:59:30 -04:00
2015-03-18 18:19:30 -07:00
2015-02-07 13:27:50 +00:00
2015-03-25 21:03:47 +02:00
2015-04-04 11:01:02 +03:00
2015-03-30 01:01:48 +03:00
2015-03-18 17:27:57 -07:00
2014-11-09 15:56:33 -08:00
2015-03-24 22:30:46 +02:00
2015-04-14 16:14:25 -07:00
2015-04-10 13:24:41 +03:00
2015-04-27 21:44:22 -04:00
2015-02-14 09:50:59 -08:00
2015-04-15 10:27:58 -04:00
2015-04-10 13:29:28 +03:00
2015-05-22 16:18:14 -07:00
2015-04-03 18:13:23 +03:00
2014-10-04 17:45:15 -04:00
2015-04-21 19:44:54 -04:00
2015-05-11 22:57:16 -04:00
2015-05-11 22:57:16 -04:00
2015-04-13 14:21:02 -04:00
2015-05-03 13:19:46 +03:00
2015-04-13 14:21:02 -04:00
2015-02-22 17:25:33 +02:00
2015-05-11 22:57:16 -04:00
2015-05-22 10:14:11 -07:00
2015-05-20 10:33:40 +03:00
2015-04-13 14:21:02 -04:00
2015-04-10 13:24:41 +03:00
2014-10-05 20:04:06 +02:00
2014-08-27 09:34:38 -07:00
2014-10-10 21:21:52 +03:00
2015-03-22 15:32:36 +00:00
2015-04-13 14:21:02 -04:00