This directory contains test cases that are known to leak references.
The idea is that you can import these modules while in the interpreter
and call the leak function repeatedly. This will only be helpful if
the interpreter was built in debug mode. If the total ref count
doesn't increase, the bug has been fixed and the file should be removed
from the repository.
Note: be careful to check for cyclic garbage. Sometimes it may be helpful
to define the leak function like:
def leak():
def inner_leak():
# this is the function that leaks, but also creates cycles
inner_leak()
gc.collect() ; gc.collect() ; gc.collect()
Here's an example interpreter session for test_gestalt which still leaks:
>>> from test.leakers.test_gestalt import leak
[24275 refs]
>>> leak()
[28936 refs]
>>> leak()
[28938 refs]
>>> leak()
[28940 refs]
>>>
Once the leak is fixed, the test case should be moved into an appropriate
test (even if it was originally from the test suite). This ensures the
regression doesn't happen again. And if it does, it should be easier
to track down.
没有合适的资源?快使用搜索试试~ 我知道了~
SecureCRT v8.5.4.1942
共828个文件
pyc:605个
dectest:143个
txt:33个
需积分: 5 3 下载量 194 浏览量
2022-04-09
19:34:00
上传
评论
收藏 28.58MB RAR 举报
温馨提示
SecureCRT是一款支持SSH(SSH1和SSH2)的终端仿真程序,简单地说是Windows下登录UNIX或Linux服务器主机的软件。 SecureCRT支持SSH,同时支持Telnet和rlogin协议。SecureCRT是一款用于连接运行包括Windows、UNIX和VMS的理想工具。通过使用内含的VCP命令行程序可以进行加密文件的传输。有流行CRTTelnet客户机的所有特点,包括:自动注册、对不同主机保持不同的特性、打印功能、颜色设置、可变屏幕尺寸、用户定义的键位图和优良的VT100,VT102,VT220和ANSI竞争.能从命令行中运行或从浏览器中运行.其它特点包括文本手稿、易于使用的工具条、用户的键位图编辑器、可定制的ANSI颜色等.SecureCRT的SSH协议支持DES,3DES和RC4密码和密码与RSA鉴别。
资源详情
资源评论
资源推荐
收起资源包目录
SecureCRT v8.5.4.1942 (828个子文件)
5ed36f99.0 3KB
99d0fa06.0 3KB
0e4015b9.0 972B
ce7b8643.0 972B
4e1295a3.0 828B
6e88d7b8.0 828B
pluck-ulaw.aifc 7KB
pluck-pcm32.aiff 26KB
pluck-pcm24.aiff 20KB
pluck-pcm16.aiff 13KB
pluck-pcm8.aiff 7KB
pluck-pcm32.au 26KB
pluck-pcm16.au 13KB
pluck-pcm8.au 6KB
pluck-ulaw.au 6KB
fetch_macholib.bat 75B
python.bmp 1KB
command_template 764B
README.ctypes 302B
randomBound32.decTest 300KB
randoms.decTest 288KB
squareroot.decTest 192KB
fma.decTest 191KB
powersqrt.decTest 155KB
add.decTest 140KB
dqFMA.decTest 127KB
ddFMA.decTest 100KB
power.decTest 94KB
extra.decTest 93KB
dqAdd.decTest 87KB
ddAdd.decTest 76KB
rounding.decTest 64KB
base.decTest 61KB
dqBase.decTest 58KB
dqDivide.decTest 54KB
ddBase.decTest 53KB
dsBase.decTest 48KB
quantize.decTest 47KB
ddDivide.decTest 47KB
subtract.decTest 44KB
dqQuantize.decTest 42KB
ddQuantize.decTest 41KB
dqSubtract.decTest 41KB
exp.decTest 39KB
multiply.decTest 38KB
divide.decTest 38KB
comparetotmag.decTest 35KB
rescale.decTest 35KB
ln.decTest 35KB
ddSubtract.decTest 35KB
comparetotal.decTest 34KB
dqCompare.decTest 32KB
log10.decTest 32KB
dqCompareTotalMag.decTest 32KB
dqMultiply.decTest 32KB
ddCompareTotalMag.decTest 32KB
dqEncode.decTest 31KB
dqRemainderNear.decTest 31KB
dqCompareTotal.decTest 30KB
ddCompareTotal.decTest 30KB
dqOr.decTest 30KB
compare.decTest 30KB
ddCompare.decTest 30KB
ddRemainderNear.decTest 30KB
dqNextToward.decTest 29KB
dqCompareSig.decTest 29KB
ddMultiply.decTest 29KB
dqAnd.decTest 28KB
ddCompareSig.decTest 28KB
dqXor.decTest 28KB
remainder.decTest 27KB
dqRemainder.decTest 27KB
dqCanonical.decTest 27KB
ddRemainder.decTest 26KB
remainderNear.decTest 25KB
nexttoward.decTest 25KB
ddNextToward.decTest 24KB
ddEncode.decTest 24KB
dqRotate.decTest 20KB
divideint.decTest 20KB
dqDivideInt.decTest 19KB
ddDivideInt.decTest 19KB
dqShift.decTest 19KB
ddCanonical.decTest 18KB
ddAnd.decTest 18KB
dqSameQuantum.decTest 18KB
ddXor.decTest 17KB
ddSameQuantum.decTest 17KB
maxmag.decTest 17KB
samequantum.decTest 16KB
max.decTest 16KB
and.decTest 16KB
xor.decTest 16KB
dqInvert.decTest 16KB
min.decTest 16KB
dqScaleB.decTest 16KB
ddOr.decTest 16KB
dsEncode.decTest 16KB
or.decTest 15KB
minmag.decTest 15KB
共 828 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
Heng|
- 粉丝: 57
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0