From a41d9660d2c49abc7ead86794e9f1c3212c7cd92 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 19 Apr 2016 12:28:48 +0300 Subject: [PATCH] init.py: restore links to the origin of borrowed code --- lib/python/init.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/python/init.py b/lib/python/init.py index cc3b66b..44aebe4 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -18,7 +18,8 @@ def init(): execfile(pyreadlinew32_startup) else: - # From Bruce Edge + # From Bruce Edge: + # https://mail.python.org/pipermail/python-list/2001-March/062888.html try: import rlcompleter, readline @@ -57,7 +58,8 @@ def init(): else: background = os.environ.get('BACKGROUND', 'light').lower() - # From Randall Hopper + # From Randall Hopper: + # https://mail.python.org/pipermail/python-list/2001-March/112696.html for _term in ['linux', 'rxvt', 'screen', 'term', 'vt100']: if _term not in term: @@ -117,7 +119,9 @@ def init(): pass # no locale support or unsupported locale - # From: Paul Magwene with a lot of my fixes + # From: Paul Magwene: + # https://mail.python.org/pipermail/python-list/2001-March/086191.html + # With a lot of my fixes: class DirLister: def __getitem__(self, key): @@ -150,6 +154,8 @@ def init(): __builtin__.ls = DirLister() __builtin__.cd = DirChanger() + # From Thomas Heller: + # https://mail.python.org/pipermail/python-list/2001-April/099020.html # From Thomas Heller # -- 2.39.5