1. 31 Tem, 2018 5 kayıt (commit)
    • Serhiy Storchaka's avatar
      bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) · 9d572732
      Serhiy Storchaka yazdı
      * Fix integer overflow in os.readv(), os.writev(), os.preadv()
        and os.pwritev() and in os.sendfile() with headers or trailers
        arguments (on BSD-based OSes and MacOS).
      
      * Fix sending the part of the file in os.sendfile() on MacOS.
        Using the trailers argument could cause sending more bytes from
        the input file than was specified.
      
      Thanks Ned Deily for testing on 32-bit MacOS.
      9d572732
    • Serhiy Storchaka's avatar
      bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) · f1d36d8e
      Serhiy Storchaka yazdı
      * help(hashlib) didn't work because of incorrect module name in blake2b and
        blake2s classes.
      * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly
        accepted keyword argument "string" for binary data, but documented as
        accepting the "data" keyword argument. Now this parameter is positional-only.
      * Keyword-only parameters in blake2b() and blake2s() were not documented as
        keyword-only.
      * Default value for some parameters of blake2b() and blake2s() was None,
        which is not acceptable value.
      * The length argument for shake_*.digest() was wrapped out to 32 bits.
      * The argument for shake_128.digest() and shake_128.hexdigest() was not
        positional-only as intended.
      * TypeError messages for incorrect arguments in all constructors sha3_*(),
        shake_*() and keccak_*() incorrectly referred to sha3_224.
      
      Also made the following enhancements:
      
      * More accurately specified input and result types for strings, bytes and
        bytes-like objects.
      * Unified positional parameter names for update() and constructors.
      * Improved formatting.
      f1d36d8e
    • Serhiy Storchaka's avatar
      Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a generator… · 4b8a7f51
      Serhiy Storchaka yazdı
       Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a generator expression (GH-3771)" (#8241)
      
      This reverts commit af810b35.
      
      This is not valid syntax (see bpo-32012).
      4b8a7f51
    • Serhiy Storchaka's avatar
      bpo-1617161: Make the hash and equality of methods not depending on the value of self. (GH-7848) · ac20e0f9
      Serhiy Storchaka yazdı
      * The hash of BuiltinMethodType instances no longer depends on the hash
        of __self__. It depends now on the hash of id(__self__).
      * The hash and equality of ModuleType and MethodWrapperType instances no
        longer depend on the hash and equality of __self__. They depend now on
        the hash and equality of id(__self__).
      * MethodWrapperType instances no longer support ordering.
      ac20e0f9
    • INADA Naoki's avatar
  2. 30 Tem, 2018 6 kayıt (commit)
  3. 29 Tem, 2018 6 kayıt (commit)
  4. 28 Tem, 2018 9 kayıt (commit)
  5. 27 Tem, 2018 4 kayıt (commit)
  6. 26 Tem, 2018 10 kayıt (commit)