[Pkg-mpd-commits] [python-mpd] 125/262: document new unicode handling

Simon McVittie smcv at debian.org
Sun May 22 18:16:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch upstream
in repository python-mpd.

commit 1272ea10babe34798b57b857823cc5f4be886e35
Author: Jörg Thalheim <jthalheim at gmail.com>
Date:   Sat Mar 24 12:40:48 2012 +0100

    document new unicode handling
---
 README.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index b68b8f0..3db97d2 100644
--- a/README.md
+++ b/README.md
@@ -4,16 +4,18 @@ python-mpd2
 Difference with python-mpd
 --------------------------
 
-python-mpd2 is a fork of the python-mpd. It is backward compatible to python-mpd, so it could act as drop-in replacement.
+python-mpd2 is a fork of the python-mpd.
 Current features list:
 
  - python3 support (python2.6 is minimum python version required)
  - support for the upcoming client-to-client protocol
  - adding new commands of mpd v0.17 (seekcur, prio, prioid, config)
  - remove of deprecated commands (volume)
- - add explicit method declaration, so they are shown in ipython
+ - declare mpd commands explicit as method, so they are shown in ipython
  - add unit tests
  - documented API to add new commands (see Future Compatible)
+ - expect and returns unicode strings in all commands instead of unicode encoded strings,
+   so use u"♥" instead of "♥" in python2 - no change in python3 as it use unicode strings by default
 
 If you like this module, you could try contact the original author <jat at spatialrift.net> or join the discussion on the [issue tracker](http://jatreuman.indefero.net/p/python-mpd/issues/7/)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git



More information about the Pkg-mpd-commits mailing list