Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #770

ANN: gcc-python-plugin 0.11

Path csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dmalcolm@redhat.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'warnings': 0.03; 'interpreter': 0.04; 'compiler': 0.05; 'cpython': 0.05; 'fixes': 0.05; 'implements': 0.07; 'makefile': 0.07; 'received:10.16': 0.07; 'subject:ANN': 0.07; 'compiler.': 0.09; 'errors:': 0.09; 'symbols': 0.09; 'tarball': 0.09; 'url:releases': 0.09; 'subject:python': 0.11; 'static': 0.13; 'malcolm': 0.16; 'detect': 0.17; 'passes': 0.17; 'versions': 0.20; 'changes': 0.20; 'skip:= 10': 0.20; 'gcc': 0.22; "i've": 0.23; 'skip:" 20': 0.26; 'bugs': 0.27; 'language.': 0.27; 'c++': 0.27; "doesn't": 0.28; '(since': 0.29; 'usable': 0.29; 'source': 0.29; 'notes': 0.30; 'at:': 0.31; 'code': 0.31; 'builds': 0.33; 'software,': 0.35; 'url:org': 0.36; 'should': 0.36; 'skip:p 20': 0.36; 'does': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'received:10': 0.38; 'url:en': 0.38; 'description': 0.39; 'to:addr:python.org': 0.39; 'release': 0.39; 'subject:-': 0.40; 'enable': 0.60; 'url:index': 0.61; 'free': 0.61; 'to:2**2': 0.62; 'skip:n 10': 0.63; 'within': 0.64; 'improvements': 0.65; 'to:addr:python-announce-list': 0.65; 'url:0': 0.67; 'to:no real name:2**2': 0.69; 'analysis': 0.70; 'url:11': 0.71; 'url:c': 0.77; '(help': 0.84; '4.6': 0.84; '4.7': 0.84; 'checker': 0.84; 'extensions.': 0.84; 'plugins': 0.84; 'ships': 0.84; '4.8': 0.91; 'homepage': 0.91; 'onwards': 0.91; 'sfxlen:1': 0.91
Subject ANN: gcc-python-plugin 0.11
From David Malcolm <dmalcolm@redhat.com>
To gcc@gcc.gnu.org, gcc-python-plugin@lists.fedorahosted.org, python-announce-list@python.org
Date Thu, 29 Nov 2012 14:52:28 -0500
Content-Type text/plain; charset="UTF-8"
Mime-Version 1.0
Content-Transfer-Encoding 8bit
X-Scanned-By MIMEDefang 2.67 on 10.5.11.11
X-Mailman-Approved-At Fri, 30 Nov 2012 19:05:12 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.388.1354298713.29569.python-announce-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1354298713 news.xs4all.nl 6987 [2001:888:2000:d::a6]:56072
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:770

Show key headers only | View raw


gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the
CPython interpreter within GCC, allowing you to write new compiler
warnings in Python, generate code visualizations, etc.

It ships with "gcc-with-cpychecker", which implements static analysis
passes for GCC aimed at finding bugs in CPython extensions.  In
particular, it can automatically detect reference-counting errors:
  http://gcc-python-plugin.readthedocs.org/en/latest/cpychecker.html

What's new in 0.11?
===================

The main change in this release is support for compiling the plugin with
a C++ compiler. Recent versions of GCC 4.7 are now built with C++ rather
than C, meaning that plugins must also be built with C++ (since all of
GCC’s internal symbols are name-mangled). This release fixes the
plugin’s Makefile so that it autodetects whether the plugin needs to be
built with a C or C++ compiler and (I hope) does the right thing
automatically. I've also made the necessary changes to the C source code
of the plugin so that it is compilable as either language.

This should enable the plugin to now be usable with recent builds of gcc
4.7.* (along with gcc 4.6).

The plugin doesn't yet support gcc 4.8 prereleases (help would be
appreciated!)

For a description of the other improvements in 0.11, detailed release
notes can be seen at:
  http://gcc-python-plugin.readthedocs.org/en/latest/0.11.html

Tarball releases are available at:
  https://fedorahosted.org/releases/g/c/gcc-python-plugin/

Prebuilt-documentation can be seen at:
  http://gcc-python-plugin.readthedocs.org/en/latest/index.html

The project's homepage is:
  https://fedorahosted.org/gcc-python-plugin/

The plugin and checker are Free Software, licensed under the GPLv3 or
later.

Enjoy!
Dave Malcolm

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: gcc-python-plugin 0.11 David Malcolm <dmalcolm@redhat.com> - 2012-11-29 14:52 -0500

csiph-web