Files
cpython/Lib
Tim Peters 25786c0851 Make dictionary() a real constructor. Accepts at most one argument, "a
mapping object", in the same sense dict.update(x) requires of x (that x
has a keys() method and a getitem).
Questionable:  The other type constructors accept a keyword argument, so I
did that here too (e.g., dictionary(mapping={1:2}) works).  But type_call
doesn't pass the keyword args to the tp_new slot (it passes NULL), it only
passes them to the tp_init slot, so getting at them required adding a
tp_init slot to dicts.  Looks like that makes the normal case (i.e., no
args at all) a little slower (the time it takes to call dict.tp_init and
have it figure out there's nothing to do).
2001-09-02 08:22:48 +00:00
..
2001-08-13 13:48:55 +00:00
2001-08-09 12:48:17 +00:00
2001-08-09 12:33:32 +00:00
2001-04-08 07:23:44 +00:00
2001-08-20 21:48:00 +00:00
2001-06-07 18:56:13 +00:00
2001-02-18 03:30:53 +00:00
2001-08-09 21:40:30 +00:00
2001-08-21 06:53:01 +00:00
2001-08-09 21:40:30 +00:00
2001-08-20 21:48:00 +00:00
2001-03-16 08:29:48 +00:00
2001-07-19 10:06:39 +00:00
2001-01-20 23:34:12 +00:00
2001-01-20 23:34:12 +00:00
2001-08-13 14:55:17 +00:00
2001-01-20 23:34:12 +00:00
2001-01-20 23:34:12 +00:00
2001-01-23 15:35:05 +00:00
2001-08-18 09:20:23 +00:00
2001-02-09 10:18:37 +00:00
2001-01-24 06:27:27 +00:00
2001-06-19 00:26:25 +00:00
2001-02-09 09:48:45 +00:00
2001-05-29 04:27:01 +00:00
2001-08-13 14:50:44 +00:00
2001-02-09 09:48:45 +00:00
2001-07-04 07:01:29 +00:00
2001-02-09 09:39:08 +00:00
2001-07-04 10:15:58 +00:00
2001-02-18 03:30:53 +00:00
2001-02-09 07:02:17 +00:00
2001-08-02 07:15:29 +00:00
2001-02-09 20:06:00 +00:00
2001-08-13 14:47:12 +00:00
2001-08-13 14:52:37 +00:00
2001-05-29 06:06:54 +00:00
2001-02-12 02:00:42 +00:00
2001-02-18 03:30:53 +00:00
2001-02-15 23:56:39 +00:00
2001-02-15 22:15:14 +00:00
2001-02-15 22:15:14 +00:00
2001-02-15 22:15:14 +00:00
2001-08-13 15:58:26 +00:00
2001-02-15 22:15:14 +00:00
2001-02-15 22:15:14 +00:00
2001-02-15 22:15:14 +00:00
2001-02-15 22:15:14 +00:00
2001-08-13 14:41:39 +00:00
2001-07-21 01:41:30 +00:00
2001-03-22 15:50:10 +00:00
2001-02-18 03:30:53 +00:00
2001-02-15 22:15:14 +00:00
2001-01-15 01:36:40 +00:00
2001-01-15 01:36:40 +00:00
2001-07-13 18:05:46 +00:00
2001-08-13 14:38:50 +00:00
2001-08-13 14:37:23 +00:00
2001-03-16 08:29:48 +00:00
2001-08-23 20:13:08 +00:00