diff CHANGES.txt @ 6531:82f870433b18

issue2551107 - Handle long int in history params Early versions of roundup represented the id in a params tuple of the journal/history using a Long int. The repr 2345L is not valid under python3. So eval()'ing the params tuple throws a SyntaxError. Trap the error, modify the parms string stripping the L and re-eval.
author John Rouillard <rouilj@ieee.org>
date Sun, 14 Nov 2021 22:22:18 -0500
parents c505c774a94d
children f8df7fed18f6
line wrap: on
line diff
--- a/CHANGES.txt	Fri Nov 12 22:01:02 2021 -0500
+++ b/CHANGES.txt	Sun Nov 14 22:22:18 2021 -0500
@@ -41,6 +41,12 @@
 - REST replace hard coded list of child endpoints for /rest/ with list
   pulled from registered endpoints. So newly added endpoints are
   shown. (John Rouillard)
+- issue2551107 - Handle representation of long int in history params
+  for python3. Causes SyntaxError crash when showing history due to
+  long int e.g. 2345L. This is not a problem for roundup trackers
+  created using 1.2.0 or newer. The fix may have predated the 1.2.0
+  release but where the fix actually landed (representing id as a
+  string and not as an int) is unknown.
 
 Features:
 

Roundup Issue Tracker: http://roundup-tracker.org/