head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.0.10 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.8 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.6 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.4 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.2 pkgsrc-2010Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2011.04.15.08.49.00; author adam; state dead; branches; next 1.1; 1.1 date 2010.02.10.15.31.25; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Changes 1.13: * Fixed a typo in code for reading a "\b" escape character in strings. * Improved __repr__ in FloatObject. * Fixed a bug in reading octal escape sequences in strings. * Added getWidth and getHeight methods to the RectangleObject class. * Fixed compatibility warnings with Python 2.4 and 2.5. * Added addBlankPage and insertBlankPage methods on PdfFileWriter class. * Fixed a bug with circular references in page's object trees (typically annotations) that prevented correctly writing out a copy of those pages. * New merge page functions allow application of a transformation matrix. @ text @$NetBSD: patch-aa,v 1.1 2010/02/10 15:31:25 joerg Exp $ --- pyPdf/pdf.py.orig 2010-02-10 16:10:11.000000000 +0100 +++ pyPdf/pdf.py @@@@ -49,7 +49,6 @@@@ import utils import warnings from generic import * from utils import readNonWhitespace, readUntilWhitespace, ConvertFunctionsToVirtualList -from sets import ImmutableSet ## # This class supports writing PDF files out, given pages produced by another @@@@ -986,8 +985,8 @@@@ class PageObject(DictionaryObject): # Combine /ProcSet sets. newResources[NameObject("/ProcSet")] = ArrayObject( - ImmutableSet(originalResources.get("/ProcSet", ArrayObject()).getObject()).union( - ImmutableSet(page2Resources.get("/ProcSet", ArrayObject()).getObject()) + frozenset(originalResources.get("/ProcSet", ArrayObject()).getObject()).union( + frozenset(page2Resources.get("/ProcSet", ArrayObject()).getObject()) ) ) @ 1.1 log @Use builtin set type. Bump revision. @ text @d1 1 a1 1 $NetBSD$ @