From 8e289e356c58cddef503f03e1f9d9a789d1532e8 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Sun, 26 Sep 2021 13:32:32 +1300 Subject: [PATCH] Release miniirc v1.7.0 --- CHANGELOG.md | 7 +++++-- README.md | 2 +- miniirc.py | 4 ++-- setup.py | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a23cf7..a27a5ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,15 @@ Notes: - This changelog may contain typographical errors, it is still a work-in-progress. -## 1.7.0 - Unreleased +## 1.7.0 - 2021-09-26 ### Added - The ability to make miniirc run handlers in thread pools using the - "executor" keyword argument. + "executor" keyword argument. I strongly recommend using this + (`executor=concurrent.futures.ThreadPoolExecutor()`) if you plan to support + Python 3.7 to 3.8 because of a memory leak + (see [BPO 36402](https://bugs.python.org/issue36402) for more information). ### Changed diff --git a/README.md b/README.md index 7a9f475..3431faa 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ You don't need to add every argument, and the `ip`, `port`, `nick`, and `channels` arguments should be specified as positional arguments. ```py -irc = miniirc.IRC('irc.example.com', 6697, 'my-bot', ['#my-channel'], ns_identity=('my-bot', 'hunter2')) +irc = miniirc.IRC('irc.example.com', 6697, 'my-bot', ['#my-channel'], ns_identity=('my-bot', 'hunter2'), executor=concurrent.futures.ThreadPoolExecutor()) ``` ### Parameter descriptions diff --git a/miniirc.py b/miniirc.py index 3f5e1d0..553332b 100755 --- a/miniirc.py +++ b/miniirc.py @@ -8,8 +8,8 @@ import atexit, errno, threading, time, socket, ssl, sys # The version string and tuple -ver = __version_info__ = (1,7,0,'a0') -version = 'miniirc IRC framework v1.7.0a0' +ver = __version_info__ = (1,7,0) +version = 'miniirc IRC framework v1.7.0' __version__ = '1.7.0' # __all__ and _default_caps diff --git a/setup.py b/setup.py index aa49204..1402449 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name = 'miniirc', - version = '1.6.3', + version = '1.7.0', py_modules = ['miniirc'], author = 'luk3yx', description = 'A lightweight IRC framework.',