[Patches] [ python-Patches-569328 ] names in types module

noreply@sourceforge.net noreply@sourceforge.net
Sun, 13 Oct 2002 05:48:42 -0700


Patches item #569328, was opened at 2002-06-15 11:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=569328&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Oren Tirosh (orenti)
Assigned to: Nobody/Anonymous (nobody)
Summary: names in types module

Initial Comment:
Adds names to types module so types are accessible as 
'type.spam' in addition to the existing longer version 
'types.SpamType'. 

The short names match the type's __name__ attribute.



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-13 14:48

Message:
Logged In: YES 
user_id=21627

Oren, I sympathise with Fredrik's view. Unless there is
somebody speaking in favour of these changes, I'll reject
this patch by November 1.

----------------------------------------------------------------------

Comment By: Fredrik Lundh (effbot)
Date: 2002-07-01 20:15

Message:
Logged In: YES 
user_id=38376

"from * import types" is a rather common pydiom, and I'm 
pretty sure most people using that expects to get a bunch of 
[A-Z]\w+Type names, and nothing else.

-0 from me.

----------------------------------------------------------------------

Comment By: Oren Tirosh (orenti)
Date: 2002-06-18 16:40

Message:
Logged In: YES 
user_id=562624

Updated patch.

----------------------------------------------------------------------

Comment By: Oren Tirosh (orenti)
Date: 2002-06-15 12:58

Message:
Logged In: YES 
user_id=562624

http://mail.python.org/pipermail/python-dev/2002-June/025410.html


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-06-15 12:05

Message:
Logged In: YES 
user_id=21627

What is the purpose of this change?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=569328&group_id=5470