[ python-Bugs-803498 ] plat-mac/applesingle.py needs cosmetic
changes
SourceForge.net
noreply at sourceforge.net
Tue Nov 18 18:09:35 EST 2003
Bugs item #803498, was opened at 2003-09-10 01:34
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=803498&group_id=5470
Category: Macintosh
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Bob Ippolito (etrepum)
Assigned to: Jack Jansen (jackjansen)
Summary: plat-mac/applesingle.py needs cosmetic changes
Initial Comment:
1) it uses a string exception
2) it has a warning every time you use it:
/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/plat-mac/applesingle.py:40: FutureWarning: %u/
%o/%x/%X of negative int will return a signed string in
Python 2.4 and up
3) its decode function overloads __builtin__ names (input,
id) and uses type(input) == type('') when it really means:
isinstance(input, basestring).. or maybe even better: not
hasattr(input, 'read')
4) it can be useful on platforms other than MacOS (bub-n-
bob uses it for example)
Attached is a revamped and backwards compatible version.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2003-11-19 00:09
Message:
Logged In: YES
user_id=45365
Accepted for 2.4 as rev. 1.3 (with minor changes by me, to make
it pass the new test_applesingle test), but not for 2.3: it seems the
one thing that would make this a bug fix (point 2) doesn't happen
for me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=803498&group_id=5470
More information about the Python-bugs-list
mailing list