Marc-André Lemburg
3a645e4dd4
Added checks to prevent PyUnicode_Count() from dumping core
...
in case the parameters are out of bounds and fixes error handling
for .count(), .startswith() and .endswith() for the case of
mixed string/Unicode objects.
This patch adds Python style index semantics to PyUnicode_Count()
indices (including the special handling of negative indices).
The patch is an extended version of patch #103249 submitted
by Michael Hudson (mwh) on SF. It also includes new test cases.
2001-01-16 11:54:12 +00:00
..
2001-01-16 03:10:43 +00:00
2001-01-03 21:29:14 +00:00
2001-01-01 19:11:07 +00:00
2001-01-16 11:54:12 +00:00
2001-01-08 04:04:34 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 18:09:23 +00:00
2001-01-14 21:54:20 +00:00
2001-01-14 21:54:20 +00:00
2001-01-14 21:54:20 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-15 18:13:35 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-16 07:10:57 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-05 14:44:39 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-14 23:36:06 +00:00
2001-01-15 16:32:49 +00:00
2001-01-08 15:39:32 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-15 14:34:20 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-14 23:47:14 +00:00
2001-01-15 00:50:52 +00:00
2001-01-16 07:12:46 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 22:53:46 +00:00
2001-01-15 00:50:52 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:18:21 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-14 23:21:25 +00:00
2001-01-11 13:02:43 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 18:28:14 +00:00
2001-01-15 12:46:09 +00:00
2001-01-16 07:37:30 +00:00
2001-01-16 07:37:30 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 22:04:30 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:26:36 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 18:31:13 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00
2001-01-15 03:34:38 +00:00