Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
895f093d
Commit
895f093d
authored
Feb 25, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More on whatsnew docs. [skip ci]
parent
b587487b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
13 deletions
+50
-13
doc/whatsnew_1_1.rst
doc/whatsnew_1_1.rst
+44
-12
gevent/_fileobjectposix.py
gevent/_fileobjectposix.py
+6
-1
No files found.
doc/whatsnew_1_1.rst
View file @
895f093d
...
...
@@ -4,15 +4,14 @@
Detailed information an what has changed is available in the
:doc:`changelog`. This document summarizes the most important changes
since
gevent 1.0.2
.
since
:doc:`gevent 1.0.2 <whatsnew_1_0>`
.
Platform Support
================
Broader
Platform Support
================
========
gevent 1.1 supports Python 2.6, 2.7, 3.3, and 3.4 on the CPython
(`python.org`_) interpreter. It also supports `PyPy`_ 2.6.1 and above (with
best results being obtained on PyPy 4.0.1 and above); PyPy3 is not
supported.
(`python.org`_) interpreter. It also supports `PyPy`_ 2.6.1 and above
(PyPy 4.0.1 or higher is recommended); PyPy3 is not supported.
Support for Python 2.5 was removed when support for Python 3 was
added. Any further releases in the 1.0.x line will maintain support
...
...
@@ -35,12 +34,14 @@ PyPy Notes
----------
PyPy has been tested on OS X and 64-bit Linux from version 2.6.1
through 4.0.0 and 4.0.1.
through 4.0.0 and 4.0.1
, and on 32-bit ARM on Raspbian with version 4.0.1
.
.. note:: PyPy is not supported on Windows. (gevent'
s
CFFI
backend
is
not
available
on
Windows
.)
-
Version
2.6.1
or
above
is
required
for
proper
signal
handling
.
Prior
-
Version
4.0.1
or
above
is
**
highly
recommended
**
due
to
its
extensive
bug
fixes
relative
to
earlier
versions
.
-
Version
2.6.1
or
above
is
**
required
**
for
proper
signal
handling
.
Prior
to
2.6.1
and
its
inclusion
of
`
cffi
1.3.0
`
_
,
signals
could
be
delivered
incorrectly
or
fail
to
be
delivered
during
a
blocking
operation
.
(
PyPy
2.5.0
includes
CFFI
0.8.6
while
2.6.0
has
1.1.0
;
...
...
@@ -53,7 +54,8 @@ through 4.0.0 and 4.0.1.
Things
that
are
known
or
expected
to
be
(
relatively
)
slower
under
PyPy
include
the
:
mod
:`
c
-
ares
resolver
<
gevent
.
resolver_ares
>`
and
:
class
:`~
gevent
.
lock
.
Semaphore
`.
Whether
or
not
these
matter
will
depend
on
the
workload
of
each
application
.
depend
on
the
workload
of
each
application
(:
pr
:`
708
`
mentions
some
specific
benchmarks
for
``
Semaphore
``).
..
caution
::
The
``
c
-
ares
``
resolver
is
considered
highly
experimental
under
PyPy
and
is
not
recommended
for
production
use
.
...
...
@@ -75,6 +77,32 @@ through 4.0.0 and 4.0.1.
..
_1
.2.0
:
https
://
cffi
.
readthedocs
.
org
/
en
/
latest
/
whatsnew
.
html
#
v1
-
2
-
0
..
_a
bug
:
https
://
bitbucket
.
org
/
pypy
/
pypy
/
issues
/
2149
/
memory
-
leak
-
for
-
python
-
subclass
-
of
-
cpyext
Operating
Systems
-----------------
gevent
is
regularly
built
and
tested
on
Mac
OS
X
,
Ubuntu
Linux
,
and
Windows
,
in
both
32
-
and
64
-
bit
configurations
.
All
three
platforms
are
primarily
tested
on
the
x86
/
amd64
architecture
,
while
Linux
is
also
occasionally
tested
on
Raspian
on
ARM
.
In
general
,
gevent
should
work
on
any
platform
that
both
Python
and
`
libev
support
`
_
.
However
,
some
less
commonly
used
platforms
may
require
tweaks
to
the
gevent
source
code
or
user
environment
to
compile
(
e
.
g
.,
`
SmartOS
`
_
).
Also
,
due
to
differences
in
things
such
as
timing
,
some
platforms
may
not
be
able
to
fully
pass
gevent
's
extensive test suite (e.g., `OpenBSD`_).
.. _libev support: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#PORTABILITY_NOTES
.. _SmartOS: https://github.com/gevent/gevent/pull/711
.. _OpenBSD: https://github.com/gevent/gevent/issues/737
Bug Fixes
=========
Since 1.0.2, gevent 1.1 contains over 600 commits from nearly two
dozen contributors. Over 200 issues were closed, and over 50 pull
requests were merged.
Improved subprocess support
===========================
...
...
@@ -133,8 +161,9 @@ determine if something has been monkey patched.
API
Additions
=============
Numerous APIs offer slightly expanded functionality in this version. Highlights
include:
Numerous
APIs
offer
slightly
expanded
functionality
in
this
version
.
Look
for
"changed in version 1.1"
or
"added in version 1.1"
throughout
the
documentation
for
specifics
.
Highlights
include
:
-
A
gevent
-
friendly
version
of
:
obj
:`
select
.
poll
`
(
on
platforms
that
implement
it
).
...
...
@@ -168,6 +197,7 @@ include:
errors
in
either
the
client
or
the
WSGI
application
,
fixing
several
hangs
or
HTTP
protocol
violations
.
It
also
supports
new
functionality
such
as
configurable
error
handling
and
logging
.
-
Documentation
has
been
expanded
and
clarified
.
Library
Updates
===============
...
...
@@ -253,4 +283,6 @@ reduce the cases of undocumented or non-standard behaviour.
same stdlib method in Python 3.
- The previously undocumented class
``
gevent
.
fileobject
.
SocketAdapter
``
has
been
removed
.
``gevent.fileobject.SocketAdapter`` has been removed, as have the
internal ``gevent._util`` module and some internal implementation modules
found in early pre-releases of 1.1.
gevent/_fileobjectposix.py
View file @
895f093d
...
...
@@ -169,8 +169,13 @@ class FileObjectPosix(object):
.. tip::
Although this object provides a :meth:`fileno` method and
so can itself be passed to :func:`fcntl.fcntl`, setting the
:data:`os.O_NONBLOCK` flag will have no effect;
likewise
, removing
:data:`os.O_NONBLOCK` flag will have no effect;
however
, removing
that flag will cause this object to no longer be cooperative.
.. versionchanged:: 1.1
Now uses the :mod:`io` package internally. Under Python 2, previously
used the undocumented class :class:`socket._fileobject`. This provides
better file-like semantics (and portability to Python 3).
"""
#: platform specific default for the *bufsize* parameter
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment