+++++++++++
Python News
+++++++++++
What's New in Python 3.8.7 final?
=================================
*Release date: 2020-12-21*
Core and Builtins
-----------------
- bpo-32381: Fix encoding name when running a ``.pyc`` file on Windows:
:c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to
decode the filename.
- bpo-42536: Several built-in and standard library types now ensure that
their internal result tuples are always tracked by the :term:`garbage
collector <garbage collection>`:
- :meth:`collections.OrderedDict.items() <collections.OrderedDict>`
- :meth:`dict.items`
- :func:`enumerate`
- :func:`functools.reduce`
- :func:`itertools.combinations`
- :func:`itertools.combinations_with_replacement`
- :func:`itertools.permutations`
- :func:`itertools.product`
- :func:`itertools.zip_longest`
- :func:`zip`
Previously, they could have become untracked by a prior garbage
collection. Patch by Brandt Bucher.
Library
-------
- bpo-42630: :mod:`tkinter` functions and constructors which need a default
root window raise now :exc:`RuntimeError` with descriptive message instead
of obscure :exc:`AttributeError` or :exc:`NameError` if it is not created
yet or cannot be created automatically.
- bpo-42644: `logging.disable` will now validate the types and value of its
parameter. It also now accepts strings representing the levels (as does
`loging.setLevel`) instead of only the numerical values.
- bpo-36541: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only
argument syntax.
- bpo-42375: subprocess module update for DragonFlyBSD support.
- bpo-39825: Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` to
the expected full ``platform_tag.extension`` format. Previously it was
hard-coded to ``.pyd``, now it is compatible with ``distutils.sysconfig``
and will result in something like ``.cp38-win_amd64.pyd``. This brings
windows into conformance with the other platforms.
- bpo-39101: Fixed tests using IsolatedAsyncioTestCase from hanging on
BaseExceptions.
- bpo-41907: fix `format()` behavior for `IntFlag`
- bpo-41889: Enum: fix regression involving inheriting a multiply-inherited
enum
- bpo-41891: Ensure asyncio.wait_for waits for task completion
- bpo-40219: Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to
prevent hiding part of the content label.
- bpo-40084: Fix ``Enum.__dir__``: dir(Enum.member) now includes attributes
as well as methods.
Documentation
-------------
- bpo-17140: Add documentation for the
:class:`multiprocessing.pool.ThreadPool` class.
Build
-----
- bpo-42604: Now all platforms use a value for the "EXT_SUFFIX" build
variable derived from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now
".cpython-310d.so" instead of ".so"). Previosuly only Linux, Mac and
VxWorks were using a value for "EXT_SUFFIX" that included "SOABI".
- bpo-42598: Fix implicit function declarations in configure which could
have resulted in incorrect configuration checks. Patch contributed by
Joshua Root.
Tools/Demos
-----------
- bpo-42613: Fix ``freeze.py`` tool to use the prope config and library
directories. Patch by Victor Stinner.
What's New in Python 3.8.7 release candidate 1?
===============================================
*Release date: 2020-12-07*
Security
--------
- bpo-42103: Prevented potential DoS attack via CPU and RAM exhaustion when
processing malformed Apple Property List files in binary format.
- bpo-42051: The :mod:`plistlib` module no longer accepts entity
declarations in XML plist files to avoid XML vulnerabilities. This should
not affect users as entity declarations are not used in regular plist
files.
- bpo-40791: Add ``volatile`` to the accumulator variable in
``hmac.compare_digest``, making constant-time-defeating optimizations less
likely.
Core and Builtins
-----------------
- bpo-41686: On Windows, the ``SIGINT`` event, ``_PyOS_SigintEvent()``, is
now created even if Python is configured to not install signal handlers
(if :c:member:`PyConfig.install_signal_handlers` equals to 0, or
``Py_InitializeEx(0)``).
- bpo-42143: Fix handling of errors during creation of ``PyFunctionObject``,
which resulted in operations on uninitialized memory. Patch by Yonatan
Goldschmidt.
- bpo-41984: The garbage collector now tracks all user-defined classes.
Patch by Brandt Bucher.
- bpo-41909: Fixed stack overflow in :func:`issubclass` and
:func:`isinstance` when getting the ``__bases__`` attribute leads to
infinite recursion.
- bpo-41894: When loading a native module and a load failure occurs, prevent
a possible UnicodeDecodeError when not running in a UTF-8 locale by
decoding the load error message using the current locale's encoding.
Library
-------
- bpo-17735: :func:`inspect.findsource` now raises :exc:`OSError` instead of
:exc:`IndexError` when :attr:`co_lineno` of a code object is greater than
the file length. This can happen, for example, when a file is edited after
it was imported. PR by Irit Katriel.
- bpo-42116: Fix handling of trailing comments by :func:`inspect.getsource`.
- bpo-42482: :class:`~traceback.TracebackException` no longer holds a
reference to the exception's traceback object. Consequently, instances of
TracebackException for equivalent but non-equal exceptions now compare as
equal.
- bpo-42406: We fixed an issue in `pickle.whichmodule` in which importing
`multiprocessing` could change the how pickle identifies which module an
object belongs to, potentially breaking the unpickling of those objects.
- bpo-42328: Fixed :meth:`tkinter.ttk.Style.map`. The function accepts now
the representation of the default state as empty sequence (as returned by
``Style.map()``). The structure of the result is now the same on all
platform and does not depend on the value of ``wantobjects``.
- bpo-42014: The ``onerror`` callback from ``shutil.rmtree`` now receives
correct function when ``os.open`` fails.
- bpo-42237: Fix `os.sendfile()` on illumos.
- bpo-42249: Fixed writing binary Plist files larger than 4 GiB.
- bpo-35455: On Solaris, :func:`~time.thread_time` is now implemented with
``gethrvtime()`` because ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is not
always available. Patch by Jakub Kulik.
- bpo-41754: webbrowser: Ignore *NotADirectoryError* when calling
``xdg-settings``.
- bpo-29566: ``binhex.binhex()`` consisently writes macOS 9 line endings.
- bpo-42183: Fix a stack overflow error for asyncio Task or Future repr().
The overflow occurs under some circumstances when a Task or Future
recursively returns itself.
- bpo-42103: :exc:`~plistlib.InvalidFileException` and :exc:`RecursionError`
are now the only errors caused by loading malformed binary Plist file
(previously ValueError and TypeError could be raised in some specific
cases).
- bpo-41491: plistlib: fix parsing XML plists with hexadecimal integer
values
- bpo-32498: Clearer exception message when passing an argument of type
bytes to :func:`urllib.parse.unquote`. This is only for 3.8; in 3.9 and
later this function accepts bytes inputs as well. PR by Irit Katriel.
- bpo-42065: Fix an incorrectly formatted error from
:meth:`_codecs.charmap_decode` when called with a mapped value outside the
range of valid Unicode code points. PR by Max Bernstein.
- bpo-41966: Fix pickling pure Python :class:`datetime.time` subclasses.
Patch by Dean Inwood.
- bpo-41976: Fixed a bug that was causing :func:`ctypes.util.find_library`
to return ``None`` when triying to locate a library in an environment when
gcc>=9 is available and ``ldconfig`` is not. Patch by Pablo Galindo
- bpo-41900: C14N 2.0 serialisation in xml.etree.ElementTree failed f
没有合适的资源?快使用搜索试试~ 我知道了~
懒人视频字幕提取一款OCR人工智能识别并导出SRT字幕的软件.rar
共2000个文件
py:2097个
pyc:706个
dectest:143个
需积分: 15 1 下载量 111 浏览量
2022-11-09
13:02:01
上传
评论
收藏 77.87MB RAR 举报
温馨提示
懒人字幕提取工具,这是一款简单好用的视频字幕提取工具,软件【https://www.bilibili.com/video/BV1H34y1v7q6/?spm_id_from=333.999.0.0】它不仅能够提取本地视频字幕
资源推荐
资源详情
资源评论
收起资源包目录
懒人视频字幕提取一款OCR人工智能识别并导出SRT字幕的软件.rar (2000个子文件)
_pydoc.css 102B
unicodeobject.h 46KB
unicodeobject.h 36KB
abstract.h 30KB
pyport.h 30KB
object.h 30KB
Python-ast.h 27KB
dynamic_annotations.h 22KB
pyconfig.h 21KB
pycore_atomic.h 17KB
initconfig.h 16KB
object.h 16KB
pyerrors.h 13KB
abstract.h 12KB
objimpl.h 11KB
pystate.h 10KB
pycore_pystate.h 10KB
modsupport.h 10KB
longobject.h 10KB
datetime.h 9KB
pytime.h 9KB
bytesobject.h 9KB
ceval.h 8KB
pymath.h 8KB
pycore_pymem.h 8KB
pythonrun.h 8KB
code.h 7KB
codecs.h 7KB
pythread.h 6KB
pymem.h 5KB
symtable.h 5KB
pycore_initconfig.h 5KB
opcode.h 5KB
import.h 5KB
floatobject.h 5KB
pyerrors.h 5KB
pystate.h 5KB
methodobject.h 4KB
fileutils.h 4KB
funcobject.h 4KB
pyhash.h 4KB
dictobject.h 4KB
pycore_pylifecycle.h 4KB
longintrepr.h 4KB
pymacro.h 4KB
genobject.h 4KB
dictobject.h 4KB
Python.h 4KB
objimpl.h 4KB
compile.h 4KB
pymem.h 4KB
setobject.h 3KB
frameobject.h 3KB
bytes_methods.h 3KB
pycore_hamt.h 3KB
pycore_traceback.h 3KB
descrobject.h 3KB
pymacconfig.h 3KB
parsetok.h 3KB
listobject.h 3KB
pycore_object.h 3KB
weakrefobject.h 3KB
pycore_condvar.h 3KB
memoryobject.h 3KB
pyarena.h 3KB
sliceobject.h 3KB
py_curses.h 3KB
token.h 2KB
pyexpat.h 2KB
pydtrace.h 2KB
moduleobject.h 2KB
pylifecycle.h 2KB
typeslots.h 2KB
graminit.h 2KB
bytearrayobject.h 2KB
pylifecycle.h 2KB
pycore_pathconfig.h 2KB
structmember.h 2KB
context.h 2KB
grammar.h 2KB
complexobject.h 2KB
warnings.h 2KB
pycapsule.h 2KB
classobject.h 2KB
errcode.h 2KB
tupleobject.h 2KB
fileobject.h 2KB
pycore_gil.h 2KB
pystrtod.h 1KB
structseq.h 1KB
pycore_pyerrors.h 1KB
node.h 1KB
pyctype.h 1KB
odictobject.h 1KB
patchlevel.h 1KB
pycore_fileutils.h 1KB
sysmodule.h 1KB
asdl.h 1KB
pydebug.h 1KB
eval.h 1KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
大飞哥软件自习室
- 粉丝: 494
- 资源: 1313
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 海信智能电视刷机数据 LED42K330X3D(0000) 生产用软件数据 务必确认机编一致 强制刷机 整机USB升级程序
- shujudaochuceshi
- learn-ruby.zip
- test111111111111111111
- face-detect.ipynb
- 以下是一些关于ACM(国际大学生程序设计竞赛)、NOI(全国青少年信息学奥林匹克竞赛)以及CSP(全国青少年信息学奥林匹克竞赛提
- 是一些电子设计竞赛(电赛)经验分享,包括备赛策略、项目管理、团队合作和比赛期间的注意事项
- 全能运行库修复工具DirectX Repair v4.1.0.30770
- las格式点云数据使用详解(附VS编译好的LAStools工具)
- KRPano插件一键解密大师1.4.0 (解压密码1234)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功