1. 04 Feb, 2016 3 commits
  2. 02 Feb, 2016 2 commits
    • Zachary Ware's avatar
      Fix typo. · 3df11b2b
      Zachary Ware authored
      Reported by Jon Tetlak on docs@
      3df11b2b
    • Serhiy Storchaka's avatar
      Issue #25945: Fixed bugs in functools.partial. · 38741285
      Serhiy Storchaka authored
      Fixed a crash when unpickle the functools.partial object with wrong state.
      Fixed a leak in failed functools.partial constructor.
      "args" and "keywords" attributes of functools.partial have now always types
      tuple and dict correspondingly.
      38741285
  3. 03 Feb, 2016 1 commit
  4. 02 Feb, 2016 1 commit
  5. 01 Feb, 2016 2 commits
  6. 02 Feb, 2016 1 commit
    • Martin Panter's avatar
      Issue #19587: Remove masked and redundant tests in test_bytes · 275bd96a
      Martin Panter authored
      * test_contains() did not override anything
      * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests
        in string_tests. These tests now get run for bytearray() and bytes().
      * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray()
        and are redundant with string_tests
      275bd96a
  7. 01 Feb, 2016 1 commit
    • Martin Panter's avatar
      Issue #26173: Separate bad cert file tests and client rejection test · 3464ea28
      Martin Panter authored
      Test test_wrong_cert() runs a server that rejects the client's certificate,
      so ECONNRESET is reasonable in addition to SSLError. On the other hand, the
      other three tests don't even need to run a server because they are just
      testing the parsing of invalid certificate files.
      
      Also fix a ResourceWarning by closing the wrapped socket.
      3464ea28
  8. 31 Jan, 2016 1 commit
    • Victor Stinner's avatar
      Enhance os.scandir() doc · 5f0c5d92
      Victor Stinner authored
      Issue #26248, patch written by Ben Hoyt:
      
      1) Clarify that the return values of is_dir()/is_file()/etc are cached
         separately for follow_symlinks True and False.
      2) Be more specific about when the functions require a system call, and how it
         relates to caching and follow_symlinks.
      3) DRY up common stuff between is_dir and is_file by saying "Caching, system
         calls made, and exceptions raised are as per is_dir" in is_file.
      4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume
         the follow_symlinks=True default, then note the follow_symlinks=False
         non-default case after.
      5f0c5d92
  9. 30 Jan, 2016 5 commits
  10. 31 Jan, 2016 1 commit
  11. 30 Jan, 2016 2 commits
  12. 28 Jan, 2016 8 commits
  13. 29 Jan, 2016 1 commit
  14. 28 Jan, 2016 3 commits
  15. 29 Jan, 2016 1 commit
  16. 27 Jan, 2016 3 commits
  17. 26 Jan, 2016 1 commit
  18. 22 Jan, 2016 3 commits
    • Brett Cannon's avatar
      Fix a typo in a code example · 3bf1d87b
      Brett Cannon authored
      3bf1d87b
    • Victor Stinner's avatar
      doc: i18n HTML templates · 875f29aa
      Victor Stinner authored
      Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of
      the documentation. The tag comes from Jinja templating system, used by Sphinx.
      
      Patch written by Julien Palard.
      875f29aa
    • Victor Stinner's avatar
      code_richcompare() now uses the constants types · 3cdd5fb9
      Victor Stinner authored
      Issue #25843: When compiling code, don't merge constants if they are equal but
      have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
      correctly compiled to two different functions: f1() returns 1 (int) and f2()
      returns 1.0 (int), even if 1 and 1.0 are equal.
      
      Add a new _PyCode_ConstantKey() private function.
      3cdd5fb9