[Checkins] [zopefoundation/Products.PythonScripts] cf855e: - ignore mr.developer artifacts

GitHub noreply at github.com
Wed May 24 17:57:37 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Products.PythonScripts
  Commit: cf855e9be1121c216a4dbc43c8b48d31b474fbf2
      https://github.com/zopefoundation/Products.PythonScripts/commit/cf855e9be1121c216a4dbc43c8b48d31b474fbf2
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  - ignore mr.developer artifacts


  Commit: 8840d114f6068693e57d1092f77b5f8948bbf3e4
      https://github.com/zopefoundation/Products.PythonScripts/commit/8840d114f6068693e57d1092f77b5f8948bbf3e4
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M src/Products/PythonScripts/__init__.py

  Log Message:
  -----------
  - fix up relative import


  Commit: eb754a48712cf5deed3bd61fe10d231a35f06d41
      https://github.com/zopefoundation/Products.PythonScripts/commit/eb754a48712cf5deed3bd61fe10d231a35f06d41
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M src/Products/PythonScripts/PythonScript.py

  Log Message:
  -----------
  Python 2 and 3 compatibility

- use urllib.quote from six
- replace `new` module usage for creating new functions with the
  recommended call to `types.FunctionType`
- `func_code` --> `__code__`
- `func_defaults` -->  `__defaults__`
- use exec notation compatible with both Python 2.7 and 3
- wrap dictionary `keys()` result in `list` call


Compare: https://github.com/zopefoundation/Products.PythonScripts/compare/987c21849e98...eb754a48712c


More information about the checkins mailing list