Bugs item #1235569, was opened at 2005-07-10 07:18 Message generated for change (Settings changed) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1235569&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core Group: Python 2.4 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Pavel Pergamenshchik (ppergame) Assigned to: Nobody/Anonymous (nobody) Summary: Inconsistent singleton constructor messages Initial Comment: Inconsistent TypeError strings: >>> types.NoneType() Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: cannot create 'NoneType' instances >>> types.EllipsisType() Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: cannot create 'ellipsis' instances ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2005-07-11 15:43 Message: Logged In: YES user_id=31435 Ah! Well, we shouldn't do that -- the messages currently give the correct names for the types: >>> type(None) <type 'NoneType'> >>> type(Ellipsis) <type 'ellipsis'> The names types are exported under by types.py are pretty much arbitrary, but shouldn't be changed either because doing so would create backward compatibility headaches. ---------------------------------------------------------------------- Comment By: Pavel Pergamenshchik (ppergame) Date: 2005-07-11 15:22 Message: Logged In: YES user_id=595126 Either the first error message should be changed to "TypeError: cannot create 'none' instances" or the second one should be "TypeError: cannot create 'EllipsisType' instances". I apologize for being unclear. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2005-07-11 15:17 Message: Logged In: YES user_id=31435 ppergame, could you please be explicit about what your complaint is here? I don't know what's bothering you either. For example, spell out the text for error messages you think would be OK. Your example: "fanction takes too mny arguements lol" seems meaningless here, since it appears to suggest you dislike spelling errors. That's fine, but there are no spelling errors in the messages you're complaining about. ---------------------------------------------------------------------- Comment By: Pavel Pergamenshchik (ppergame) Date: 2005-07-11 13:30 Message: Logged In: YES user_id=595126 You wouldn't tolerate "TypeError: yuor fanction takes too mny arguements lol". The inconsistency looks unprofessional in the same way, if not magnitude. ---------------------------------------------------------------------- Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-07-10 08:28 Message: Logged In: YES user_id=1188172 Where's your problem? If this doesn't cause any misbehaviour, I recommend closing this as Won't Fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1235569&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com