Tim Peters
cb8d368b82
Reimplement PySequence_Contains() and instance_contains(), so they work
...
safely together and don't duplicate logic (the common logic was factored
out into new private API function _PySequence_IterContains()).
Visible change:
some_complex_number in some_instance
no longer blows up if some_instance has __getitem__ but neither
__contains__ nor __iter__. test_iter changed to ensure that remains true.
2001-05-05 21:05:01 +00:00
..
2001-05-05 21:05:01 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-25 20:04:14 +00:00
2001-03-22 02:32:48 +00:00
2001-03-23 04:17:58 +00:00
2000-09-01 23:29:29 +00:00
2001-03-22 02:32:48 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-03-13 01:58:22 +00:00
2001-03-23 04:17:58 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-04-23 14:08:49 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-26 05:46:01 +00:00
2001-01-28 00:27:39 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-25 22:13:34 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-04-23 14:08:49 +00:00
2001-03-22 18:26:47 +00:00
2001-04-20 19:13:02 +00:00
2001-03-02 06:10:17 +00:00
2000-09-01 23:29:29 +00:00
2001-04-18 04:31:01 +00:00
2000-09-01 23:29:29 +00:00
2000-12-22 21:51:10 +00:00
2000-09-01 23:29:29 +00:00
2001-04-20 19:13:02 +00:00
2000-11-03 08:18:37 +00:00
2000-09-01 23:29:29 +00:00
2001-01-22 16:50:11 +00:00
2001-01-23 01:46:06 +00:00
2001-04-20 19:13:02 +00:00
2001-03-23 02:46:52 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-02-23 16:40:48 +00:00
2000-09-01 23:29:29 +00:00
2001-03-22 03:57:58 +00:00
2000-12-15 22:01:39 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-19 09:45:02 +00:00
2001-04-23 14:44:21 +00:00