From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: carlosjosepita@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#18962: 24.3.94; python eldoc setup code: wrong str test Date: Wed, 05 Nov 2014 17:50:08 -0300 Message-ID: <8761etpe2n.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415220746 3542 80.91.229.3 (5 Nov 2014 20:52:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 20:52:26 +0000 (UTC) To: 18962@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 05 21:52:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xm7Yw-0002hj-4O for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Nov 2014 21:52:18 +0100 Original-Received: from localhost ([::1]:48484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Yv-0000vA-MT for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Nov 2014 15:52:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Ym-0000v0-Bo for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:52:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm7Yg-0007kD-9m for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:52:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Yg-0007k7-67 for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xm7Yf-0002W5-QR for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: carlosjosepita@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Nov 2014 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18962 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14152206999636 (code B ref -1); Wed, 05 Nov 2014 20:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Nov 2014 20:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:50471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xm7YI-0002VL-Tn for submit@debbugs.gnu.org; Wed, 05 Nov 2014 15:51:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57108) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xm7YG-0002VB-17 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 15:51:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm7Y9-0007Jw-Sg for submit@debbugs.gnu.org; Wed, 05 Nov 2014 15:51:35 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Y9-0007Js-Q2 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 15:51:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Y3-0000tk-Fi for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:51:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm7Xx-0007Hs-GO for bug-gnu-emacs@gnu.org; Wed, 05 Nov 2014 15:51:23 -0500 Original-Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:44116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7Xq-0007F8-TR; Wed, 05 Nov 2014 15:51:10 -0500 Original-Received: by mail-qa0-f41.google.com with SMTP id s7so1134267qap.0 for ; Wed, 05 Nov 2014 12:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:cc:date:message-id:mime-version:content-type; bh=NQ59qDloDPAnQvtu1OHR4nXSmCYJtZzKjhgAb+F08bY=; b=w8T3fcAt3qdF2IVs7xvuipBdflH6affzaz9q5t/o+oo62UDNQzVNnZAOUoieAimA9N LKEVsIjqnqT2gk+UlR8TguGGi8b570sk7JA1gBTrtB/US2hcadVAboI4VygHDkSDCWRe tobbXAgRQAWVghLVFGWkkn4+zaEQO8vGngVMHineX+lYUSIUPe8e94ncHcsPu8REDThy MXyPxHZrABZSLt0ZYbtkMh2YdshDlWr2TXY4bnI9sHSYl+cTfSLlNYJvoSaYoiChl5sv 4mDCJl96CKWDbS6ZHQgyRUviyAWUxEdBNdeIrH2Us/sXQi/+5x64P/1qch82ucFBb64g YZow== X-Received: by 10.140.93.195 with SMTP id d61mr83428955qge.28.1415220669660; Wed, 05 Nov 2014 12:51:09 -0800 (PST) Original-Received: from carlos-jampp ([190.18.155.203]) by mx.google.com with ESMTPSA id q8sm4065458qai.44.2014.11.05.12.50.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Nov 2014 12:50:11 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95581 The following test (taken from python-eldoc-setup-code) is wrong, since it will accept any object that has an attribute called 'startswith', not necessarilly a string or code object (as required by eval): if hasattr(obj, 'startswith'): obj = eval(obj, globals()) --------------------------------- In GNU Emacs 24.3.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-10-16 on carlos-jampp Windowing system distributor `The X.Org Foundation', version 11.0.11600000 Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: C locale-coding-system: nil Major mode: Custom Minor modes in effect: show-paren-mode: t shell-dirtrack-mode: t yas-global-mode: t yas-minor-mode: t ido-ubiquitous-mode: t ido-everywhere: t winner-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: i m p o r t SPC i n s p e c t i n s p e . g e t s ( + + _ _ P Y D ( ) C-s s t a r t s w C-s C-s C-a C-SPC M-w C-s s e t u p SPC c o C-a C-s C-s C-a M-c C-g M-x r e p o r Recent messages: Quit End of buffer [9 times] Mark saved where search started Quit No match Making completion list... [3 times] Mark saved where search started Mark set Mark saved where search started [2 times] widget-before-change: Text is read-only: "Attempt to change text outside editable field" Quit Load-path shadows: ~/.emacs.d/lisp/rmail hides /usr/share/emacs/24.3.94/lisp/mail/rmail Features: (shadow sort gnus-util mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch pp cus-edit cus-start cus-load wid-edit vc-git python json server paredit edmacro kmacro paren cl-macs ob-python ob-R org byte-opt bytecomp byte-compile cconv org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug format-spec ess-roxy hideshow ess-help ess-developer ess-r-args eldoc ess-s-l ess ess-inf comint ansi-color ess-mode ess-noweb-mode ess-utils time-date ess-custom executable ess-compat ess-site yasnippet help-mode cl gv ido-ubiquitous cl-loaddefs cl-lib advice help-fns imenu-anywhere imenu ido windmove winner ring info easymenu package epg-config wombat-theme tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 255413 31287) (symbols 48 34750 0) (miscs 40 1843 1307) (strings 32 64264 12709) (string-bytes 1 1904291) (vectors 16 33810) (vector-slots 8 1414795 14406) (floats 8 622 276) (intervals 56 1466 439) (buffers 960 19) (heap 1024 54735 1274))