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
Message from discussion gevent py3
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
 
Colin Marc  
View profile  
 More options Mar 26 2012, 6:23 pm
From: Colin Marc <colinm...@gmail.com>
Date: Mon, 26 Mar 2012 15:23:27 -0700 (PDT)
Local: Mon, Mar 26 2012 6:23 pm
Subject: Re: gevent py3

I was playing around with this a bit today. It seems like, besides syntax,
the biggest problem is different signatures between 2 and 3. For example,
socket.makefile in 3.3 has a very different signature than 2.6, and uses
io.* objects internally instead of _fileobject (which has been removed).
Another example is the ssl library, which has new parameters and uses
SSLContext.wrap_socket to wrap sockets instead of ssl.wrap_socket(). The
list goes on.

What are your thoughts on how to handle this? It seems like you'd either
have to do big "if six.PY3: ... else: ..." blocks, or define completely
different modules and then select which one to import based on version.

On Thursday, March 8, 2012 2:19:25 PM UTC-5, Benoit Chesneau wrote:

> Hi guys,

> I've ported recently gunicorn to python 3.2/3.3 and wanted to port
> async workers as well. Is there any stable branch or mostly I should
> test these days? Do you envision to release the 1.0 with the python 3
> compatibility?

> By the way if any gevent dev is at pycon I would be happy to discuss
> about that with you :)

> Please, let me know.

> - benoît


 
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.