Subject: CVS commit: pkgsrc/net/py-gevent
From: Adam Ciarcinski
Date: 2019-02-19 13:26:13
Message id: 20190219122614.0D5A2FB16@cvs.NetBSD.org

Log Message:
py-gevent: updated to 1.4.0

1.4.0:

- Build with Cython 0.29 in '3str' mode.

- Test with PyPy 6.0 on Windows.

- Add support for application-wide callbacks when Greenlet objects
  are started.

- Fix consuming a single ready object using
  next(gevent.iwait(objs)). Previously such a construction would
  hang because iter was not called.

- Make gevent.iwait return an iterator that can now also be used as
  a context manager. If you'll only be consuming part of the iterator,
  use it in a with block to avoid leaking resources.

- Fix semaphores to immediately notify links if they are ready and
  rawlink() is called. This behaves like Event and
  AsyncEvent. Note that the order in which semaphore links are
  called is not specified.

- Improve safety of handling exceptions during interpreter shutdown.

- Remove the deprecated ability to specify GEVENT_RESOLVER and
  other importable settings as a path/to/a/package.module.item.
  This had race conditions and didn't work with complicated resolver
  implementations. Place the required package or module on sys.path
  first.

- Reduce the chances that using the blocking monitor functionality
  could result in apparently random SystemError:
  Objects/tupleobject.c: bad argument to internal function.

- Refactored the gevent test runner and test suite to make them more
  reusable. In particular, the tests are now run with python -m
  gevent.tests.

- Make a monkey-patched socket.getaddrinfo return socket module
  enums instead of plain integers for the socket type and address
  family on Python 3.

- Make gevent's pywsgi server set the non-standard environment value
  wsgi.input_terminated to True.

- Make gevent.util.assert_switches produce more informative messages
  when the assertion fails.

- Python 2: If a gevent.socket was closed asynchronously (in a
  different greenlet or a hub callback), AttributeError could result
  if the socket was already in use. Now the correct socket.error
  should be raised.

- Fix :meth:gevent.threadpool.ThreadPool.join raising a
  UserWarning when using the libuv backend.

- Fix FileObjectPosix.seek raising OSError when it should have
  been IOError on Python 2.

- Upgrade libuv from 1.23.2 to 1.24.0.

Files:
RevisionActionfile
1.14modifypkgsrc/net/py-gevent/Makefile
1.10modifypkgsrc/net/py-gevent/PLIST
1.9modifypkgsrc/net/py-gevent/distinfo