Opened 13 years ago
Closed 13 years ago
#33615 closed defect (worksforme)
py24-pydicom: SyntaxError: invalid syntax
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | py24-pydicom |
Description
According to the buildbot, the following syntax error occurs when building the python 2.4 version of pydicom:
byte-compiling /opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-pydicom/py24-pydicom/work/destroot/opt/local/lib/python2.4/site-packages/dicom/test/version_dep.py to version_dep.pyc File "/opt/local/lib/python2.4/site-packages/dicom/test/version_dep.py", line 15 with warnings.catch_warnings(record=True) as w: ^ SyntaxError: invalid syntax
The install continues, but I worry that the software it installs doesn't actually work. Is this version of pydicom still compatible with python 2.4?
Change History (1)
comment:1 Changed 13 years ago by eborisch (Eric A. Borisch)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That file has the doc string "Holds test code that is dependent on certain python versions". Source is here.
Looking at the calling file in the directory, it's only ever used if the python version is > 2.5. (The with syntax was first introduced in 2.5.)
I'm calling it good.