[Python-bugs-list] [ python-Bugs-479568 ] xxsubtype builtin

noreply@sourceforge.net noreply@sourceforge.net
Mon, 10 Dec 2001 08:58:42 -0800


Bugs item #479568, was opened at 2001-11-08 05:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=479568&group_id=5470

Category: Extension Modules
Group: Python 2.2
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
Assigned to: Tim Peters (tim_one)
Summary: xxsubtype builtin

Initial Comment:
Python 2.2b1+ (#1, Nov  6 2001, 21:52:55) [GCC 2.95.3 
20010315 (release)
(conectiva)] on linux-i386 Type "help", "copyright", 
"credits" or
"license" for more information.
>>> import sys sys.builtin_module_names
('__builtin__', '__main__', '_sre', '_symtable', 
'exceptions', 'gc',
'imp', 'marshal', 'new', 'posix', 'signal', 'sys', 
'thread',
'xxsubtype')
>>>

Should xxsubtype be a builtin module? The line 
mentioning it in Setup.dist is uncommented by 
default. Maybe it's there just for testing purposes?

Thanks!



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

>Comment By: Tim Peters (tim_one)
Date: 2001-12-10 08:58

Message:
Logged In: YES 
user_id=31435

The bloat is insignificant, and the module must be present 
for the test suite to complete.  Someone who never intends 
to run the test suite can leave it out.  I notice the 
module doesn't have a docstring, though, making it too hard 
to discover why it's there -- so my solution will be to 
increase the bloat <wink> by adding a docstring.

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

Comment By: Gustavo Niemeyer (niemeyer)
Date: 2001-12-10 03:17

Message:
Logged In: YES 
user_id=7887

I wasn't concerned about the namespace polution. I was 
really concerned about needless bloatness being included 
in the interpreter. I don't see any problems with shipping 
that in a beta version. I just hope this gets removed in 
the final release.


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

Comment By: Tim Peters (tim_one)
Date: 2001-12-09 21:01

Message:
Logged In: YES 
user_id=31435

I agree, and closed as WontFix.  Reassigned to me so you 
don't get yelled at needlessly <wink>.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-09 20:13

Message:
Logged In: YES 
user_id=6380

I'd like to close this with a "won't fix".

I don't see what's wrong with having this show up; renaming
it seems not worth the effort. It's not like we're stepping
on an important piece of the user's namespace.

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

Comment By: Tim Peters (tim_one)
Date: 2001-12-09 20:09

Message:
Logged In: YES 
user_id=31435

Guido, we should "do something about this" before 2.2c1.  
Perhaps rename to __xxsubtype__?  It's still valuable for 
test_descr.py to exercise it.  Or perhaps it should be 
included in _testcapimodule?

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=479568&group_id=5470