<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/urwid.git/docs, branch master</title>
<subtitle>github.com: wardi/urwid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/'/>
<entry>
<title>[BREAKING CHANGE] Refactoring: Split event loop in several modules (#537)</title>
<updated>2023-04-18T15:35:19+00:00</updated>
<author>
<name>Alexey Stepanov</name>
<email>penguinolog@users.noreply.github.com</email>
</author>
<published>2023-04-18T15:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=d1710f0983e86dc5ec06efec6e94f3b6d204bbb3'/>
<id>d1710f0983e86dc5ec06efec6e94f3b6d204bbb3</id>
<content type='text'>
* [BREAKING CHANGE] Refactoring: Split event loop in several modules

* `urwid.main_loop` is split into multiple modules which is easier to maintain
* `urwid.compat` is not used anymore and removed
* `TornadoEventLoop`, `GLibEventLoop`, `TwistedEventLoop` and `TrioEventLoop`
  accessible ONLY if required dependencies installed
  (like: Tornado installed -&gt; `TornadoEventLoop` is accessible for import)
* `TornadoEventLoop` use the same idle logic as `AsyncioLoop`:
  tornado.ioloop.IOLoop is asyncio based.
* Trio &lt; 0.15 is not supported. Version 0.15 was released almost 3 years ago.
* Tornado &lt; 5.0 is not supported. Tornado 5.0 was released 5 years ago.

* Remove useless shebang

* `EventLoop` should be real abstract
* add new module docstrings

* Fix docstrings

* remove unneeded import

---------

Co-authored-by: Aleksei Stepanov &lt;alekseis@nvidia.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [BREAKING CHANGE] Refactoring: Split event loop in several modules

* `urwid.main_loop` is split into multiple modules which is easier to maintain
* `urwid.compat` is not used anymore and removed
* `TornadoEventLoop`, `GLibEventLoop`, `TwistedEventLoop` and `TrioEventLoop`
  accessible ONLY if required dependencies installed
  (like: Tornado installed -&gt; `TornadoEventLoop` is accessible for import)
* `TornadoEventLoop` use the same idle logic as `AsyncioLoop`:
  tornado.ioloop.IOLoop is asyncio based.
* Trio &lt; 0.15 is not supported. Version 0.15 was released almost 3 years ago.
* Tornado &lt; 5.0 is not supported. Tornado 5.0 was released 5 years ago.

* Remove useless shebang

* `EventLoop` should be real abstract
* add new module docstrings

* Fix docstrings

* remove unneeded import

---------

Co-authored-by: Aleksei Stepanov &lt;alekseis@nvidia.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Python 37+ initial migration (#522)</title>
<updated>2023-03-31T15:08:50+00:00</updated>
<author>
<name>Alexey Stepanov</name>
<email>penguinolog@users.noreply.github.com</email>
</author>
<published>2023-03-31T15:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=ea7e615ef5ee0897f66210f47ab6390889d7b313'/>
<id>ea7e615ef5ee0897f66210f47ab6390889d7b313</id>
<content type='text'>
* Initial migration to the python 3.7: Semi-automatic changes

CI related:
Update `tox.ini` and `.travis.yml` to run python3 only tests
Python 3.11 tests is commented-out on travis until #517 is not merged

Manual changes:
* `setup.py`: classifiers, remove python2 compatibility code
* `docs/manual/wcur2.py`: looks like file was never completed, syntax is invalid
* `urwid.compat`: removed `ord2`, `bytes3`, `text_type`, `xrange` and `text_types`

Automatic changes (no manual editing, AST validated equality:
* removed `u` prefix from all strings: not allowed in modern python code
* `bytes()` -&gt; `b''`
* `== None` -&gt; `is None`
* subclassing of `object`
* `super(&lt;Class&gt;`, self&gt;)` -&gt;`super()`
* `from __future__ import ...` python3 compatibility imports
* `set(&lt;Iterable[Hashable]&gt;)` -&gt; `{&lt;Hashable&gt;}`
* partial f-strings conversion
* (`IOError`, `select.error`, `socket.error`) -&gt; `OSError`

* Switch to f-strings (automatic changes)

* Remove `urwid.compat.B`

* Remove `urwid.compat.with_metaclass`

* use native `super()` instead of `self.__super`

* Remove `urwid.compat.chr2`

* Remove `urwid.split_repr.python3_repr`

* Use native `@classmethod` and `@property` where overload is not possible

* Add `from __future__ import annotations`

* automatically sort imports

* Add DeprecationWarning to the deprecated methods

most IDE's will recognize it and annotate during new code usage
call with "warnings as errors" mode will help to refactor other users

* Address comments

* replace homepage address in all files
* remove outdated comments in compat.py
* make wcur2.py correct python code. For example subclass
* replace `self.__super` by `super()` in examples
* fix asyncio_socket_server.py: magic with `asyncio` became wrong

* Remove `widget.update_wrapper`: this was backport of python `functools.update_wrapper`

* display_common.py: fix trivial typo in _colors calculation

* use `sorted` method instead of list construction with later sorting

* Address comments

* `wcur2` include in docs
* warning on `signals.Signals.emit`

---------

Co-authored-by: Aleksei Stepanov &lt;alekseis@nvidia.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Initial migration to the python 3.7: Semi-automatic changes

CI related:
Update `tox.ini` and `.travis.yml` to run python3 only tests
Python 3.11 tests is commented-out on travis until #517 is not merged

Manual changes:
* `setup.py`: classifiers, remove python2 compatibility code
* `docs/manual/wcur2.py`: looks like file was never completed, syntax is invalid
* `urwid.compat`: removed `ord2`, `bytes3`, `text_type`, `xrange` and `text_types`

Automatic changes (no manual editing, AST validated equality:
* removed `u` prefix from all strings: not allowed in modern python code
* `bytes()` -&gt; `b''`
* `== None` -&gt; `is None`
* subclassing of `object`
* `super(&lt;Class&gt;`, self&gt;)` -&gt;`super()`
* `from __future__ import ...` python3 compatibility imports
* `set(&lt;Iterable[Hashable]&gt;)` -&gt; `{&lt;Hashable&gt;}`
* partial f-strings conversion
* (`IOError`, `select.error`, `socket.error`) -&gt; `OSError`

* Switch to f-strings (automatic changes)

* Remove `urwid.compat.B`

* Remove `urwid.compat.with_metaclass`

* use native `super()` instead of `self.__super`

* Remove `urwid.compat.chr2`

* Remove `urwid.split_repr.python3_repr`

* Use native `@classmethod` and `@property` where overload is not possible

* Add `from __future__ import annotations`

* automatically sort imports

* Add DeprecationWarning to the deprecated methods

most IDE's will recognize it and annotate during new code usage
call with "warnings as errors" mode will help to refactor other users

* Address comments

* replace homepage address in all files
* remove outdated comments in compat.py
* make wcur2.py correct python code. For example subclass
* replace `self.__super` by `super()` in examples
* fix asyncio_socket_server.py: magic with `asyncio` became wrong

* Remove `widget.update_wrapper`: this was backport of python `functools.update_wrapper`

* display_common.py: fix trivial typo in _colors calculation

* use `sorted` method instead of list construction with later sorting

* Address comments

* `wcur2` include in docs
* warning on `signals.Signals.emit`

---------

Co-authored-by: Aleksei Stepanov &lt;alekseis@nvidia.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use non deprecated template (#424)</title>
<updated>2023-03-31T13:29:37+00:00</updated>
<author>
<name>Jochen Sprickerhof</name>
<email>git@jochen.sprickerhof.de</email>
</author>
<published>2023-03-31T13:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=07621f1c8cc8bd88e55a3c3e48861c65f293b3f1'/>
<id>07621f1c8cc8bd88e55a3c3e48861c65f293b3f1</id>
<content type='text'>
defindex.html was deprecated a long time ago, see

https://github.com/python/cpython/commit/7970cd483346dfd7723da214fb27399ecc574095

for example.

Co-authored-by: Jochen Sprickerhof &lt;jspricke@debian.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
defindex.html was deprecated a long time ago, see

https://github.com/python/cpython/commit/7970cd483346dfd7723da214fb27399ecc574095

for example.

Co-authored-by: Jochen Sprickerhof &lt;jspricke@debian.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix typo</title>
<updated>2022-07-12T12:43:47+00:00</updated>
<author>
<name>Casey Jones</name>
<email>github@doctorcolossus.e4ward.com</email>
</author>
<published>2022-01-02T11:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=58f16c778c694fbc567e791459d4beb59b857cfc'/>
<id>58f16c778c694fbc567e791459d4beb59b857cfc</id>
<content type='text'>
"will be have" → "will have"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"will be have" → "will have"</pre>
</div>
</content>
</entry>
<entry>
<title>Update index.rst</title>
<updated>2022-07-12T12:42:18+00:00</updated>
<author>
<name>Asiel Díaz Benítez</name>
<email>adbenitez@nauta.cu</email>
</author>
<published>2022-05-27T03:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=7ecda9d85851dbbf7efa7ba2158c0e4459797426'/>
<id>7ecda9d85851dbbf7efa7ba2158c0e4459797426</id>
<content type='text'>
fix small typo in tutorial</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix small typo in tutorial</pre>
</div>
</content>
</entry>
<entry>
<title>Update changelog for Urwid 2.1.2</title>
<updated>2020-09-26T20:10:58+00:00</updated>
<author>
<name>Tony Cebzanov</name>
<email>tonycpsu@gmail.com</email>
</author>
<published>2020-09-26T20:10:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=59457f80e1343289bf3f9b5e65a006b4fb927d8e'/>
<id>59457f80e1343289bf3f9b5e65a006b4fb927d8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update changelog for Urwid 2.1.1</title>
<updated>2020-07-26T23:36:09+00:00</updated>
<author>
<name>Tony Cebzanov</name>
<email>tonycpsu@gmail.com</email>
</author>
<published>2020-07-26T23:36:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=31dcafe2126bc4b1b0529344573842c56510dd5b'/>
<id>31dcafe2126bc4b1b0529344573842c56510dd5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop support for py34</title>
<updated>2020-03-07T22:19:51+00:00</updated>
<author>
<name>Andrey Semakin</name>
<email>and-semakin@ya.ru</email>
</author>
<published>2020-01-29T06:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=c7342a76cfe1ce0f8a570275889f9797f6d9680a'/>
<id>c7342a76cfe1ce0f8a570275889f9797f6d9680a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changelog updates for 2.1.0. release.</title>
<updated>2019-11-13T22:01:44+00:00</updated>
<author>
<name>Tony Cebzanov</name>
<email>tonycpsu@gmail.com</email>
</author>
<published>2019-11-13T22:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=edb5c6f8e4b90da465cef6291c0833e573bc2516'/>
<id>edb5c6f8e4b90da465cef6291c0833e573bc2516</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes to sphinx conf to enable building docs with Sphinx &gt;= 2.0.</title>
<updated>2019-11-13T21:40:17+00:00</updated>
<author>
<name>Tony Cebzanov</name>
<email>tonycpsu@gmail.com</email>
</author>
<published>2019-11-13T21:40:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/urwid.git/commit/?id=748f84a88fc4b7cc11d58ef4145398b38a636144'/>
<id>748f84a88fc4b7cc11d58ef4145398b38a636144</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
