Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Cython 0.17 beta 4 released - final release candidate
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stefan Behnel  
View profile  
 More options Aug 30 2012, 5:22 am
From: Stefan Behnel <stefan...@behnel.de>
Date: Thu, 30 Aug 2012 11:22:19 +0200
Local: Thurs, Aug 30 2012 5:22 am
Subject: Cython 0.17 beta 4 released - final release candidate
Hello everyone,

on behalf of the Cython project team, I'm proud to announce the release of
our fourth beta of Cython 0.17. Unless something truly unforseen happens,
this will become our final release. So please give it another test run
against your code.

Cython 0.17 is another major step forward in the development of the
language that will make life easier for a lot of users, rounds up some
rough edges of the compiler and adds (preliminary) support for CPython 3.3
and PyPy.

Download: http://cython.org/release/Cython-0.17b4.tar.gz

Release notes: http://wiki.cython.org/ReleaseNotes-0.17

Documentation: http://docs.cython.org/

Major features of this release include:

* vastly improved integration with the C++ STL containers

  http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html#standard...

  http://docs.cython.org/src/tutorial/strings.html#c-strings

* "yield from" delegation between generators (PEP 380)

  http://www.python.org/dev/peps/pep-0380/

* alpha quality support for PyPy (via cpyext)

  http://docs.cython.org/src/userguide/pypy.html

Several other features and improvements are listed in the release notes:

  http://wiki.cython.org/ReleaseNotes-0.17

Have fun,

Stefan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Czarek Tomczak  
View profile  
 More options Aug 30 2012, 9:35 am
From: Czarek Tomczak <czarek.tomc...@gmail.com>
Date: Thu, 30 Aug 2012 06:35:40 -0700 (PDT)
Local: Thurs, Aug 30 2012 9:35 am
Subject: Re: Cython 0.17 beta 4 released - final release candidate

Still getting error when compiling using Python 3.2, seems like a typo in
path to python.lib file, I've reported it earlier for the beta 3 release:
https://groups.google.com/forum/?fromgroups=#!topic/cython-users/Tute...

C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo

> /INCREMENTAL:NO /LIBPATH:./ "/LIBPATH:c:/Progr
> am Files/Microsoft SDKs/Windows/v7.1/Lib/" /LIBPATH:./../httpauth/Release/
> /LIBPATH:./../v8functionhandler/Release/ /LIB
> PATH:./../clienthandler/Release/ /LIBPATH:d:\python32\libs
> /LIBPATH:d:\python32\PCbuild libcef.lib libcef_dll_wrapper.li
> b User32.lib httpauth.lib v8functionhandler.lib clienthandler.lib
> /EXPORT:PyInit_cefpython build\temp.win32-3.2\Release\
> cefpython.obj /OUT:D:\cefpython\src\setup\cefpython.pyd
> /IMPLIB:build\temp.win32-3.2\Release\cefpython.lib /MANIFESTFILE
> :build\temp.win32-3.2\Release\cefpython.pyd.manifest /NODEFAULTLIB:libcmt
> /NODEFAULTLIB:msvcprt /ignore:4217
> *LINK : fatal error LNK1104: cannot open file 'python27.lib'*

Cheers,
Czarek.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Behnel  
View profile  
 More options Aug 30 2012, 9:41 am
From: Stefan Behnel <stefan...@behnel.de>
Date: Thu, 30 Aug 2012 15:41:52 +0200
Local: Thurs, Aug 30 2012 9:41 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate
Czarek Tomczak, 30.08.2012 15:35:

Ah, ok, I had assumed that this was a bug in your setup.py (or an otherwise
broken build configuration on your side).

Is the setup.py file available somewhere?

Stefan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Czarek Tomczak  
View profile  
 More options Aug 30 2012, 10:00 am
From: Czarek Tomczak <czarek.tomc...@gmail.com>
Date: Thu, 30 Aug 2012 07:00:25 -0700 (PDT)
Local: Thurs, Aug 30 2012 10:00 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate

It is cefpython project I'm compiling, setup.py is here:

http://code.google.com/p/cefpython/source/browse/setup/setup.py

It worked fine using Cython 0.16 & Python 3.2 so I don't think this is a
bug in my setup.

Czarek.

Ah, ok, I had assumed that this was a bug in your setup.py (or an otherwise


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Czarek Tomczak  
View profile  
 More options Aug 30 2012, 10:13 am
From: Czarek Tomczak <czarek.tomc...@gmail.com>
Date: Thu, 30 Aug 2012 07:13:04 -0700 (PDT)
Local: Thurs, Aug 30 2012 10:13 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate

Okay, don't bother this is most probably bug in clienthandler.lib that I'm
including, as I've just found "python27" references inside that .lib file:

> /DEFAULTLIB:"python27.lib"

And some others.

Czarek.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Czarek Tomczak  
View profile  
 More options Aug 30 2012, 11:28 am
From: Czarek Tomczak <czarek.tomc...@gmail.com>
Date: Thu, 30 Aug 2012 08:28:31 -0700 (PDT)
Local: Thurs, Aug 30 2012 11:28 am
Subject: Re: Cython 0.17 beta 4 released - final release candidate

This time I have a real bug, read on..

I've created a separate VS project for my clienthandler.cpp so that it now
creates 2 different libs - one for Python 2.7 and the other for Python 3.2,
and I've come into the same problem I've reported earlier for the beta 3
release:

https://groups.google.com/d/msg/cython-users/Tutevv3cSVc/fOuoGm1DZAIJ

> d:\cefpython\src\setup/cefpython.h(15) : error C3646:
> 'RequestHandler_OnBeforeBrowse' : unknown override specifier
> d:\cefpython\src\setup/cefpython.h(15) : error C2091: function returns
> function
> d:\cefpython\src\setup/cefpython.h(15) : error C4430: missing type
> specifier - int assumed. Note: C++ does not support default-int

These errors happen when you include "modulename.h" - the file that is
generated by Cython, for functions that have "public" declaration.

Functions in this file are declared this way:

__PYX_EXTERN_C DL_IMPORT(bool)

> RequestHandler_OnBeforeBrowse(CefRefPtr<CefBrowser>, CefRefPtr<CefFrame>,
> CefRefPtr<CefRequest>, enum cef_handler_navtype_t, bool);

These errors about "unknown override specifier" are happening because:

*DL_IMPORT is not defined in Python 3.2 sources.*

In Python 2.7 in Python.h you have:

#ifndef DL_IMPORT /* declarations for DLL import/export */

> #define DL_IMPORT(RTYPE) RTYPE
> #endif
> #ifndef DL_EXPORT /* declarations for DLL import/export */
> #define DL_EXPORT(RTYPE) RTYPE
> #endif

But in Python 3.2 there are no such defines.

The solution would be to add the definitions above to the "modulename.h".

Cheers,
Czarek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »