Mercurial > p > roundup > code
view website/www/contact.txt @ 5650:e8ca7072c629
Fix Python 3 issues in REST code.
* Need to use .get not .getheader for HTTP headers (see hg commit
fec18298ae02, "Python 3 preparation: HTTP headers handling in
roundup_server.py.").
* Need to use key not cmp with sort (see hg commit 3fa026621f69,
"Python 3 preparation: comparisons.").
* dispatch output must be bytes, not str, otherwise writing it to the
socket (e.g. in roundup-server) will fail.
This fixes issues shown up attempting to access the REST interface
with a browser with Python 3 (as opposed to with the Roundup
testsuite, which also has known REST issues with Python 3).
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Sun, 17 Mar 2019 16:25:36 +0000 |
| parents | b87a1f51ac32 |
| children | fefd8263ee4d |
line wrap: on
line source
Contact ======= We maintain the following mailing lists: =================== ========================== roundup-users_ archives `[SourceForge]`__ roundup-devel_ archives `[SourceForge]`__ roundup-checkins_ archives `[SourceForge]`__ =================== ========================== These lists are moderated to protect them against spam. Please sign up if you intend to mail repeatedly. You may talk to Roundup developers directly via IRC irc://irc.oftc.net/roundup using IRC client or through WebChat_ interface. .. _roundup-users: https://lists.sourceforge.net/lists/listinfo/roundup-users .. _roundup-devel: https://lists.sourceforge.net/lists/listinfo/roundup-devel .. _roundup-checkins: https://lists.sourceforge.net/lists/listinfo/roundup-checkins .. __: https://sourceforge.net/mailarchive/forum.php?forum_name=roundup-users .. __: https://sourceforge.net/mailarchive/forum.php?forum_name=roundup-devel .. __: https://sourceforge.net/mailarchive/forum.php?forum_name=roundup-checkins .. _WebChat: http://webchat.oftc.net/?randomnick=1&channels=roundup&prompt=1
