PageRenderTime 40ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/Misc/NEWS.d/3.6.0b4.rst

https://github.com/albertz/CPython
ReStructuredText | 327 lines | 227 code | 100 blank | 0 comment | 0 complexity | df8413a618e092a906892744be0c8c8c MD5 | raw file
  1. .. bpo: 28532
  2. .. date: 9778
  3. .. nonce: KEYJny
  4. .. release date: 2016-11-21
  5. .. section: Core and Builtins
  6. Show sys.version when -V option is supplied twice.
  7. ..
  8. .. bpo: 27100
  9. .. date: 9777
  10. .. nonce: poVjXq
  11. .. section: Core and Builtins
  12. The with-statement now checks for __enter__ before it checks for __exit__.
  13. This gives less confusing error messages when both methods are missing.
  14. Patch by Jonathan Ellington.
  15. ..
  16. .. bpo: 28746
  17. .. date: 9776
  18. .. nonce: r5MXdB
  19. .. section: Core and Builtins
  20. Fix the set_inheritable() file descriptor method on platforms that do not
  21. have the ioctl FIOCLEX and FIONCLEX commands.
  22. ..
  23. .. bpo: 26920
  24. .. date: 9775
  25. .. nonce: 1URwGb
  26. .. section: Core and Builtins
  27. Fix not getting the locale's charset upon initializing the interpreter, on
  28. platforms that do not have langinfo.
  29. ..
  30. .. bpo: 28648
  31. .. date: 9774
  32. .. nonce: z7B52W
  33. .. section: Core and Builtins
  34. Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
  35. astral characters. Patch by Xiang Zhang.
  36. ..
  37. .. bpo: 19398
  38. .. date: 9773
  39. .. nonce: RYbEGH
  40. .. section: Core and Builtins
  41. Extra slash no longer added to sys.path components in case of empty
  42. compile-time PYTHONPATH components.
  43. ..
  44. .. bpo: 28665
  45. .. date: 9772
  46. .. nonce: v4nx86
  47. .. section: Core and Builtins
  48. Improve speed of the STORE_DEREF opcode by 40%.
  49. ..
  50. .. bpo: 28583
  51. .. date: 9771
  52. .. nonce: F-QAx1
  53. .. section: Core and Builtins
  54. PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
  55. Zhang.
  56. ..
  57. .. bpo: 27243
  58. .. date: 9770
  59. .. nonce: 61E6K5
  60. .. section: Core and Builtins
  61. Change PendingDeprecationWarning -> DeprecationWarning. As it was agreed in
  62. the issue, __aiter__ returning an awaitable should result in
  63. PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6.
  64. ..
  65. .. bpo: 26182
  66. .. date: 9769
  67. .. nonce: a8JXK2
  68. .. section: Core and Builtins
  69. Fix a refleak in code that raises DeprecationWarning.
  70. ..
  71. .. bpo: 28721
  72. .. date: 9768
  73. .. nonce: BO9BUF
  74. .. section: Core and Builtins
  75. Fix asynchronous generators aclose() and athrow() to handle
  76. StopAsyncIteration propagation properly.
  77. ..
  78. .. bpo: 28752
  79. .. date: 9767
  80. .. nonce: Q-4oRE
  81. .. section: Library
  82. Restored the __reduce__() methods of datetime objects.
  83. ..
  84. .. bpo: 28727
  85. .. date: 9766
  86. .. nonce: ubZP_b
  87. .. section: Library
  88. Regular expression patterns, _sre.SRE_Pattern objects created by
  89. re.compile(), become comparable (only x==y and x!=y operators). This change
  90. should fix the issue #18383: don't duplicate warning filters when the
  91. warnings module is reloaded (thing usually only done in unit tests).
  92. ..
  93. .. bpo: 20572
  94. .. date: 9765
  95. .. nonce: lGXaH9
  96. .. section: Library
  97. The subprocess.Popen.wait method's undocumented endtime parameter now raises
  98. a DeprecationWarning.
  99. ..
  100. .. bpo: 25659
  101. .. date: 9764
  102. .. nonce: lE2IlT
  103. .. section: Library
  104. In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy()
  105. methods on abstract classes like Array.
  106. ..
  107. .. bpo: 19717
  108. .. date: 9763
  109. .. nonce: HXCAIz
  110. .. section: Library
  111. Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky
  112. Kok
  113. ..
  114. .. bpo: 28563
  115. .. date: 9762
  116. .. nonce: iweEiw
  117. .. section: Library
  118. Fixed possible DoS and arbitrary code execution when handle plural form
  119. selections in the gettext module. The expression parser now supports exact
  120. syntax supported by GNU gettext.
  121. ..
  122. .. bpo: 28387
  123. .. date: 9761
  124. .. nonce: 1clJu7
  125. .. section: Library
  126. Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
  127. collector is invoked in other thread. Based on patch by Sebastian Cufre.
  128. ..
  129. .. bpo: 28600
  130. .. date: 9760
  131. .. nonce: wMVrjN
  132. .. section: Library
  133. Optimize loop.call_soon.
  134. ..
  135. .. bpo: 28613
  136. .. date: 9759
  137. .. nonce: sqUPrv
  138. .. section: Library
  139. Fix get_event_loop() return the current loop if called from
  140. coroutines/callbacks.
  141. ..
  142. .. bpo: 28634
  143. .. date: 9758
  144. .. nonce: YlRydz
  145. .. section: Library
  146. Fix asyncio.isfuture() to support unittest.Mock.
  147. ..
  148. .. bpo: 26081
  149. .. date: 9757
  150. .. nonce: 2Y8-a9
  151. .. section: Library
  152. Fix refleak in _asyncio.Future.__iter__().throw.
  153. ..
  154. .. bpo: 28639
  155. .. date: 9756
  156. .. nonce: WUPo1o
  157. .. section: Library
  158. Fix inspect.isawaitable to always return bool Patch by Justin Mayfield.
  159. ..
  160. .. bpo: 28652
  161. .. date: 9755
  162. .. nonce: f5M8FG
  163. .. section: Library
  164. Make loop methods reject socket kinds they do not support.
  165. ..
  166. .. bpo: 28653
  167. .. date: 9754
  168. .. nonce: S5bA9i
  169. .. section: Library
  170. Fix a refleak in functools.lru_cache.
  171. ..
  172. .. bpo: 28703
  173. .. date: 9753
  174. .. nonce: CRLTJc
  175. .. section: Library
  176. Fix asyncio.iscoroutinefunction to handle Mock objects.
  177. ..
  178. .. bpo: 28704
  179. .. date: 9752
  180. .. nonce: EFWBII
  181. .. section: Library
  182. Fix create_unix_server to support Path-like objects (PEP 519).
  183. ..
  184. .. bpo: 28720
  185. .. date: 9751
  186. .. nonce: Fsz-Lf
  187. .. section: Library
  188. Add collections.abc.AsyncGenerator.
  189. ..
  190. .. bpo: 28513
  191. .. date: 9750
  192. .. nonce: L3joAz
  193. .. section: Documentation
  194. Documented command-line interface of zipfile.
  195. ..
  196. .. bpo: 28666
  197. .. date: 9749
  198. .. nonce: RtTk-4
  199. .. section: Tests
  200. Now test.support.rmtree is able to remove unwritable or unreadable
  201. directories.
  202. ..
  203. .. bpo: 23839
  204. .. date: 9748
  205. .. nonce: zsT_L9
  206. .. section: Tests
  207. Various caches now are cleared before running every test file.
  208. ..
  209. .. bpo: 10656
  210. .. date: 9747
  211. .. nonce: pR8FFU
  212. .. section: Build
  213. Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael
  214. Haubenwallner.
  215. ..
  216. .. bpo: 26359
  217. .. date: 9746
  218. .. nonce: CLz6qy
  219. .. section: Build
  220. Rename --with-optimiations to --enable-optimizations.
  221. ..
  222. .. bpo: 28676
  223. .. date: 9745
  224. .. nonce: Wxf6Ds
  225. .. section: Build
  226. Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth
  227. Rees.