From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7D70E1381F4 for ; Fri, 17 Aug 2012 17:26:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AAE521C061; Fri, 17 Aug 2012 17:26:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1989321C061 for ; Fri, 17 Aug 2012 17:26:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72FF11B4007 for ; Fri, 17 Aug 2012 17:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 32BA3E5441 for ; Fri, 17 Aug 2012 17:26:39 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1345224375.56fcb45535c4457d9dff7844c54f8a0c49a8500a.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/overlay/root.py X-VCS-Directories: roverlay/overlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 56fcb45535c4457d9dff7844c54f8a0c49a8500a X-VCS-Branch: master Date: Fri, 17 Aug 2012 17:26:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a0cfaf61-4917-4bf9-a58b-c4da767890eb X-Archives-Hash: f944472f399a5ee9af6bc14a6a4be3c1 commit: 56fcb45535c4457d9dff7844c54f8a0c49a8500a Author: André Erdmann mailerd de> AuthorDate: Fri Aug 17 17:26:15 2012 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Aug 17 17:26:15 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=56fcb455 code comment for overlay root --- roverlay/overlay/root.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/roverlay/overlay/root.py b/roverlay/overlay/root.py index 8c22ce2..99c0850 100644 --- a/roverlay/overlay/root.py +++ b/roverlay/overlay/root.py @@ -10,6 +10,9 @@ This module provides the Overlay class that acts as an interface between PackageInfo instances (in memory) and the R overlay (directory in filesystem). Most requests are redirected to its subdirectories (Category), which, in turn, pass them to their subdirectories (PackageDir). + +Caution: Never deep-copy an overlay object. This leads to infinite recursion +due do double-linkage between PackageInfo and PackageDir. """ __all__ = [ 'Overlay', ]