Skip to content
Snippets Groups Projects
  1. Jun 29, 2020
  2. Mar 25, 2016
    • Laurent Bachelier's avatar
      Fix irk for Python 3 and Unicode input · 0764f07c
      Laurent Bachelier authored
      There were several issues:
      - json.dumps does not have an encoding parameter in Python 3.
      - Forcing the json.dumps encoding to ASCII prevents any non-ASCII
        character in the message. To avoid having non-ASCII characters in the
        *dump*, the only needed parameter is ensure_ascii=True which is the
        default.
      - To coerce a str to bytes in Python 3, an encoding must be provided
        even when it only contains ASCII characters.
        The solution is to use the encode() method which is available in both
        versions.
      0764f07c
  3. Feb 18, 2016
  4. Jan 27, 2016
  5. Nov 22, 2015
  6. Oct 17, 2015
  7. Apr 02, 2015
  8. Jun 15, 2014
  9. May 30, 2014
  10. Dec 01, 2013
  11. Nov 30, 2013
  12. Nov 27, 2013
  13. May 17, 2013
  14. Oct 10, 2012
  15. Oct 07, 2012
  16. Oct 06, 2012
  17. Oct 05, 2012
Loading