1. 13 Dec, 2017 6 commits
  2. 12 Dec, 2017 10 commits
  3. 11 Dec, 2017 8 commits
  4. 10 Dec, 2017 5 commits
  5. 09 Dec, 2017 6 commits
  6. 08 Dec, 2017 3 commits
    • Andrew Svetlov's avatar
      bpo-32193: Convert asyncio to async/await usage (#4753) · 5f841b55
      Andrew Svetlov authored
      * Convert asyncio/tasks.py to async/await
      
      * Convert asyncio/queues.py to async/await
      
      * Convert asyncio/test_utils.py to async/await
      
      * Convert asyncio/base_subprocess.py to async/await
      
      * Convert asyncio/subprocess.py to async/await
      
      * Convert asyncio/streams.py to async/await
      
      * Fix comments
      
      * Convert asyncio/locks.py to async/await
      
      * Convert asyncio.sleep to async def
      
      * Add a comment
      
      * Add missing news
      
      * Convert stubs from AbstrctEventLoop to async functions
      
      * Convert subprocess_shell/subprocess_exec
      
      * Convert connect_read_pipe/connect_write_pip to async/await syntax
      
      * Convert create_datagram_endpoint
      
      * Convert create_unix_server/create_unix_connection
      
      * Get rid of old style coroutines in unix_events.py
      
      * Convert selector_events.py to async/await
      
      * Convert wait_closed and create_connection
      
      * Drop redundant line
      
      * Convert base_events.py
      
      * Code cleanup
      
      * Drop redundant comments
      
      * Fix indentation
      
      * Add explicit tests for compatibility between old and new coroutines
      
      * Convert windows event loop to use async/await
      
      * Fix double awaiting of async function
      
      * Convert asyncio/locks.py
      
      * Improve docstring
      
      * Convert tests to async/await
      
      * Convert more tests
      
      * Convert more tests
      
      * Convert more tests
      
      * Convert tests
      
      * Improve test
      5f841b55
    • Nitish Chandra's avatar
      bpo-22589 Changed MIME type of .bmp to "image/bmp" (#4756) · ede15733
      Nitish Chandra authored
      Per rfc7903 this is the standard MIME type for this file format, and appears as such in the IANA MIME registry.
      ede15733
    • Neil Schemenauer's avatar
      Fix missing DECREF of mod. (#4749) · 11cc2894
      Neil Schemenauer authored
      11cc2894
  7. 07 Dec, 2017 2 commits
    • Victor Stinner's avatar
      PyLong_FromString(): fix Coverity CID 1424951 (#4738) · dd431b32
      Victor Stinner authored
      Explicitly cast digits (Py_ssize_t) to double to fix the following
      false-alarm warning from Coverity:
      
      "fsize_z = digits * log_base_BASE[base] + 1;"
      
      CID 1424951: Incorrect expression (UNINTENDED_INTEGER_DIVISION)
      Dividing integer expressions "9223372036854775783UL" and "4UL", and
      then converting the integer quotient to type "double". Any remainder,
      or fractional part of the quotient, is ignored.
      dd431b32
    • Garrett Berg's avatar
      bpo-32208: update threading.Semaphore docs and add unit test (#4709) · a0374dd3
      Garrett Berg authored
      * fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior
      
      * add test for blocking
      
      * Update threading.rst
      
      * semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore
      a0374dd3