Skip Menu |

This queue is for tickets about the Inline-Python CPAN distribution.

Report information
The Basics
Id: 101153
Status: resolved
Priority: 0/
Queue: Inline-Python

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: [PATCH] fix some POD errors
In Debian we are currently applying the following patch to Inline-Python. We thought you might be interested in it too. Description: fix some POD errors Origin: vendor Author: gregor herrmann <gregoa@debian.org> Last-Update: 2014-12-27 The patch is tracked in our Git repository at https://anonscm.debian.org/cgit/pkg-perl/packages/libinline-python-perl.git/plain/debian/patches/pod.patch Thanks for considering, gregor herrmann, Debian Perl Group
Here's the patch.

Message body is not shown because sender requested not to inline it.

On Sat Dec 27 11:35:20 2014, GREGOA wrote: Show quoted text
> Here's the patch.
Could you please comment on Z<> additions?
Subject: Re: [rt.cpan.org #101153] [PATCH] fix some POD errors
Date: Thu, 22 Jan 2015 18:37:13 +0100
To: Сергей Романов via RT <bug-Inline-Python [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Wed, 21 Jan 2015 19:33:51 -0500, Сергей Романов via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=101153 > > > On Sat Dec 27 11:35:20 2014, GREGOA wrote:
> > Here's the patch.
> Could you please comment on Z<> additions?
Sure, and sorry for the lack of verbosity in my original submission. If I run `perldoc Python.pod' I get: POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 490: Expected text after =item, not a number Around line 495: Expected text after =item, not a number Around line 760: Non-ASCII character seen before =encoding in 'etc.<B0>.'. Assuming ISO8859-1 (That's with perl 5.20.1; same for pod2man.) I don't remember the exact details but somewhere around 5.18 the whole Pod::* machinery became more strict, and now requires that =item's contain only numbers or only strings or bullets, and for some reason that numbered lists start with 1. One of the ways out of this problem, while keeping a 0-based list, is to prefix the numbers with the "Z<>" zero formatting code; no idea where I picked up this trick :) There are probably other ways to fix this POD ERRORS as well, this was just the first idea and it worked for me :) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Pink Floyd: Mother
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.

Thanks for the patch! Released 0.47 containing the fix.