1. 01 Dec, 2017 2 commits
    • Serhiy Storchaka's avatar
      bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH-4579) · 73a7e9b1
      Serhiy Storchaka authored
      The current behaviour of yield expressions inside comprehensions  and
      generator expressions is essentially an accident of implementation - it
      arises implicitly from the way the compiler handles yield expressions inside
      nested functions and generators.
      
      Since the current behaviour wasn't deliberately designed, and is inherently
      confusing, we're deprecating it, with no current plans to reintroduce it.
      Instead, our advice will be to use a named nested generator definition
      for cases where this behaviour is desired.
      73a7e9b1
    • Nir Soffer's avatar
      bpo-32186: Release the GIL during lseek and fstat (#4652) · 6a894816
      Nir Soffer authored
      In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called
      without releasing the GIL. This can cause all threads to hang for
      unlimited time when calling FileIO.read() and the NFS server is not
      accessible.
      6a894816
  2. 30 Nov, 2017 9 commits
  3. 29 Nov, 2017 10 commits
  4. 28 Nov, 2017 15 commits
  5. 27 Nov, 2017 4 commits