+++++++++++
Python News
+++++++++++
What's New in Python 3.10.11 final?
===================================
*Release date: 2023-04-04*
Security
--------
- gh-issue-101727: Updated the OpenSSL version used in Windows and macOS
binary release builds to 1.1.1t to address CVE-2023-0286, CVE-2022-4303,
and CVE-2022-4303 per `the OpenSSL 2023-02-07 security advisory
<https://www.openssl.org/news/secadv/20230207.txt>`_.
- gh-issue-101283: :class:`subprocess.Popen` now uses a safer approach to
find ``cmd.exe`` when launching with ``shell=True``. Patch by Eryk Sun,
based on a patch by Oleg Iarygin.
Core and Builtins
-----------------
- gh-issue-102416: Do not memoize incorrectly automatically generated loop
rules in the parser. Patch by Pablo Galindo.
- gh-issue-102356: Fix a bug that caused a crash when deallocating deeply
nested filter objects. Patch by Marta Gómez Macías.
- gh-issue-102397: Fix segfault from race condition in signal handling
during garbage collection. Patch by Kumar Aditya.
- gh-issue-102126: Fix deadlock at shutdown when clearing thread states if
any finalizer tries to acquire the runtime head lock. Patch by Kumar
Aditya.
- gh-issue-102027: Fix SSE2 and SSE3 detection in ``_blake2`` internal
module. Patch by Max Bachmann.
- gh-issue-101967: Fix possible segfault in
``positional_only_passed_as_keyword`` function, when new list created.
- gh-issue-101765: Fix SystemError / segmentation fault in iter
``__reduce__`` when internal access of ``builtins.__dict__`` keys mutates
the iter object.
Library
-------
- gh-issue-102947: Improve traceback when :func:`dataclasses.fields` is
called on a non-dataclass. Patch by Alex Waygood
- gh-issue-101979: Fix a bug where parentheses in the ``metavar`` argument
to :meth:`argparse.ArgumentParser.add_argument` were dropped. Patch by
Yeojin Kim.
- gh-issue-102179: Fix :func:`os.dup2` error message for negative fds.
- gh-issue-101961: For the binary mode, :func:`fileinput.hookcompressed`
doesn't set the ``encoding`` value even if the value is ``None``. Patch by
Gihwan Kim.
- gh-issue-101936: The default value of ``fp`` becomes :class:`io.BytesIO`
if :exc:`~urllib.error.HTTPError` is initialized without a designated
``fp`` parameter. Patch by Long Vo.
- gh-issue-101566: In zipfile, apply fix for extractall on the underlying
zipfile after being wrapped in ``Path``.
- gh-issue-101997: Upgrade pip wheel bundled with ensurepip (pip 23.0.1)
- gh-issue-101892: Callable iterators no longer raise :class:`SystemError`
when the callable object exhausts the iterator but forgets to either
return a sentinel value or raise :class:`StopIteration`.
- gh-issue-97786: Fix potential undefined behaviour in corner cases of
floating-point-to-time conversions.
- gh-issue-101517: Fixed bug where :mod:`bdb` looks up the source line with
:mod:`linecache` with a ``lineno=None``, which causes it to fail with an
unhandled exception.
- gh-issue-101673: Fix a :mod:`pdb` bug where ``ll`` clears the changes to
local variables.
- gh-issue-96931: Fix incorrect results from
:meth:`ssl.SSLSocket.shared_ciphers`
- gh-issue-88233: Correctly preserve "extra" fields in ``zipfile``
regardless of their ordering relative to a zip64 "extra."
- gh-issue-95495: When built against OpenSSL 3.0, the :mod:`ssl` module had
a bug where it reported unauthenticated EOFs (i.e. without close_notify)
as a clean TLS-level EOF. It now raises :exc:`~ssl.SSLEOFError`, matching
the behavior in previous versions of OpenSSL. The
:attr:`~ssl.SSLContext.options` attribute on :class:`~ssl.SSLContext` also
no longer includes :data:`~ssl.OP_IGNORE_UNEXPECTED_EOF` by default. This
option may be set to specify the previous OpenSSL 3.0 behavior.
- gh-issue-94440: Fix a :mod:`concurrent.futures.process` bug where
``ProcessPoolExecutor`` shutdown could hang after a future has been
quickly submitted and canceled.
Documentation
-------------
- gh-issue-103112: Add docstring to :meth:`http.client.HTTPResponse.read` to
fix ``pydoc`` output.
- gh-issue-85417: Update :mod:`cmath` documentation to clarify behaviour on
branch cuts.
- gh-issue-97725: Fix :meth:`asyncio.Task.print_stack` description for
``file=None``. Patch by Oleg Iarygin.
Tests
-----
- gh-issue-102980: Improve test coverage on :mod:`pdb`.
- gh-issue-102537: Adjust the error handling strategy in
``test_zoneinfo.TzPathTest.python_tzpath_context``. Patch by Paul Ganssle.
- gh-issue-101377: Improved test_locale_calendar_formatweekday of calendar.
Build
-----
- gh-issue-102711: Fix ``-Wstrict-prototypes`` compiler warnings.
Windows
-------
- gh-issue-101759: Update Windows installer to SQLite 3.40.1.
- gh-issue-101614: Correctly handle extensions built against debug binaries
that reference ``python3_d.dll``.
macOS
-----
- gh-issue-103207: Add instructions to the macOS installer welcome display
on how to workaround the macOS 13 Ventura “The installer encountered an
error” failure.
- gh-issue-101759: Update macOS installer to SQLite 3.40.1.
- gh-issue-87235: On macOS ``python3 /dev/fd/9 9</path/to/script.py`` failed
for any script longer than a couple of bytes.
What's New in Python 3.10.10 final?
===================================
*Release date: 2023-02-07*
Core and Builtins
-----------------
- gh-issue-101400: Fix wrong lineno in exception message on
:keyword:`continue` or :keyword:`break` which are not in a loop. Patch by
Dong-hee Na.
- gh-issue-101372: Fix :func:`~unicodedata.is_normalized` to properly handle
the UCD 3.2.0 cases. Patch by Dong-hee Na.
- gh-issue-101046: Fix a possible memory leak in the parser when raising
:exc:`MemoryError`. Patch by Pablo Galindo
- gh-issue-100942: Fixed segfault in property.getter/setter/deleter that
occurred when a property subclass overrode the ``__new__`` method to
return a non-property instance.
- gh-issue-100892: Fix race while iterating over thread states in clearing
:class:`threading.local`. Patch by Kumar Aditya.
- gh-issue-100776: Fix misleading default value in :func:`input`'s
``__text_signature__``.
- gh-issue-100374: Fix incorrect result and delay in :func:`socket.getfqdn`.
Patch by Dominic Socular.
- gh-issue-100050: Honor existing errors obtained when searching for
mismatching parentheses in the tokenizer. Patch by Pablo Galindo
- bpo-32782: ``ctypes`` arrays of length 0 now report a correct itemsize
when a ``memoryview`` is constructed from them, rather than always giving
a value of 0.
Library
-------
- gh-issue-100795: Avoid potential unexpected ``freeaddrinfo`` call (double
free) in :mod:`socket` when when a libc ``getaddrinfo()`` implementation
leaves garbage in an output pointer when returning an error. Original
patch by Sergey G. Brester.
- gh-issue-101143: Remove unused references to :class:`~asyncio.TimerHandle`
in ``asyncio.base_events.BaseEventLoop._add_callback``.
- gh-issue-101144: Make :func:`zipfile.Path.open` and
:func:`zipfile.Path.read_text` also accept ``encoding`` as a positional
argument. This was the behavior in Python 3.9 and earlier. Earlier 3.10
versions had a regression where supplying it as a positional argument
would lead to a :exc:`TypeError`.
- gh-issue-100573: Fix a Windows :mod:`asyncio` bug with named pipes where a
client doing ``os.stat()`` on the pipe would cause an error in the server
that disabled serving future requests.
- gh-issue-90104: Avoid RecursionError on ``repr`` if a dataclass field
definition has a cyclic reference.
- gh-issue-100689: Fix crash in :mod:`pyexpat` by statically allocating
``PyExpat_CAPI`` capsule.
- gh-issue-100740: Fix ``unittest.mock.Mock`` not respecting the spec for
attribute names prefi
没有合适的资源?快使用搜索试试~ 我知道了~
Thonny是一款面向入门开发者的工具,就主打一个简单易上手,用来做Python和MicroPython入门开发再合适不过了,对新手非常的友好,实话实说,在进行单片机开发方面不会比Arduinno开发环境更复杂。
这个是免安装绿色版,直接下载解压缩运行就可以了,支持Python10.0,关于使用可以看本博客的相关教程。
这个资源Thonny官网也有下载,文件放在github,不是很稳当,这个是从github搬运过来的,给不方便下载的小伙伴使用,不要分,请放心,原版程序,无病毒,无套路,可放心使用。
也欢迎大家关注我的博客,一起交流学习,我会分享一些Python、MicroPython、无量网、数据库方面的一些文章。
如果对你有用,也请点赞留言,如果有任何疑问,也可以留言给我,定会知无不言言无不尽
收起资源包目录





































































































共 2002 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源推荐
资源预览
资源评论
118 浏览量
2023-08-23 上传
171 浏览量
137 浏览量
2022-03-01 上传
111 浏览量
2024-01-05 上传
2012-10-05 上传
145 浏览量
161 浏览量
168 浏览量
156 浏览量
2021-10-13 上传
196 浏览量
176 浏览量
2022-12-02 上传
143 浏览量
158 浏览量
141 浏览量
104 浏览量
111 浏览量

192 浏览量
172 浏览量
2022-10-28 上传
2022-03-12 上传
25972 浏览量
资源评论


原子星
- 粉丝: 3401
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 友软件人力资源项目-XX股份公司.ppt
- 网络科技有限公司章程范本(合资).doc
- 电子商务竞争日趋激烈.docx
- 城市轨道交通工程项目管理水平的提升的研究.docx
- 施工总承包基建项目管理系统.docx
- [初中教育]c语言C8文件2010[1]1120更新.ppt
- 单片机的气象监测仪的方案设计课程方案设计.doc
- 便携式无线数据采集终端的方案设计课程方案设计.doc
- 酒店通信系统技术方案.doc
- 嵌入式应用学习指导.doc
- 大数据背景下个人隐私保护路径探析.docx
- CDMAX的嵌入式土壤墒情数据无线采集系统设计方案.doc
- 赵梓添-分层技术在计算机软件开发中的应用.docx
- C语言程序安全验证中K-归纳算法的改进.pdf
- ATMega单片机闹钟设计方案.docx
- 基于WEB的教材管理系统的研究设计与实现.doc
安全验证
文档复制为VIP权益,开通VIP直接复制
