fix missing seq attribute reported by Jim Parinisi; version --> 3.5.6
authorrobin <robin@reportlab.com>
Mon, 20 Aug 2018 14:25:03 +0100
changeset 4458 dfef5530196d
parent 4457 2cb3dd1e5bc2
child 4459 c5d9818a4d54
fix missing seq attribute reported by Jim Parinisi; version --> 3.5.6
CHANGES.md
src/reportlab/__init__.py
src/reportlab/platypus/doctemplate.py
src/rl_addons/renderPM/_renderPM.c
tests/test_platypus_toc.py
--- a/CHANGES.md	Tue Aug 14 16:45:02 2018 +0100
+++ b/CHANGES.md	Mon Aug 20 14:25:03 2018 +0100
@@ -11,6 +11,20 @@
 The contributors lists are in no order and apologies to those accidentally not
 mentioned. If we missed you, please let us know!
 
+RELEASE 3.5.6  20/08/2018
+-------------------------
+	* Restore DocTemplate seq attribute lost in rev c985bd7093ad (4405)
+      version 3.4.41 bug report from Jim Parinisi jimandkimparinisi@yahoo.com
+
+RELEASE 3.5.5  14/08/2018
+-------------------------
+    * Bug fix underlined space in XPreformatted
+
+RELEASE 3.5.4  06/08/2018
+-------------------------
+    * Bug fix for Paragraph space bugs reported by Kayley Lane
+    * Use local libart code by default (libart 2.3.21-3)
+
 RELEASE 3.5.3  06/07/2018
 -------------------------
     * Bug fix release to make really simple paras work OK 
--- a/src/reportlab/__init__.py	Tue Aug 14 16:45:02 2018 +0100
+++ b/src/reportlab/__init__.py	Mon Aug 20 14:25:03 2018 +0100
@@ -1,9 +1,9 @@
 #Copyright ReportLab Europe Ltd. 2000-2018
 #see license.txt for license details
 __doc__="""The Reportlab PDF generation library."""
-Version = "3.5.5"
+Version = "3.5.6"
 __version__=Version
-__date__='20180814'
+__date__='20180820'
 
 import sys, os
 
--- a/src/reportlab/platypus/doctemplate.py	Tue Aug 14 16:45:02 2018 +0100
+++ b/src/reportlab/platypus/doctemplate.py	Mon Aug 20 14:25:03 2018 +0100
@@ -947,6 +947,8 @@
         *NB* only the canvases created in self._startBuild will actually be used
         in the build process.
         '''
+        #each distinct pass gets a sequencer
+        self.seq = reportlab.lib.sequencer.Sequencer()
         canv = canvasmaker(filename or self.filename,
                             pagesize=self.pagesize,
                             invariant=self.invariant,
@@ -980,10 +982,6 @@
 
     def _startBuild(self, filename=None, canvasmaker=canvas.Canvas):
         self._calc()
-
-        #each distinct pass gets a sequencer
-        #self.seq = reportlab.lib.sequencer.Sequencer()
-
         self.canv = self._makeCanvas(filename=filename,canvasmaker=canvasmaker)
         self.handle_documentBegin()
 
--- a/src/rl_addons/renderPM/_renderPM.c	Tue Aug 14 16:45:02 2018 +0100
+++ b/src/rl_addons/renderPM/_renderPM.c	Mon Aug 20 14:25:03 2018 +0100
@@ -20,7 +20,7 @@
 #endif
 
 
-#define VERSION "3.00"
+#define VERSION "3.01"
 #define MODULENAME "_renderPM"
 #ifdef isPy3
 #	define PyInt_FromLong	PyLong_FromLong
--- a/tests/test_platypus_toc.py	Tue Aug 14 16:45:02 2018 +0100
+++ b/tests/test_platypus_toc.py	Mon Aug 20 14:25:03 2018 +0100
@@ -278,6 +278,7 @@
 
         # I can't get one pass yet'
         #self.assertEquals(passes, 1)
+        self.assertTrue(hasattr(doc,'seq'))
 
     def test2(self):
         chapters = 20   #so we know we use only one page