Warning: Can't synchronize with the repository (Unsupported version control system "svn". Check that the Python support libraries for "svn" are correctly installed.)

Ticket #1 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

PyCha not working under CPython 2.4

Reported by: enlavin Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Syntax error in chart.py

File "C:\Python\24\lib\site-packages\pycha-0.1.0-py2.4.egg\pycha\chart.py", line 189

self.minxval = 0.0 if self.options.xOriginIsZero else float(min(xdata))

Conditional asignment is defined only in python 2.5 and above.

Attachments

patch-chart.py-2.4.diff (3.6 kB) - added by enlavin 6 years ago.

Change History

Changed 6 years ago by enlavin

Changed 6 years ago by lgs

  • status changed from new to closed
  • resolution set to fixed

Ok, I guess is to early to say goodbye to Python 2.4.

I commited your patch. You can get the patched pycha from subversion. I will put the subversion url in the wiki frontpage right now.

Note: See TracTickets for help on using tickets.