+++++++++++
Python News
+++++++++++
What's New in Python 3.6.4 final?
=================================
*Release date: 2017-12-18*
There were no new code changes in version 3.6.4 since v3.6.4rc1.
What's New in Python 3.6.4 release candidate 1?
===============================================
*Release date: 2017-12-05*
Core and Builtins
-----------------
- bpo-32176: co_flags.CO_NOFREE is now always set correctly by the code
object constructor based on freevars and cellvars, rather than needing to
be set correctly by the caller. This ensures it will be cleared
automatically when additional cell references are injected into a modified
code object and function.
- bpo-31949: Fixed several issues in printing tracebacks
(PyTraceBack_Print()).
* Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks.
* Setting sys.tracebacklimit to None now causes using the default limit.
* Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using
the limit LONG_MAX rather than the default limit.
* Fixed integer overflows in the case of more than 2**31 traceback items on
Windows.
* Fixed output errors handling.
- bpo-30696: Fix the interactive interpreter looping endlessly when no
memory.
- bpo-20047: Bytearray methods partition() and rpartition() now accept only
bytes-like objects as separator, as documented. In particular they now
raise TypeError rather of returning a bogus result when an integer is
passed as a separator.
- bpo-31852: Fix a segmentation fault caused by a combination of the async
soft keyword and continuation lines.
- bpo-21720: BytesWarning no longer emitted when the *fromlist* argument of
``__import__()`` or the ``__all__`` attribute of the module contain bytes
instances.
- bpo-31825: Fixed OverflowError in the 'unicode-escape' codec and in
codecs.escape_decode() when decode an escaped non-ascii byte.
- bpo-28603: Print the full context/cause chain of exceptions on interpreter
exit, even if an exception in the chain is unhashable or compares equal to
later ones. Patch by Zane Bitter.
- bpo-31786: Fix timeout rounding in the select module to round correctly
negative timeouts between -1.0 and 0.0. The functions now block waiting
for events as expected. Previously, the call was incorrectly non-blocking.
Patch by Pablo Galindo.
- bpo-31642: Restored blocking "from package import module" by setting
sys.modules["package.module"] to None.
- bpo-31626: Fixed a bug in debug memory allocator. There was a write to
freed memory after shrinking a memory block.
- bpo-31619: Fixed a ValueError when convert a string with large number of
underscores to integer with binary base.
- bpo-31592: Fixed an assertion failure in Python parser in case of a bad
`unicodedata.normalize()`. Patch by Oren Milman.
- bpo-31588: Raise a `TypeError` with a helpful error message when class
creation fails due to a metaclass with a bad ``__prepare__()`` method.
Patch by Oren Milman.
- bpo-31566: Fix an assertion failure in `_warnings.warn()` in case of a bad
``__name__`` global. Patch by Oren Milman.
- bpo-31505: Fix an assertion failure in `json`, in case
`_json.make_encoder()` received a bad `encoder()` argument. Patch by Oren
Milman.
- bpo-31492: Fix assertion failures in case of failing to import from a
module with a bad ``__name__`` attribute, and in case of failing to access
an attribute of such a module. Patch by Oren Milman.
- bpo-31490: Fix an assertion failure in `ctypes` class definition, in case
the class has an attribute whose name is specified in ``_anonymous_`` but
not in ``_fields_``. Patch by Oren Milman.
- bpo-31478: Fix an assertion failure in `_random.Random.seed()` in case the
argument has a bad ``__abs__()`` method. Patch by Oren Milman.
- bpo-31315: Fix an assertion failure in imp.create_dynamic(), when
spec.name is not a string. Patch by Oren Milman.
- bpo-31311: Fix a crash in the ``__setstate__()`` method of
`ctypes._CData`, in case of a bad ``__dict__``. Patch by Oren Milman.
- bpo-31293: Fix crashes in true division and multiplication of a timedelta
object by a float with a bad as_integer_ratio() method. Patch by Oren
Milman.
- bpo-31285: Fix an assertion failure in `warnings.warn_explicit`, when the
return value of the received loader's get_source() has a bad splitlines()
method. Patch by Oren Milman.
- bpo-30817: `PyErr_PrintEx()` clears now the ignored exception that may be
raised by `_PySys_SetObjectId()`, for example when no memory.
Library
-------
- bpo-28556: Two minor fixes for ``typing`` module: allow shallow copying
instances of generic classes, improve interaction of ``__init_subclass__``
with generics. Original PRs by Ivan Levkivskyi.
- bpo-27240: The header folding algorithm for the new email policies has
been rewritten, which also fixes bpo-30788, bpo-31831, and bpo-32182. In
particular, RFC2231 folding is now done correctly.
- bpo-32186: io.FileIO.readall() and io.FileIO.read() now release the GIL
when getting the file size. Fixed hang of all threads with inaccessible
NFS server. Patch by Nir Soffer.
- bpo-12239: Make :meth:`msilib.SummaryInformation.GetProperty` return
``None`` when the value of property is ``VT_EMPTY``. Initial patch by
Mark Mc Mahon.
- bpo-31325: Fix wrong usage of :func:`collections.namedtuple` in the
:meth:`RobotFileParser.parse() <urllib.robotparser.RobotFileParser.parse>`
method.
Initial patch by Robin Wellner.
- bpo-12382: :func:`msilib.OpenDatabase` now raises a better exception
message when it couldn't open or create an MSI file. Initial patch by
William Tisäter.
- bpo-32110: ``codecs.StreamReader.read(n)`` now returns not more than *n*
characters/bytes for non-negative *n*. This makes it compatible with
``read()`` methods of other file-like objects.
- bpo-32072: Fixed issues with binary plists:
* Fixed saving bytearrays.
* Identical objects will be saved only once.
* Equal references will be load as identical objects.
* Added support for saving and loading recursive data structures.
- bpo-32034: Make asyncio.IncompleteReadError and LimitOverrunError
pickleable.
- bpo-32015: Fixed the looping of asyncio in the case of reconnection the
socket during waiting async read/write from/to the socket.
- bpo-32011: Restored support of loading marshal files with the TYPE_INT64
code. These files can be produced in Python 2.7.
- bpo-31970: Reduce performance overhead of asyncio debug mode.
- bpo-9678: Fixed determining the MAC address in the uuid module:
* Using ifconfig on NetBSD and OpenBSD.
* Using arp on Linux, FreeBSD, NetBSD and OpenBSD.
Based on patch by Takayuki Shimizukawa.
- bpo-30057: Fix potential missed signal in signal.signal().
- bpo-31933: Fix Blake2 params leaf_size and node_offset on big endian
platforms. Patch by Jack O'Connor.
- bpo-31927: Fixed compilation of the socket module on NetBSD 8. Fixed
assertion failure or reading arbitrary data when parse a AF_BLUETOOTH
address on NetBSD and DragonFly BSD.
- bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse()
when the size of types chtype or mmask_t is less than the size of C long.
curses.box() now accepts characters as arguments. Based on patch by Steve
Fink.
- bpo-31897: plistlib now catches more errors when read binary plists and
raises InvalidFileException instead of unexpected exceptions.
- bpo-25720: Fix the method for checking pad state of curses WINDOW. Patch
by Masayuki Yamamoto.
- bpo-31893: Fixed the layout of the kqueue_event structure on OpenBSD and
NetBSD. Fixed the comparison of the kqueue_event objects.
- bpo-31891: Fixed building the curses module on NetBSD.
- bpo-28416:
没有合适的资源?快使用搜索试试~ 我知道了~
Python3.6伪装exe启动
共2000个文件
py:1966个
pyc:595个
tcl:252个
需积分: 41 3 下载量 70 浏览量
2018-03-12
01:54:01
上传
评论
收藏 31.95MB ZIP 举报
温馨提示
使用C#习惯了,刚开始学Python,VS2012安装了IronPython用tkinter总是报错,找不到Module。只是想把脚本隐藏起来,伪装的好像.exe程序一样简洁,所有把Python3.6放到Script文件夹里,用C#做了调用python.exe和pythonw.exe的小程序main.exe,他建立快捷方式后,在快捷方式路径的.exe后空格写上1或者0,就能启动main.py。这样表面简洁,内部是python,整体复制就可以使用了,通过main.py去运行python。快捷方式的参数不写是用python.exe打开main.py,大于1的数字也是python.exe打开main.py,只有等1是pythonw.exe打开main.py。快捷方式可以修改图标和名称,伪装的很像.exe了。 感觉Python好难学的感觉,太随意了,有其他语言那么规矩。
资源推荐
资源详情
资源评论
收起资源包目录
Python3.6伪装exe启动 (2000个子文件)
_pydoc.css 102B
unicodeobject.h 82KB
abstract.h 48KB
object.h 40KB
pyport.h 28KB
dynamic_annotations.h 22KB
Python-ast.h 22KB
pyconfig.h 20KB
pyerrors.h 17KB
objimpl.h 14KB
pystate.h 11KB
datetime.h 9KB
pymem.h 9KB
longobject.h 8KB
ceval.h 8KB
pyfpe.h 8KB
bytesobject.h 8KB
pymath.h 8KB
pyatomic.h 8KB
pytime.h 8KB
modsupport.h 7KB
dictobject.h 7KB
codecs.h 7KB
pythonrun.h 7KB
code.h 6KB
opcode.h 5KB
symtable.h 5KB
floatobject.h 5KB
py_curses.h 4KB
import.h 4KB
pyhash.h 4KB
funcobject.h 4KB
pylifecycle.h 4KB
methodobject.h 4KB
longintrepr.h 4KB
traceback.h 4KB
genobject.h 4KB
frameobject.h 4KB
pymacro.h 4KB
setobject.h 3KB
bytes_methods.h 3KB
pymacconfig.h 3KB
pythread.h 3KB
descrobject.h 3KB
Python.h 3KB
parsetok.h 3KB
listobject.h 3KB
weakrefobject.h 3KB
memoryobject.h 3KB
pyarena.h 3KB
fileutils.h 3KB
sliceobject.h 2KB
tupleobject.h 2KB
pyexpat.h 2KB
moduleobject.h 2KB
typeslots.h 2KB
compile.h 2KB
bytearrayobject.h 2KB
grammar.h 2KB
structmember.h 2KB
graminit.h 2KB
token.h 2KB
pydtrace.h 2KB
complexobject.h 2KB
pycapsule.h 2KB
warnings.h 2KB
classobject.h 2KB
fileobject.h 2KB
errcode.h 1KB
pystrtod.h 1KB
structseq.h 1KB
sysmodule.h 1KB
odictobject.h 1KB
pyctype.h 1KB
asdl.h 1KB
pydebug.h 1KB
pgenheaders.h 1KB
patchlevel.h 1KB
ucnhash.h 1KB
accu.h 1KB
node.h 1KB
boolobject.h 920B
marshal.h 831B
bitset.h 824B
osdefs.h 738B
cellobject.h 730B
rangeobject.h 656B
eval.h 624B
iterobject.h 592B
intrcheck.h 537B
pystrhex.h 514B
ast.h 499B
dtoa.h 477B
pystrcmp.h 459B
pygetopt.h 431B
namespaceobject.h 368B
osmodule.h 308B
bltinmodule.h 278B
pgen.h 271B
metagrammar.h 271B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
梦琳伊娜
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功