+++++++++++
Python News
+++++++++++
What's New in Python 3.7.0 final?
=================================
*Release date: 2018-06-27*
Library
-------
- bpo-33851: Fix :func:`ast.get_docstring` for a node that lacks a
docstring.
C API
-----
- bpo-33932: Calling Py_Initialize() twice does nothing, instead of failing
with a fatal error: restore the Python 3.6 behaviour.
What's New in Python 3.7.0 release candidate 1?
===============================================
*Release date: 2018-06-12*
Core and Builtins
-----------------
- bpo-33803: Fix a crash in hamt.c caused by enabling GC tracking for an
object that hadn't all of its fields set to NULL.
- bpo-33706: Fix a crash in Python initialization when parsing the command
line options. Thanks Christoph Gohlke for the bug report and the fix!
- bpo-30654: Fixed reset of the SIGINT handler to SIG_DFL on interpreter
shutdown even when there was a custom handler set previously. Patch by
Philipp Kerling.
- bpo-31849: Fix signed/unsigned comparison warning in pyhash.c.
Library
-------
- bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. Patch by
Steve Weber.
- bpo-33812: Datetime instance d with non-None tzinfo, but with
d.tzinfo.utcoffset(d) returning None is now treated as naive by the
astimezone() method.
- bpo-30805: Avoid race condition with debug logging
- bpo-33694: asyncio: Fix a race condition causing data loss on
pause_reading()/resume_reading() when using the ProactorEventLoop.
- bpo-32493: Correct test for ``uuid_enc_be`` availability in
``configure.ac``. Patch by Michael Felt.
- bpo-33792: Add asyncio.WindowsSelectorEventLoopPolicy and
asyncio.WindowsProactorEventLoopPolicy.
- bpo-33778: Update ``unicodedata``'s database to Unicode version 11.0.0.
- bpo-33770: improve base64 exception message for encoded inputs of invalid
length
- bpo-33769: asyncio/start_tls: Fix error message; cancel callbacks in case
of an unhandled error; mark SSLTransport as closed if it is aborted.
- bpo-33767: The concatenation (``+``) and repetition (``*``) sequence
operations now raise :exc:`TypeError` instead of :exc:`SystemError` when
performed on :class:`mmap.mmap` objects. Patch by Zackery Spytz.
- bpo-33734: asyncio/ssl: Fix AttributeError, increase default handshake
timeout
- bpo-11874: Use a better regex when breaking usage into wrappable parts.
Avoids bogus assertion errors from custom metavar strings.
- bpo-33582: Emit a deprecation warning for inspect.formatargspec
Documentation
-------------
- bpo-33409: Clarified the relationship between PEP 538's
PYTHONCOERCECLOCALE and PEP 540's PYTHONUTF8 mode.
- bpo-33736: Improve the documentation of :func:`asyncio.open_connection`,
:func:`asyncio.start_server` and their UNIX socket counterparts.
- bpo-31432: Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED
flags for ssl.SSLContext.verify_mode.
Build
-----
- bpo-5755: Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from
``OPT``. This option emitted annoying warnings when building extension
modules written in C++.
Windows
-------
- bpo-33720: Reduces maximum marshal recursion depth on release builds.
IDLE
----
- bpo-33656: On Windows, add API call saying that tk scales for DPI. On
Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should make
text and lines sharper. It should otherwise have no effect.
- bpo-33768: Clicking on a context line moves that line to the top of the
editor window.
- bpo-33763: IDLE: Use read-only text widget for code context instead of
label widget.
- bpo-33664: Scroll IDLE editor text by lines. Previously, the mouse wheel
and scrollbar slider moved text by a fixed number of pixels, resulting in
partial lines at the top of the editor box. The change also applies to
the shell and grep output windows, but not to read-only text views.
- bpo-33679: Enable theme-specific color configuration for Code Context. Use
the Highlights tab to see the setting for built-in themes or add settings
to custom themes.
- bpo-33642: Display up to maxlines non-blank lines for Code Context. If
there is no current context, show a single blank line.
What's New in Python 3.7.0 beta 5?
==================================
*Release date: 2018-05-30*
Core and Builtins
-----------------
- bpo-33622: Fixed a leak when the garbage collector fails to add an object
with the ``__del__`` method or referenced by it into the
:data:`gc.garbage` list. :c:func:`PyGC_Collect` can now be called when an
exception is set and preserves it.
- bpo-33509: Fix module_globals parameter of warnings.warn_explicit(): don't
crash if module_globals is not a dict.
- bpo-20104: The new `os.posix_spawn` added in 3.7.0b1 was removed as we are
still working on what the API should look like. Expect this in 3.8
instead.
- bpo-33475: Fixed miscellaneous bugs in converting annotations to strings
and optimized parentheses in the string representation.
- bpo-33391: Fix a leak in set_symmetric_difference().
- bpo-28055: Fix unaligned accesses in siphash24(). Patch by Rolf Eike Beer.
- bpo-32911: Due to unexpected compatibility issues discovered during
downstream beta testing, reverted :issue:`29463`. ``docstring`` field is
removed from Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes
which was added in 3.7a1. Docstring expression is restored as a first
statement in their body. Based on patch by Inada Naoki.
- bpo-21983: Fix a crash in `ctypes.cast()` in case the type argument is a
ctypes structured data type. Patch by Eryk Sun and Oren Milman.
Library
-------
- bpo-32751: When cancelling the task due to a timeout,
:meth:`asyncio.wait_for` will now wait until the cancellation is complete.
- bpo-32684: Fix gather to propagate cancellation of itself even with
return_exceptions.
- bpo-33654: Support protocol type switching in SSLTransport.set_protocol().
- bpo-33674: Pause the transport as early as possible to further reduce the
risk of data_received() being called before connection_made().
- bpo-33674: Fix a race condition in SSLProtocol.connection_made() of
asyncio.sslproto: start immediately the handshake instead of using
call_soon(). Previously, data_received() could be called before the
handshake started, causing the handshake to hang or fail.
- bpo-31467: Fixed bug where calling write_eof() on a
_SelectorSocketTransport after it's already closed raises AttributeError.
- bpo-32610: Make asyncio.all_tasks() return only pending tasks.
- bpo-32410: Avoid blocking on file IO in sendfile fallback code
- bpo-33469: Fix RuntimeError after closing loop that used run_in_executor
- bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines
- bpo-33654: Fix transport.set_protocol() to support switching between
asyncio.Protocol and asyncio.BufferedProtocol. Fix loop.start_tls() to
work with asyncio.BufferedProtocols.
- bpo-33652: Pickles of type variables and subscripted generics are now
future-proof and compatible with older Python versions.
- bpo-32493: Fixed :func:`uuid.uuid1` on FreeBSD.
- bpo-33618: Finalize and document preliminary and experimental TLS 1.3
support with OpenSSL 1.1.1
- bpo-33623: Fix possible SIGSGV when asyncio.Future is created in __del__
- bpo-30877: Fixed a bug in the Python implementation of the JSON decoder
that prevented the cache of parsed strings from clearing after finishing
the decoding. Based on patch by c-fos.
- bpo-33570: Change TLS 1.3 cipher suite settings for compatibility with
OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers
enabled by default.
- bpo-28556: Do not sim
没有合适的资源?快使用搜索试试~ 我知道了~
Python3.7 免安装版
共2000个文件
py:2072个
pyc:629个
tcl:252个
4星 · 超过85%的资源 需积分: 46 202 下载量 160 浏览量
2018-07-10
22:05:55
上传
评论 6
收藏 29.54MB RAR 举报
温馨提示
不需要安装,包括python原始的安装包,分享给大家,希望多多交流
资源推荐
资源详情
资源评论
收起资源包目录
Python3.7 免安装版 (2000个子文件)
nmakehlp.c 21KB
_pydoc.css 102B
unicodeobject.h 83KB
object.h 42KB
abstract.h 41KB
pyport.h 28KB
dynamic_annotations.h 22KB
Python-ast.h 22KB
pyconfig.h 21KB
pyerrors.h 17KB
pyatomic.h 16KB
pystate.h 16KB
objimpl.h 14KB
datetime.h 10KB
pymem.h 9KB
pytime.h 9KB
ceval.h 9KB
longobject.h 9KB
modsupport.h 9KB
bytesobject.h 9KB
pymath.h 8KB
dictobject.h 7KB
pylifecycle.h 7KB
codecs.h 7KB
pythonrun.h 6KB
code.h 6KB
pythread.h 5KB
opcode.h 5KB
import.h 5KB
symtable.h 5KB
floatobject.h 5KB
methodobject.h 5KB
pyhash.h 4KB
funcobject.h 4KB
py_curses.h 4KB
longintrepr.h 4KB
fileutils.h 4KB
traceback.h 4KB
genobject.h 4KB
pymacro.h 4KB
setobject.h 3KB
frameobject.h 3KB
bytes_methods.h 3KB
descrobject.h 3KB
Python.h 3KB
pymacconfig.h 3KB
compile.h 3KB
parsetok.h 3KB
listobject.h 3KB
weakrefobject.h 3KB
memoryobject.h 3KB
pyarena.h 3KB
token.h 3KB
tupleobject.h 2KB
sliceobject.h 2KB
grammar.h 2KB
moduleobject.h 2KB
pyexpat.h 2KB
typeslots.h 2KB
pydtrace.h 2KB
bytearrayobject.h 2KB
context.h 2KB
structmember.h 2KB
graminit.h 2KB
complexobject.h 2KB
fileobject.h 2KB
warnings.h 2KB
pycapsule.h 2KB
classobject.h 2KB
errcode.h 2KB
sysmodule.h 2KB
pystrtod.h 1KB
structseq.h 1KB
pyctype.h 1KB
patchlevel.h 1KB
odictobject.h 1KB
pgenheaders.h 1KB
asdl.h 1KB
pydebug.h 1KB
eval.h 1KB
node.h 1KB
ucnhash.h 1KB
accu.h 1KB
boolobject.h 920B
intrcheck.h 894B
bitset.h 842B
marshal.h 831B
cellobject.h 742B
osdefs.h 738B
ast.h 670B
rangeobject.h 656B
iterobject.h 592B
pystrhex.h 514B
dtoa.h 477B
pystrcmp.h 459B
namespaceobject.h 368B
pyfpe.h 353B
osmodule.h 308B
bltinmodule.h 278B
pgen.h 271B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
silaneh
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 软件工程项目验收系列文档.doc
- content_1713513663833.xmind
- 数据流图(Data Flow Diagram,简称DFD).md
- 基于Mybatis-Plus的Maven代码生成插件设计源码
- 67e1bc92-b0ee-45c1-b46f-9d519bbd6925.ofd
- npcsvpwm.v
- Java项目:基于Springboot+vue实现的校园志愿者管理系统(源码+数据库+环境配置和运行指导视频+系统讲解视频)
- 驱动开发,驱动加载工具,支持安装、启动、停止、卸载、关闭功能
- UTS 32146 Data Visualisation and Visual Analytics A1
- 西门子1200PLC 六部十层电梯程序案例,WINCC RT Advanced界面,博图
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页