[Checkins] [zopefoundation/Products.ZCatalog] 2219ec: Fix "invalid escape sequence" warning. (#50)

GitHub noreply at github.com
Sat Dec 15 14:44:55 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Products.ZCatalog
  Commit: 2219eccdaa3318dab20a5decdbc70c94bf23fc89
      https://github.com/zopefoundation/Products.ZCatalog/commit/2219eccdaa3318dab20a5decdbc70c94bf23fc89
  Author: Jürgen Gmach <jugmac00 at users.noreply.github.com>
  Date:   2018-12-15 (Sat, 15 Dec 2018)

  Changed paths:
    M CHANGES.rst
    M src/Products/ZCTextIndex/tests/testZCTextIndex.py

  Log Message:
  -----------
  Fix "invalid escape sequence" warning. (#50)

Fix "invalid escape sequence" warning.

Beginning with Python 3.6 a DeprecationWarning is shown when an invalid
escape sequence is used. Converting the string into a raw string fixes
the problem.

cf
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

Fixes #49



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list