From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.devel Subject: Re: python.el: why remove '' from sys.path? Date: Fri, 13 Mar 2009 11:58:24 -0700 Message-ID: <36366a980903131158m33544fa8u4083c036aca55720@mail.gmail.com> References: <36366a980903131140p7a66c5a2ncabec4df11edcce1@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236970838 22638 80.91.229.12 (13 Mar 2009 19:00:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 19:00:38 +0000 (UTC) To: romain@orebokech.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 13 20:01:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LiCdh-00024j-Rw for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2009 20:01:50 +0100 Original-Received: from localhost ([127.0.0.1]:40594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiCcL-0008BH-Vn for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2009 15:00:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiCaT-0007TH-EI for emacs-devel@gnu.org; Fri, 13 Mar 2009 14:58:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiCaP-0007Rt-TG for emacs-devel@gnu.org; Fri, 13 Mar 2009 14:58:29 -0400 Original-Received: from [199.232.76.173] (port=55579 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiCaP-0007Rn-K2 for emacs-devel@gnu.org; Fri, 13 Mar 2009 14:58:25 -0400 Original-Received: from mail-gx0-f160.google.com ([209.85.217.160]:32864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiCaP-0001lO-8m for emacs-devel@gnu.org; Fri, 13 Mar 2009 14:58:25 -0400 Original-Received: by gxk4 with SMTP id 4so1706812gxk.18 for ; Fri, 13 Mar 2009 11:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FK//DHJQJYEWDLNwdvrpRqVqkkRKx5nanFstu6jcweU=; b=d/OfeXKb9dfQFQ9kqqWuvM+Dnn16iFuWH7AxRhGDO27tLQyW6aZEVnyoVgfRvdl03I 6afuCSgboQ3xDLI6z14Z5soxxd0ozaUZeAl3iIc//0pZRNwmrnZ1QFVIHURYzPYiSY3j kO3t1JY2QGK3AeZcnBqaQSXedstrsd1YEICvc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Y/+Or2p+t61ZD8320GPDkiecc2p4AVS/puOALj56UXV8g8HXY6ZanTsQLTSB4MCysX 0iMIv6d+UYOxcTon80PpTs/vcs1br0Ipd6E/56Mpyyik2lzsJ1R1uz/LDplvrpSVBeOZ guw9ldAPjqBiFsMDd8t81uVtdco07jA8YgDbE= Original-Received: by 10.142.180.20 with SMTP id c20mr768434wff.131.1236970704262; Fri, 13 Mar 2009 11:58:24 -0700 (PDT) In-Reply-To: <36366a980903131140p7a66c5a2ncabec4df11edcce1@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109604 Archived-At: On Fri, Mar 13, 2009 at 11:40 AM, Eric Hanchrow w= rote: > I just noticed that my inferior python refuses to load modules from > the current directory, and traced the cause to this commit: > > commit 52ebf5328eaae31b69a02de160c93f6168921fc2 > Author: Romain Francoise > Date: =C2=A0 Sun Aug 24 19:47:07 2008 +0000 > > =C2=A0 =C2=A0(run-python): Remove '' from sys.path. > > Can you explain why you removed the current directory from sys.path? > I think it'd be more convenient to have it present. > Never mind; a few moment's searching gmane yielded the answer: security. http://article.gmane.org/gmane.emacs.devel/103569/