Bugs item #1230553, was opened at 2005-06-30 19:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1230553&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 Library Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Mike Orr (hierro) Assigned to: Nobody/Anonymous (nobody) Summary: decimal module is no longer 2.3 compatible Initial Comment: decimal.py is no longer compatible with Python 2.3. [EMAIL PROTECTED] ~/src/Python-2.4.1/Lib $ python 'import site' failed; use -v for traceback Python 2.3.4 (#1, Nov 30 2004, 10:15:28) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import decimal Traceback (most recent call last): File "<stdin>", line 1, in ? File "decimal.py", line 137, in ? import copy File "copy.py", line 65, in ? import inspect File "inspect.py", line 31, in ? import sys, os, types, string, re, dis, imp, tokenize, linecache File "os.py", line 133 from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep, ^ SyntaxError: invalid syntax The error is the "()" in the 'from' statement. The docstring reads: # This module is currently Py2.3 compatible and should be kept that way # unless a major compelling advantage arises. IOW, 2.3 compatibility is # strongly preferred, but not guaranteed. Please remove this paragraph or otherwise correct it. Perhaps there should also be a note in Misc/NEWS or somewhere since the following thread in python-dev seems to suggest decimal was meant to remain compatible until 2.5 is released: http://mail.python.org/pipermail/python-dev/2004-August/048135.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1230553&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com