Guido van Rossum
18d4d8f71d
Two changes to from...import:
...
1) "from M import X" now works even if M is not a real module; it's
basically a getattr() operation with AttributeError exceptions
changed into ImportError.
2) "from M import *" now looks for M.__all__ to decide which names to
import; if M.__all__ doesn't exist, it uses M.__dict__.keys() but
filters out names starting with '_' as before. Whether or not
__all__ exists, there's no restriction on the type of M.
2001-01-12 16:24:03 +00:00
..
2000-05-02 18:34:30 +00:00
2000-09-01 23:29:29 +00:00
2001-01-12 16:03:05 +00:00
2001-01-12 16:24:03 +00:00
2000-09-26 05:46:01 +00:00
2000-11-27 22:22:36 +00:00
2000-07-22 18:47:25 +00:00
2000-09-04 00:54:56 +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-12-12 22:36:57 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-10 21:17:27 +00:00
2000-09-01 23:29:29 +00:00
2000-10-05 10:54:45 +00:00
2000-12-15 21:58:52 +00:00
2000-12-15 21:58: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-12-11 20:01:55 +00:00
2000-09-05 04:40:39 +00:00
2000-09-04 01:27:04 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-11-03 08:18:37 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-08-24 20:11:32 +00:00
2000-07-31 15:28:04 +00:00
2001-01-10 20:40:46 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-11-03 08:18:37 +00:00
2000-11-14 20:44:53 +00:00
2000-09-01 23:29:29 +00:00
2000-09-26 05:46:01 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2000-09-02 09:16:15 +00:00
2001-01-05 00:54:29 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2000-09-01 23:29:29 +00:00
2001-01-11 09:27:34 +00:00
2000-09-01 23:29:29 +00:00
2000-11-13 19:45:45 +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-10-12 20:58:32 +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-10-06 15:48:38 +00:00
2000-09-01 23:29:29 +00:00