Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-python
Navigation:
Lists: gentoo-python: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-python@g.o
From: Mike Gilbert <floppym@g.o>
Subject: [PATCH] python.eclass: Avoid multiple inclusion
Date: Thu, 29 Dec 2011 16:18:04 -0500
Mike's doing it in autotools.eclass, so let's do it too.

This will aid in debugging code in global scope and prevent duplicate
dependency atoms from being generated. Also, per vapier[1], it could
have some performance enhancing qualities.

The distutils part avoids sourcing python.eclass if distutils is
inherited after python. We can add similar blocks to other eclass
consumers of python.eclass.

I think it's a good idea, and you should to.

Please see attached patch. Please let me know you have some objection;
otherwise I will commit on Sunday, Jan 1.

[1]
http://archives.gentoo.org/gentoo-dev/msg_18dab542c1c59873f8cb68c96cdf6619.xml
Attachment:
python-eclass-multiple-inclusion.patch (Text Data)
Attachment:
signature.asc (OpenPGP digital signature)
Navigation:
Lists: gentoo-python: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[PATCH] Support -A / --ABIs-patterns option in python_mod_optimize() and python_mod_cleanup()
Next by thread:
Stabilizing 3.2
Previous by date:
Re: [PATCH] Support -A / --ABIs-patterns option in python_mod_optimize() and python_mod_cleanup()
Next by date:
Stabilizing 3.2


Updated Jun 29, 2012

Summary: Archive of the gentoo-python mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.