[libinline-python-perl] 06/06: pod.patch

gregor herrmann gregoa at debian.org
Sat Dec 27 16:39:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libinline-python-perl.

commit e829db2b6c3c8cf0bd2b797204c2e1d58c88685f
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Dec 27 17:35:38 2014 +0100

    pod.patch
---
 debian/patches/pod.patch | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/patches/series    |  1 +
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/pod.patch b/debian/patches/pod.patch
new file mode 100644
index 0000000..8404805
--- /dev/null
+++ b/debian/patches/pod.patch
@@ -0,0 +1,40 @@
+Description: fix some POD errors
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-12-27
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=101153
+Bug: https://rt.cpan.org/Ticket/Display.html?id=101153
+
+--- a/Python.pod
++++ b/Python.pod
+@@ -481,18 +481,18 @@
+ 
+ =over 4
+ 
+-=item 0
++=item Z<>0
+ 
+ Accepts only expressions. Complete statements yield a syntax error. An
+ expression is anything that can appear to the right of an '=' sign. Returns
+ the value of the expression.
+ 
+-=item 1
++=item Z<>1
+ 
+ The default. Accepts arbitrarily long input, which may be any valid Python 
+ code. Always returns C<undef>.
+ 
+-=item 2
++=item Z<>2
+ 
+ Accepts exactly one statement, and prints the result to STDOUT. This is
+ how Python works in interactive mode. Always returns C<undef>.
+@@ -757,7 +757,7 @@
+ For Perl integration:
+ 
+  - Non-utf8-flagged Perl strings will be Python bytes, utf8-flagged Perl strings will be Python string
+- - __cmp__ is no more supported in Python 3 and has been replaced by "rich comparison" (i.e. __eq__, __le__, etc.�. 
++ - __cmp__ is no more supported in Python 3 and has been replaced by "rich comparison" (i.e. __eq__, __le__, etc.).
+ Since booleans in Perl are integers, renaming __cmp__ to __eq__ is often enough while wrapping a Perl object in Python.
+  - perl.require, perl.use and perl.eval accept either bytes or strings.
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c9352c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pod.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-python-perl.git



More information about the Pkg-perl-cvs-commits mailing list