--bYfm1zvCpf Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit I forward this along for the folks here who don't see c.l.py but can address this issue. Skip --bYfm1zvCpf Content-Type: message/rfc822 Content-Description: forwarded message Content-Transfer-Encoding: 7bit Return-Path: <python-list-admin@python.org> Received: from localhost [127.0.0.1] by localhost with POP3 (fetchmail-6.1.0) for skip@localhost (single-drop); Wed, 22 Jan 2003 18:30:33 -0600 (CST) Received: from kumquat.pobox.com (kumquat.pobox.com [64.119.218.68]) by manatee.mojam.com (8.12.1/8.12.1) with ESMTP id h0MNdh9d021063 for <skip@manatee.mojam.com>; Wed, 22 Jan 2003 17:39:43 -0600 Received: from kumquat.pobox.com (localhost.localdomain [127.0.0.1]) by kumquat.pobox.com (Postfix) with ESMTP id 0356059EEE for <skip@manatee.mojam.com>; Wed, 22 Jan 2003 18:39:43 -0500 (EST) Delivered-To: skip@pobox.com Received: from mail.python.org (mail.python.org [12.155.117.29]) by kumquat.pobox.com (Postfix) with ESMTP id F360045B7D for <skip@pobox.com>; Wed, 22 Jan 2003 18:39:41 -0500 (EST) Received: from localhost.localdomain ([127.0.0.1] helo=mail.python.org) by mail.python.org with esmtp (Exim 4.05) id 18bUSy-0006SW-00; Wed, 22 Jan 2003 18:39:32 -0500 Received: from gusto.araneus.fi ([204.152.186.164]) by mail.python.org with esmtp (Exim 4.05) id 18bURK-00060v-00 for python-list@python.org; Wed, 22 Jan 2003 18:37:50 -0500 Received: from guava.araneus.fi (adsl-63-197-0-204.dsl.snfc21.pacbell.net [63.197.0.204]) by gusto.araneus.fi (8.11.6/8.11.6) with ESMTP id h0MNaRZ20494; Wed, 22 Jan 2003 15:36:27 -0800 (PST) Received: (from gson@localhost) by guava.araneus.fi (8.11.6/8.11.6) id h0MNaRe29779; Wed, 22 Jan 2003 15:36:27 -0800 (PST) Message-Id: <200301222336.h0MNaRe29779@guava.araneus.fi> Errors-To: python-list-admin@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.0.13 (101270) Precedence: bulk List-Help: <mailto:python-list-request@python.org?subject=help> List-Post: <mailto:python-list@python.org> List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <http://mail.python.org/pipermail/python-list/> X-Spambayes-Debug: '*H*': 1.00; '*S*': 0.00; 'python': 0.00; 'namespace': 0.00; 'header': 0.01; 'extern': 0.01; 'url:)': 0.01; 'typedef': 0.01; 'int': 0.01; 'url:python-list': 0.02; 'url:listinfo': 0.02; 'to:addr:python-list': 0.02; 'url:python': 0.02; 'url:sourceforge': 0.02; 'andreas': 0.02; 'url:mailman': 0.02; 'defines': 0.02; 'polluting': 0.03; 'symbols': 0.04; 'threads': 0.04; 'seems': 0.05; 'to:addr:python.org': 0.05; 'url:org': 0.07; 'python.h,': 0.07; 'header:Errors-To:1': 0.07; 'header:Received:8': 0.07; 'url:mail': 0.09; '*));': 0.09; 'fixed?': 0.09; 'library': 0.10; 'file': 0.10; "shouldn't": 0.11; "i'm": 0.14; 'trying': 0.17; 'something': 0.22; 'similar': 0.22; 'but': 0.24; 'skip:" 10': 0.26; 'subject:space': 0.26; 'there': 0.27; 'common': 0.28; 'should': 0.29; 'having': 0.29; 'way,': 0.30; 'does': 0.30; 'skip:s 10': 0.31; 'line': 0.32; 'instead': 0.32; 'problems': 0.32; 'way': 0.33; 'fact': 0.33; 'skip:( 10': 0.36; 'after': 0.38; 'that': 0.39; 'other': 0.39; 'also': 0.39; 'example,': 0.39; 'due': 0.62; 'header:Message-Id:1': 0.70; 'url:': 0.86; 'subject:Name': 0.86 From: gson@nominum.com (Andreas Gustafsson) Sender: python-list-admin@python.org To: python-list@python.org Subject: Name space pollution Date: Wed, 22 Jan 2003 15:36:27 -0800 (PST) X-Spambayes-Classification: ham; 0.00 I'm trying to get Python to coexist with the State Threads library (http://state-threads.sourceforge.net/), but I'm having problems due to the fact that Python defines the word "destructor" as a typedef. Specifically, after including Python.h, the following line in the State Threads header file st.h does not compile: extern int st_key_create(int *keyp, void (*destructor)(void *)); It seems to me that Python should not be polluting the namespace this way - shouldn't the Python typedef be something like PyDestructor instead of just "destructor"? Python also pollutes a number of other common symbols in a similar way, for example, "cmpfunc", "hashfunc", and "initproc". Is there any chance this will be fixed? -- Andreas Gustafsson, gson@nominum.com -- http://mail.python.org/mailman/listinfo/python-list --bYfm1zvCpf--
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4