After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678728 - Python3-friendly python.m4
Python3-friendly python.m4
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 684103
 
 
Reported: 2012-06-24 18:26 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2015-02-07 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (981 bytes, patch)
2012-06-24 18:26 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2012-06-24 18:26:52 UTC
Created attachment 217135 [details] [review]
proposed patch

Running autogen.sh spits up under Python 3 due to the use of the print statement rather than the print function. The print function works in Python 2 (backported to 2.6).
Comment 1 Matthias Clasen 2012-06-30 05:08:31 UTC
Review of attachment 217135 [details] [review]:

Looks ok to me, though I'm not a native python speaker.
Comment 2 Joanmarie Diggs (IRC: joanie) 2012-09-15 18:41:49 UTC
I had forgotten about this patch (sorry!). A related aside: In its current form, it will spit up for users using python 2.x < 2.6. If glib has such users, I should probably come up with a friendly-to-everyone alternative.
Comment 3 Colin Walters 2012-10-26 19:01:51 UTC
(In reply to comment #2)
> I had forgotten about this patch (sorry!). A related aside: In its current
> form, it will spit up for users using python 2.x < 2.6. If glib has such users,
> I should probably come up with a friendly-to-everyone alternative.

I care about Red Hat Enterprise Linux 6 personally (and the current gnome-ostree builder is based on RHEL6), but it has Python 2.6, so I'm OK with this patch.
Comment 4 André Klapper 2015-02-07 17:00:59 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]