├── Lib ├── test │ ├── nullcert.pem │ ├── leakers │ │ └── __init__.py │ ├── test_import │ │ ├── data │ │ │ ├── package │ │ │ │ ├── submodule.py │ │ │ │ └── __init__.py │ │ │ ├── package2 │ │ │ │ ├── submodule2.py │ │ │ │ └── submodule1.py │ │ │ └── circular_imports │ │ │ │ ├── basic2.py │ │ │ │ ├── util.py │ │ │ │ ├── indirect.py │ │ │ │ ├── subpkg │ │ │ │ ├── util.py │ │ │ │ └── subpackage2.py │ │ │ │ ├── binding2.py │ │ │ │ ├── binding.py │ │ │ │ ├── basic.py │ │ │ │ ├── rebinding2.py │ │ │ │ ├── subpackage.py │ │ │ │ └── rebinding.py │ │ └── __main__.py │ ├── bad_coding.py │ ├── relimport.py │ ├── bad_coding2.py │ ├── coding20731.py │ ├── badsyntax_3131.py │ ├── cjkencodings │ │ ├── big5hkscs-utf8.txt │ │ ├── gbk.txt │ │ ├── big5.txt │ │ ├── cp949.txt │ │ ├── hz-utf8.txt │ │ ├── johab.txt │ │ ├── euc_jp.txt │ │ ├── euc_kr.txt │ │ ├── gb18030.txt │ │ ├── gb2312.txt │ │ ├── big5hkscs.txt │ │ ├── hz.txt │ │ ├── shift_jis.txt │ │ ├── euc_jisx0213.txt │ │ └── shift_jisx0213.txt │ ├── __init__.py │ ├── __main__.py │ ├── test_importlib │ │ ├── namespace_pkgs │ │ │ ├── not_a_namespace_pkg │ │ │ │ └── foo │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── one.py │ │ │ ├── module_and_namespace_package │ │ │ │ ├── a_test │ │ │ │ │ └── empty │ │ │ │ └── a_test.py │ │ │ ├── portion1 │ │ │ │ └── foo │ │ │ │ │ └── one.py │ │ │ ├── portion2 │ │ │ │ └── foo │ │ │ │ │ └── two.py │ │ │ ├── both_portions │ │ │ │ └── foo │ │ │ │ │ ├── one.py │ │ │ │ │ └── two.py │ │ │ ├── project1 │ │ │ │ └── parent │ │ │ │ │ └── child │ │ │ │ │ └── one.py │ │ │ ├── project2 │ │ │ │ └── parent │ │ │ │ │ └── child │ │ │ │ │ └── two.py │ │ │ ├── project3 │ │ │ │ └── parent │ │ │ │ │ └── child │ │ │ │ │ └── three.py │ │ │ ├── nested_portion1.zip │ │ │ ├── missing_directory.zip │ │ │ └── top_level_portion1.zip │ │ ├── __main__.py │ │ ├── builtin │ │ │ ├── __main__.py │ │ │ └── __init__.py │ │ ├── frozen │ │ │ ├── __main__.py │ │ │ └── __init__.py │ │ ├── import_ │ │ │ ├── __main__.py │ │ │ └── __init__.py │ │ ├── source │ │ │ ├── __main__.py │ │ │ └── __init__.py │ │ ├── extension │ │ │ ├── __main__.py │ │ │ └── __init__.py │ │ └── __init__.py │ ├── empty.vbs │ ├── pstats.pck │ ├── zipdir.zip │ ├── audiotest.au │ ├── testtar.tar │ ├── imp_dummy.py │ ├── sgml_input.html │ ├── cfgparser.1 │ ├── test_warnings │ │ ├── __main__.py │ │ └── data │ │ │ └── import_warning.py │ ├── badsyntax_pep3120.py │ ├── sndhdrdata │ │ ├── sndhdr.au │ │ ├── sndhdr.8svx │ │ ├── sndhdr.aifc │ │ ├── sndhdr.aiff │ │ ├── sndhdr.hcom │ │ ├── sndhdr.sndt │ │ ├── sndhdr.voc │ │ └── sndhdr.wav │ ├── test_asyncio │ │ ├── __main__.py │ │ └── echo2.py │ ├── xmltestdata │ │ ├── test.xml │ │ ├── test.xml.out │ │ └── simple.xml │ ├── zip_cp437_header.zip │ ├── Sine-1000Hz-300ms.aif │ ├── dtracedata │ │ ├── assert_usable.d │ │ ├── assert_usable.stp │ │ ├── gc.d.expected │ │ └── gc.stp.expected │ ├── imghdrdata │ │ ├── python.bmp │ │ ├── python.exr │ │ ├── python.gif │ │ ├── python.jpg │ │ ├── python.pbm │ │ ├── python.pgm │ │ ├── python.png │ │ ├── python.ppm │ │ ├── python.ras │ │ ├── python.sgi │ │ ├── python.tiff │ │ └── python.webp │ ├── audiodata │ │ ├── pluck-alaw.aifc │ │ ├── pluck-pcm16.au │ │ ├── pluck-pcm16.wav │ │ ├── pluck-pcm24.au │ │ ├── pluck-pcm24.wav │ │ ├── pluck-pcm32.au │ │ ├── pluck-pcm32.wav │ │ ├── pluck-pcm8.aiff │ │ ├── pluck-pcm8.au │ │ ├── pluck-pcm8.wav │ │ ├── pluck-ulaw.aifc │ │ ├── pluck-ulaw.au │ │ ├── pluck-pcm16.aiff │ │ ├── pluck-pcm24.aiff │ │ └── pluck-pcm32.aiff │ ├── dis_module.py │ ├── test_json │ │ └── __main__.py │ ├── test_source_encoding.py │ ├── test_email │ │ ├── __main__.py │ │ └── data │ │ │ ├── audiotest.au │ │ │ ├── PyBanner048.gif │ │ │ ├── msg_35.txt │ │ │ ├── msg_11.txt │ │ │ └── msg_23.txt │ ├── test_tools │ │ └── __main__.py │ ├── test_doctest3.txt │ ├── encoded_modules │ │ ├── module_koi8_r.py │ │ └── module_iso_8859_1.py │ ├── badsyntax_future10.py │ ├── test_lib2to3.py │ ├── test_future4.py │ ├── data │ │ └── README │ ├── subprocessdata │ │ └── input_reader.py │ └── badsyntax_future8.py ├── urllib │ └── __init__.py ├── email │ └── mime │ │ └── __init__.py ├── pydoc_data │ ├── __init__.py │ └── _pydoc.css ├── sqlite3 │ └── test │ │ ├── __init__.py │ │ ├── dbapi.py │ │ ├── hooks.py │ │ ├── types.py │ │ ├── factory.py │ │ ├── regression.py │ │ ├── transactions.py │ │ └── userfunctions.py ├── tkinter │ ├── test │ │ ├── __init__.py │ │ ├── test_ttk │ │ │ └── __init__.py │ │ └── test_tkinter │ │ │ └── __init__.py │ └── __main__.py ├── lib2to3 │ ├── __init__.py │ ├── tests │ │ ├── data │ │ │ ├── fixers │ │ │ │ ├── myfixes │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── fix_first.py │ │ │ │ │ ├── fix_explicit.py │ │ │ │ │ ├── fix_last.py │ │ │ │ │ └── fix_preorder.py │ │ │ │ ├── parrot_example.py │ │ │ │ ├── no_fixer_cls.py │ │ │ │ └── bad_order.py │ │ │ ├── bom.py │ │ │ ├── false_encoding.py │ │ │ └── crlf.py │ │ └── __main__.py │ ├── fixes │ │ └── __init__.py │ ├── __main__.py │ └── pgen2 │ │ └── __init__.py ├── concurrent │ └── __init__.py ├── xmlrpc │ └── __init__.py ├── unittest │ └── test │ │ └── dummy.py ├── __phello__.foo.py ├── collections │ └── abc.py ├── dbm │ ├── gnu.py │ └── ndbm.py ├── idlelib │ └── Icons │ │ ├── tk.gif │ │ ├── idle.ico │ │ ├── folder.gif │ │ ├── idle.icns │ │ ├── idle_16.gif │ │ ├── idle_16.png │ │ ├── idle_32.gif │ │ ├── idle_32.png │ │ ├── idle_48.gif │ │ ├── idle_48.png │ │ ├── python.gif │ │ ├── minusnode.gif │ │ ├── plusnode.gif │ │ └── openfolder.gif ├── ensurepip │ ├── __main__.py │ └── _bundled │ │ ├── pip-9.0.1-py2.py3-none-any.whl │ │ └── setuptools-28.8.0-py2.py3-none-any.whl ├── ctypes │ ├── test │ │ └── __main__.py │ └── macholib │ │ ├── fetch_macholib.bat │ │ └── fetch_macholib ├── xml │ └── etree │ │ └── cElementTree.py ├── distutils │ ├── command │ │ ├── wininst-10.0.exe │ │ ├── wininst-14.0.exe │ │ ├── wininst-6.0.exe │ │ ├── wininst-7.1.exe │ │ ├── wininst-8.0.exe │ │ ├── wininst-9.0.exe │ │ ├── wininst-10.0-amd64.exe │ │ ├── wininst-14.0-amd64.exe │ │ └── wininst-9.0-amd64.exe │ └── debug.py ├── curses │ └── panel.py ├── site-packages │ └── README.txt └── asyncio │ ├── log.py │ └── compat.py ├── Mac ├── Resources │ ├── app │ │ ├── PkgInfo │ │ └── Resources │ │ │ ├── PythonApplet.icns │ │ │ └── PythonInterpreter.icns │ └── iconsrc │ │ ├── IDE.psd │ │ ├── PythonIcon.psd │ │ ├── PythonApplet.psd │ │ ├── PythonSource.psd │ │ ├── PythonWSource.psd │ │ ├── PackageManager.psd │ │ └── PythonCompiled.psd ├── IDLE │ └── IDLE.app │ │ └── Contents │ │ ├── PkgInfo │ │ └── Resources │ │ ├── IDLE.icns │ │ ├── PythonSource.icns │ │ └── PythonCompiled.icns ├── Icons │ ├── IDLE.icns │ ├── Disk Image.icns │ ├── Python Folder.icns │ ├── PythonCompiled.icns │ ├── PythonLauncher.icns │ ├── PythonSource.icns │ └── ReadMe.txt ├── BuildScript │ └── resources │ │ └── background.jpg └── PythonLauncher │ └── English.lproj │ ├── MainMenu.nib │ └── objects.nib │ ├── MyDocument.nib │ └── objects.nib │ └── PreferenceWindow.nib │ └── objects.nib ├── Tools ├── test2to3 │ ├── test2to3 │ │ ├── __init__.py │ │ └── hello.py │ ├── setup.py │ └── README ├── freeze │ ├── hello.py │ ├── test │ │ └── ok.py │ └── flag.py ├── msi │ └── bundle │ │ ├── bootstrap │ │ └── pch.cpp │ │ └── SideBar.png ├── pynche │ └── __init__.py ├── i18n │ └── pygettext.py ├── scripts │ ├── pydoc3 │ ├── 2to3 │ └── idle3 └── buildbot │ └── buildmsi.bat ├── PCbuild ├── build_env.bat └── clean.bat ├── Objects └── README ├── Parser ├── parsetok_pgen.c └── tokenizer_pgen.c ├── Misc ├── NEWS.d │ ├── next │ │ ├── Library │ │ │ ├── 0352.bpo-29169.8ypApm.rst │ │ │ ├── 0138.bpo-28228.1qBwdM.rst │ │ │ ├── 0320.bpo-30520.VYzaSn.rst │ │ │ ├── 0137.bpo-28226.nMXiwU.rst │ │ │ ├── 0146.bpo-28229.BKAxcS.rst │ │ │ ├── 0288.bpo-30101.hxUqSL.rst │ │ │ ├── 0101.bpo-27972.ZK-GFm.rst │ │ │ ├── 0123.bpo-27932.mtgl-6.rst │ │ │ ├── 0197.bpo-28923.naVULD.rst │ │ │ ├── 0315.bpo-16500.9ypo9k.rst │ │ │ ├── 0167.bpo-28353.sKGbLL.rst │ │ │ ├── 0222.bpo-29416.KJGyI_.rst │ │ │ ├── 0196.bpo-28871.cPMXCJ.rst │ │ │ ├── 0213.bpo-29197.sZssFZ.rst │ │ │ ├── 0246.bpo-28682.hUxdej.rst │ │ │ ├── 0267.bpo-10030.ZdhU3k.rst │ │ │ ├── 0336.bpo-24484.vFem8K.rst │ │ │ ├── 0104.bpo-28371.U9Zqdk.rst │ │ │ ├── 0111.bpo-26909.ASiakT.rst │ │ │ ├── 0122.bpo-0.iPpjqX.rst │ │ │ ├── 0143.bpo-28227.7lUz8i.rst │ │ │ ├── 0148.bpo-28317.LgHleA.rst │ │ │ ├── 0175.bpo-28549.ShnM2y.rst │ │ │ ├── 0201.bpo-29079.g4YLix.rst │ │ │ ├── 0108.bpo-28325.wAHmnK.rst │ │ │ ├── 0110.bpo-28176.sU8R6L.rst │ │ │ ├── 0118.bpo-28181.NGc4Yv.rst │ │ │ ├── 0158.bpo-28448.5bduWe.rst │ │ │ ├── 0184.bpo-28752.Q-4oRE.rst │ │ │ ├── 0210.bpo-29192.mY31H8.rst │ │ │ ├── 0214.bpo-28735.admHLO.rst │ │ │ ├── 0236.bpo-29376.rrJhJy.rst │ │ │ ├── 0243.bpo-9303.kDZRSd.rst │ │ │ ├── 0274.bpo-29995.b3mOqx.rst │ │ │ ├── 0291.bpo-30205.BsxO34.rst │ │ │ ├── 0339.bpo-23894.k2pADV.rst │ │ │ ├── 2017-08-17-20-29-45.bpo-31109.7qtC64.rst │ │ │ ├── 2017-09-13-13-33-39.bpo-31457.bIVBtI.rst │ │ │ ├── 0103.bpo-28372.njcIPk.rst │ │ │ ├── 0127.bpo-25651.3UhyPo.rst │ │ │ ├── 0163.bpo-28488.TgO112.rst │ │ │ ├── 0256.bpo-25455.ZsahHN.rst │ │ │ ├── 2017-07-04-13-48-21.bpo-30319.hg_3TX.rst │ │ │ ├── 2017-07-26-13-18-29.bpo-5288.o_xEGj.rst │ │ │ ├── 2017-08-01-09-32-58.bpo-31061.husAYX.rst │ │ │ ├── 2017-09-04-16-39-49.bpo-29136.vSn1oR.rst │ │ │ ├── 0102.bpo-28399.QKIqRX.rst │ │ │ ├── 0105.bpo-28370.18jBuZ.rst │ │ │ ├── 0115.bpo-27599.itvm8T.rst │ │ │ ├── 0144.bpo-28225.6N28nu.rst │ │ │ ├── 0145.bpo-28321.bQ-IIX.rst │ │ │ ├── 0150.bpo-20766.4kvCzx.rst │ │ │ ├── 0151.bpo-24452.pVsjt0.rst │ │ │ ├── 0156.bpo-28480.9lHw6m.rst │ │ │ ├── 0199.bpo-9770.WJJnwP.rst │ │ │ ├── 0248.bpo-28231.MG1X09.rst │ │ │ ├── 0252.bpo-26121.LX-pQA.rst │ │ │ ├── 0285.bpo-30070.XM_B41.rst │ │ │ ├── 0298.bpo-29990.HWV6KE.rst │ │ │ ├── 0324.bpo-27585.0Ugqqu.rst │ │ │ ├── 0333.bpo-30508.wNWRS2.rst │ │ │ ├── 2017-07-18-23-47-51.bpo-30961.064jz0.rst │ │ │ ├── 2017-08-11-19-30-00.bpo-31185.i6TPgL.rst │ │ │ ├── 2017-09-16-01-53-11.bpo-31482.39s5dS.rst │ │ │ ├── 0112.bpo-26654.XtzTE9.rst │ │ │ ├── 0149.bpo-27998.CPhy4H.rst │ │ │ ├── 0202.bpo-28985.TMWJFg.rst │ │ │ ├── 0275.bpo-29998.poeIKD.rst │ │ │ ├── 0282.bpo-30218.ab5oIg.rst │ │ │ ├── 0299.bpo-30285.s1vpsO.rst │ │ │ ├── 0305.bpo-9850.c6SMxt.rst │ │ │ ├── 0312.bpo-30003.BOl9HE.rst │ │ │ ├── 0331.bpo-11822.GQmKw3.rst │ │ │ ├── 0346.bpo-21071.Sw37rs.rst │ │ │ ├── 2017-06-24-18-55-58.bpo-30596.VhB8iG.rst │ │ │ ├── 2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst │ │ │ ├── 2017-06-30-23-05-47.bpo-30302.itwK_k.rst │ │ │ ├── 2017-09-08-14-19-57.bpo-31400.YOTPKi.rst │ │ │ ├── 0114.bpo-27906.TBBXrv.rst │ │ │ ├── 0125.bpo-28200.4IEbr7.rst │ │ │ ├── 0211.bpo-29219.kxui7t.rst │ │ │ ├── 0212.bpo-29210.y1UHWf.rst │ │ │ ├── 0239.bpo-29703.ZdsPCR.rst │ │ │ ├── 0280.bpo-30068.n4q47r.rst │ │ │ ├── 0318.bpo-30526.7zTG30.rst │ │ │ ├── 0319.bpo-30557.uykrLf.rst │ │ │ ├── 0341.bpo-30616.I2mDTz.rst │ │ │ ├── 2017-07-30-22-00-12.bpo-30987.228rW0.rst │ │ │ ├── 2017-08-01-18-26-55.bpo-31080.2CFVCO.rst │ │ │ ├── 0159.bpo-18219.1ANQN1.rst │ │ │ ├── 0179.bpo-19717.HXCAIz.rst │ │ │ ├── 0209.bpo-29193.CgcjEx.rst │ │ │ ├── 0225.bpo-29851.jqs_5s.rst │ │ │ ├── 0234.bpo-28518.o-Q2Nw.rst │ │ │ ├── 0273.bpo-29962.r-ibsN.rst │ │ │ ├── 0287.bpo-29822.G7dX13.rst │ │ │ ├── 0314.bpo-30470.wAYhUc.rst │ │ │ ├── 2017-07-04-13-10-52.bpo-30828.CLvEvV.rst │ │ │ ├── 2017-08-09-13-45-23.bpo-31072.NLXDPV.rst │ │ │ ├── 2017-08-28-13-01-05.bpo-10746.nmAvfu.rst │ │ │ ├── 0106.bpo-28369.8DTANe.rst │ │ │ ├── 0109.bpo-27759.qpMDGq.rst │ │ │ ├── 0113.bpo-28174.CV1UdI.rst │ │ │ ├── 0116.bpo-28114.gmFXsA.rst │ │ │ ├── 0130.bpo-18893.osiX5c.rst │ │ │ ├── 0165.bpo-27025.foAViS.rst │ │ │ ├── 0193.bpo-16255.p2YA85.rst │ │ │ ├── 0215.bpo-29290.XBqptF.rst │ │ │ ├── 0242.bpo-28963.tPl8dq.rst │ │ │ ├── 0249.bpo-29645.XCxTHM.rst │ │ │ ├── 0253.bpo-28692.CDt-Gb.rst │ │ │ ├── 0261.bpo-29901.QdgMvW.rst │ │ │ ├── 0265.bpo-27863.pPYHHI.rst │ │ │ ├── 0271.bpo-29654.xRFPge.rst │ │ │ ├── 0279.bpo-29694.LWKxb1.rst │ │ │ ├── 0316.bpo-30378.R_19_5.rst │ │ │ ├── 0325.bpo-29743.en2P4s.rst │ │ │ ├── 2017-07-27-11-33-58.bpo-30502.GJlfU8.rst │ │ │ ├── 2017-09-05-14-55-28.bpo-31178.JrSFo7.rst │ │ │ ├── 0121.bpo-28075.aLiUs9.rst │ │ │ ├── 0241.bpo-29704.WHbx27.rst │ │ │ ├── 0251.bpo-29619.WIGVxO.rst │ │ │ ├── 0257.bpo-29884.kWXR8W.rst │ │ │ ├── 0270.bpo-29931.tfcTwK.rst │ │ │ ├── 0293.bpo-30103.mmPjf5.rst │ │ │ ├── 0294.bpo-30185.Tiu1n8.rst │ │ │ ├── 0317.bpo-30245.Xoa_8Y.rst │ │ │ ├── 0350.bpo-30879.N3KI-o.rst │ │ │ ├── 2017-06-26-11-01-59.bpo-30532.qTeL1o.rst │ │ │ ├── 2017-07-18-13-24-50.bpo-19896.-S0IWu.rst │ │ │ ├── 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst │ │ │ ├── 0119.bpo-25270.jrZruM.rst │ │ │ ├── 0142.bpo-28332.Ed8fNk.rst │ │ │ ├── 0154.bpo-28240.IwQMgd.rst │ │ │ ├── 0160.bpo-28115.4FIjIE.rst │ │ │ ├── 0164.bpo-25464.HDUTCu.rst │ │ │ ├── 0203.bpo-15812.R1U-Ec.rst │ │ │ ├── 0233.bpo-29742.8hqfEO.rst │ │ │ ├── 0245.bpo-29728.37jMwb.rst │ │ │ ├── 0268.bpo-29942.CsGNuT.rst │ │ │ ├── 0334.bpo-28994.9vzun1.rst │ │ │ ├── 0343.bpo-29755.diQcY_.rst │ │ │ ├── 0107.bpo-28368.n594X4.rst │ │ │ ├── 0117.bpo-25895.j92qoQ.rst │ │ │ ├── 0136.bpo-28314.N7YrkN.rst │ │ │ ├── 0161.bpo-28469.QZW1Np.rst │ │ │ ├── 0168.bpo-20491.ObgnQ2.rst │ │ │ ├── 0198.bpo-28427.vUd-va.rst │ │ │ ├── 0206.bpo-20804.XyZhvi.rst │ │ │ ├── 0221.bpo-29444.cEwgmk.rst │ │ │ ├── 0226.bpo-10379.mRlZsT.rst │ │ │ ├── 0244.bpo-29623.D3-NP2.rst │ │ │ ├── 0286.bpo-29960.g0wr3r.rst │ │ │ ├── 0309.bpo-30301.ywOkjN.rst │ │ │ ├── 0313.bpo-30414.jGl1Lb.rst │ │ │ ├── 0340.bpo-30038.vb4DWk.rst │ │ │ ├── 0349.bpo-30746.7drQI0.rst │ │ │ ├── 0100.bpo-24142.IrZnFs.rst │ │ │ ├── 0166.bpo-28430.4MiEYT.rst │ │ │ ├── 0173.bpo-23262.6EVB7N.rst │ │ │ ├── 0194.bpo-20191.Q7uZCS.rst │ │ │ ├── 0200.bpo-13051.YzC1Te.rst │ │ │ ├── 0204.bpo-28961.Rt93vg.rst │ │ │ ├── 0208.bpo-29195.vK5LjU.rst │ │ │ ├── 0223.bpo-29100.LAAERS.rst │ │ │ ├── 0227.bpo-29534.Ug3HPU.rst │ │ │ ├── 0337.bpo-24744.NKxUj3.rst │ │ │ ├── 0351.bpo-30119.4UMLNh.rst │ │ │ ├── 2017-07-04-22-00-20.bpo-30794.qFwozm.rst │ │ │ ├── 2017-07-07-02-18-57.bpo-29854.J8wKb_.rst │ │ │ ├── 2017-07-17-11-35-00.bpo-25684.usELVx.rst │ │ │ ├── 2017-08-16-20-28-06.bpo-18966.mjHWk2.rst │ │ │ ├── 2017-09-07-12-15-56.bpo-27629.7xJXEy.rst │ │ │ ├── 2017-09-13-23-27-39.bpo-28556.UmTQvv.rst │ │ │ ├── 0155.bpo-28240.hqzQvS.rst │ │ │ ├── 0182.bpo-20572.NCRmvz.rst │ │ │ ├── 0231.bpo-29532.YCwVQn.rst │ │ │ ├── 0235.bpo-28624.43TJib.rst │ │ │ ├── 0255.bpo-29800.d2xASa.rst │ │ │ ├── 0269.bpo-29953.Q1hSt-.rst │ │ │ ├── 0284.bpo-22352.gIQ5qC.rst │ │ │ ├── 0326.bpo-29870.p960Ih.rst │ │ │ ├── 0348.bpo-30664.oyqiUl.rst │ │ │ ├── 2017-08-23-00-31-32.bpo-29741.EBn_DM.rst │ │ │ ├── 2017-09-06-19-41-01.bpo-28958.x4-K5F.rst │ │ │ ├── README.rst │ │ │ ├── 0139.bpo-28322.l9hzap.rst │ │ │ ├── 0176.bpo-27517.1CYM8A.rst │ │ │ ├── 0264.bpo-25996.L2_giP.rst │ │ │ ├── 0278.bpo-29692.oyWrAE.rst │ │ │ ├── 0304.bpo-30299.O-5d4A.rst │ │ │ ├── 2017-08-29-07-14-14.bpo-31281.DcFyNs.rst │ │ │ ├── 0124.bpo-25400.d9Qn0E.rst │ │ │ ├── 0147.bpo-28380.jKPMzH.rst │ │ │ ├── 0180.bpo-28548.IeNrnG.rst │ │ │ ├── 0181.bpo-25659.lE2IlT.rst │ │ │ ├── 0237.bpo-7769.xGRJWh.rst │ │ │ ├── 0240.bpo-29271.y8Vj2v.rst │ │ │ ├── 0250.bpo-28298.PNOPsT.rst │ │ │ ├── 0259.bpo-29861.t2ZoRK.rst │ │ │ ├── 0262.bpo-23890.GCFAAZ.rst │ │ │ ├── 0272.bpo-29649.2eIxQ8.rst │ │ │ ├── 0301.bpo-30340.kvtGm-.rst │ │ │ ├── 2017-07-30-10-07-58.bpo-30522.gAX1N-.rst │ │ │ ├── 0129.bpo-27611.A_ArH_.rst │ │ │ ├── 0140.bpo-28257.SVD_IH.rst │ │ │ ├── 0141.bpo-27358.t288Iv.rst │ │ │ ├── 0195.bpo-19542.5tCkaK.rst │ │ │ ├── 0219.bpo-29218.-Qoti0.rst │ │ │ ├── 0247.bpo-26915.qShJZO.rst │ │ │ ├── 0260.bpo-25803.CPDR0W.rst │ │ │ ├── 0321.bpo-30463.CdOuSl.rst │ │ │ ├── 2017-07-20-02-29-49.bpo-29403.3RinCV.rst │ │ │ ├── 2017-08-21-17-50-27.bpo-31247.8S3zJp.rst │ │ │ ├── 0186.bpo-28740.rY8kz-.rst │ │ │ ├── 0189.bpo-27030.GoGlFH.rst │ │ │ ├── 0216.bpo-29335._KC7IK.rst │ │ │ ├── 0217.bpo-29338.EpvQJl.rst │ │ │ ├── 0258.bpo-19930.QCjO6A.rst │ │ │ ├── 0303.bpo-30048.ELRx8R.rst │ │ │ ├── 0311.bpo-30149.hE649r.rst │ │ │ ├── 0097.bpo-30177.JGIJNL.rst │ │ │ ├── 0126.bpo-27778.Yyo1aP.rst │ │ │ ├── 0132.bpo-27897.I0Ppmx.rst │ │ │ ├── 0188.bpo-28835.iWBYH7.rst │ │ │ ├── 0228.bpo-29576.F-b8_5.rst │ │ │ ├── 0230.bpo-29110.wmE-_T.rst │ │ │ ├── 0323.bpo-30014.x7Yx6o.rst │ │ │ ├── 0327.bpo-30605.XqGz1r.rst │ │ │ ├── 2017-08-18-17-16-38.bpo-5001.gwnthq.rst │ │ │ ├── 2017-08-24-14-03-14.bpo-27584.r11JHZ.rst │ │ │ ├── 2017-08-30-11-26-14.bpo-27144.PEDJsE.rst │ │ │ ├── 0128.bpo-27348.tDx7Vw.rst │ │ │ ├── 0169.bpo-28255.fHNZu0.rst │ │ │ ├── 0220.bpo-29377.4AvSrC.rst │ │ │ ├── 0254.bpo-8256.jAwGQH.rst │ │ │ ├── 0281.bpo-10076.qCnwly.rst │ │ │ ├── 2017-08-10-13-20-02.bpo-31151.730VBI.rst │ │ │ ├── 2017-09-13-18-05-56.bpo-31234.lGkcPg.rst │ │ │ ├── 2017-09-13-19-55-35.bpo-31544.beTh6t.rst │ │ │ ├── 0099.bpo-29581.gHCrxP.rst │ │ │ ├── 0120.bpo-22493.Mv_hZf.rst │ │ │ ├── 0133.bpo-28275.EhWIsz.rst │ │ │ ├── 0177.bpo-28387.1clJu7.rst │ │ │ ├── 0191.bpo-26937.c9kgiA.rst │ │ │ ├── 0276.bpo-30017.cKBuhU.rst │ │ │ ├── 0290.bpo-30228.nF8Ov4.rst │ │ │ ├── 0322.bpo-30418.EwISQm.rst │ │ │ ├── 0330.bpo-30624.g5oVSn.rst │ │ │ ├── 0332.bpo-30645.xihJ4Y.rst │ │ │ ├── 2017-07-17-12-32-47.bpo-30946.DUo-uA.rst │ │ │ ├── 2017-08-02-12-48-15.bpo-31107.1t2hn5.rst │ │ │ ├── 2017-08-08-15-14-34.bpo-24700.44mvNV.rst │ │ │ ├── 2017-08-13-09-17-01.bpo-31183.-2_YGj.rst │ │ │ └── 2017-09-13-02-17-11.bpo-31233.r-IPIu.rst │ │ ├── Build │ │ │ ├── 0040.bpo-29384.v3IqBE.rst │ │ │ ├── 0036.bpo-23903.JXJ889.rst │ │ │ ├── 0039.bpo-26851.R5243g.rst │ │ │ ├── 0044.bpo-29643.4WLIJQ.rst │ │ │ ├── 0029.bpo-28444.zkc9nT.rst │ │ │ ├── 0030.bpo-26359.CLz6qy.rst │ │ │ ├── 0032.bpo-28849.AzRRF5.rst │ │ │ ├── 0022.bpo-26661.Z_HNbs.rst │ │ │ ├── 0037.bpo-29080.b3qLQT.rst │ │ │ ├── 0027.bpo-28248.KY_-en.rst │ │ │ ├── 0028.bpo-28208.DtoP1i.rst │ │ │ ├── 0042.bpo-29572.iZ1XKK.rst │ │ │ ├── 0050.bpo-30687.8mqHnu.rst │ │ │ ├── 0038.bpo-28768.b9_a6E.rst │ │ │ ├── 0047.bpo-28787.vhH_6a.rst │ │ │ ├── 2017-09-04-14-43-46.bpo-31341.XLuZFk.rst │ │ │ ├── 0019.bpo-28676.Wxf6Ds.rst │ │ │ ├── 0020.bpo-15819.QVDr3E.rst │ │ │ ├── 0031.bpo-10656.pR8FFU.rst │ │ │ ├── 2017-09-08-11-48-11.bpo-31354.4f-VJK.rst │ │ │ ├── 2017-07-05-16-54-59.bpo-30854.sPADRI.rst │ │ │ ├── 0035.bpo-28762.Ru0YN_.rst │ │ │ ├── README.rst │ │ │ ├── 0025.bpo-13756.sslhpC.rst │ │ │ ├── 0023.bpo-28258.iKtAHd.rst │ │ │ ├── 0024.bpo-21085.2VvyUF.rst │ │ │ ├── 0026.bpo-21124.1bbArU.rst │ │ │ ├── 0034.bpo-28538.FqtN7v.rst │ │ │ ├── 0045.bpo-23404.PdYVWg.rst │ │ │ ├── 0048.bpo-29941.ylh45A.rst │ │ │ └── 0049.bpo-20210.MN_n-r.rst │ │ ├── Windows │ │ │ ├── 0075.bpo-28137.C1uvzY.rst │ │ │ ├── 0079.bpo-28161.hF91LI.rst │ │ │ ├── 0087.bpo-29579.07B-FQ.rst │ │ │ ├── 0074.bpo-28138.pNdv64.rst │ │ │ ├── 0081.bpo-28251.tR_AFs.rst │ │ │ ├── 0076.bpo-28164.5MfN0J.rst │ │ │ ├── 0083.bpo-28402.v9zETJ.rst │ │ │ ├── 0084.bpo-28522.XHMQa7.rst │ │ │ ├── 0085.bpo-28896.qOcBBL.rst │ │ │ ├── 2017-09-07-20-09-04.bpo-31392.h92bWF.rst │ │ │ ├── 0077.bpo-28163.-DUgJw.rst │ │ │ ├── 0086.bpo-25778.8uKJ82.rst │ │ │ ├── 0078.bpo-28162.3FHPVD.rst │ │ │ ├── 0080.bpo-28110.cnkP5F.rst │ │ │ ├── 0082.bpo-28333.KnpeO4.rst │ │ │ ├── 2017-09-06-17-14-54.bpo-30389.9Dizrx.rst │ │ │ ├── 2017-07-15-00-40-12.bpo-30916.BpCrro.rst │ │ │ ├── 2017-09-04-13-19-05.bpo-31340.MbkzLi.rst │ │ │ ├── 2017-06-27-07-04-06.bpo-23451.bl_QOB.rst │ │ │ ├── 2017-07-13-11-22-53.bpo-30731.nmMDwI.rst │ │ │ ├── 2017-06-28-03-08-22.bpo-30362.XxeVMB.rst │ │ │ ├── README.rst │ │ │ ├── 2017-06-28-03-20-48.bpo-30291.zBpOl6.rst │ │ │ └── 2017-08-04-10-05-19.bpo-30581.OQhR7l.rst │ │ ├── Tests │ │ │ ├── 0010.bpo-24932.XLTzvR.rst │ │ │ ├── 2017-09-05-14-23-35.bpo-31320.JRDHx7.rst │ │ │ ├── 0002.bpo-28217.Y37OKV.rst │ │ │ ├── 0003.bpo-28409.Q2IlxJ.rst │ │ │ ├── 2017-09-04-13-03-55.bpo-25674.whVTXh.rst │ │ │ ├── 0005.bpo-23839.zsT_L9.rst │ │ │ ├── 0009.bpo-28950.1W8Glo.rst │ │ │ ├── 0006.bpo-28666.RtTk-4.rst │ │ │ ├── 0004.bpo-26944.ChZ_BO.rst │ │ │ ├── 2017-09-04-16-21-18.bpo-31346.xni1VR.rst │ │ │ ├── 0008.bpo-28683.Fp-Hdq.rst │ │ │ ├── README.rst │ │ │ ├── 0001.bpo-26939.7j_W5R.rst │ │ │ ├── 2017-06-30-11-20-20.bpo-30695.lo7FQX.rst │ │ │ ├── 0007.bpo-26936.XSZSVS.rst │ │ │ └── 2017-07-25-15-27-44.bpo-30715.Sp7bTF.rst │ │ ├── Core and Builtins │ │ │ ├── 0381.bpo-28183.MJZeNd.rst │ │ │ ├── 0363.bpo-28192.eR6stU.rst │ │ │ ├── 0411.bpo-22257.2a8zxB.rst │ │ │ ├── 0459.bpo-29104.u26yCx.rst │ │ │ ├── 0371.bpo-26617.Gh5LvN.rst │ │ │ ├── 0392.bpo-28665.v4nx86.rst │ │ │ ├── 0425.bpo-29546.O1rmG_.rst │ │ │ ├── 0355.bpo-26182.a8JXK2.rst │ │ │ ├── 0397.bpo-28532.KEYJny.rst │ │ │ ├── 0416.bpo-28932.QnLx8A.rst │ │ │ ├── 0423.bpo-29319.KLDUZf.rst │ │ │ ├── 0427.bpo-29438.IKxD6I.rst │ │ │ ├── 0360.bpo-0.9EbOiD.rst │ │ │ ├── 0369.bpo-28289.l1kHlV.rst │ │ │ ├── 0372.bpo-28350.8M5Eg9.rst │ │ │ ├── 0386.bpo-28509._Fa4Uq.rst │ │ │ ├── 0401.bpo-12844.pdr3gY.rst │ │ │ ├── 0449.bpo-29949.DevGPS.rst │ │ │ ├── 0353.bpo-26110.KRaID6.rst │ │ │ ├── 0389.bpo-28580.8bqBmG.rst │ │ │ ├── 0419.bpo-29159.gEn_kP.rst │ │ │ ├── 0469.bpo-30814.HcYsfM.rst │ │ │ ├── 0361.bpo-27222.74PvFk.rst │ │ │ ├── 0365.bpo-28214.zQF8Em.rst │ │ │ ├── 0370.bpo-27942.ZGuhns.rst │ │ │ ├── 0374.bpo-24098.XqlP_1.rst │ │ │ ├── 0385.bpo-28426.E_quyK.rst │ │ │ ├── 0420.bpo-29034.7-uEDT.rst │ │ │ ├── 0421.bpo-29327.XXQarW.rst │ │ │ ├── 0442.bpo-29849.hafvBD.rst │ │ │ ├── 0462.bpo-30486.KZi3nB.rst │ │ │ ├── 0468.bpo-30736.kA4J9v.rst │ │ │ ├── 2017-08-09-09-40-54.bpo-31070.oDyLiI.rst │ │ │ ├── 0383.bpo-28214.6ECJox.rst │ │ │ ├── 0414.bpo-29000.K6wQ-3.rst │ │ │ ├── 0434.bpo-29683.G5iS-P.rst │ │ │ ├── 0435.bpo-28876.cU-sGT.rst │ │ │ ├── 2017-07-17-12-12-59.bpo-30808.bA3zOv.rst │ │ │ ├── 0380.bpo-26081._x5vjl.rst │ │ │ ├── 0412.bpo-28596.snIJRd.rst │ │ │ ├── 0467.bpo-30604.zGPGoX.rst │ │ │ ├── 2017-09-04-16-35-06.bpo-31347.KDuf2w.rst │ │ │ ├── 0358.bpo-28126.Qf6-uQ.rst │ │ │ ├── 0388.bpo-28583.F-QAx1.rst │ │ │ ├── 0426.bpo-29546.PS1I1T.rst │ │ │ ├── 0429.bpo-29347.1RPPGN.rst │ │ │ ├── 0431.bpo-29607.7NvBA1.rst │ │ │ ├── 0438.bpo-29714.z-BhVd.rst │ │ │ ├── 0362.bpo-27441.scPKax.rst │ │ │ ├── 0367.bpo-28203.LRn5vp.rst │ │ │ ├── 0368.bpo-21578.GI1bhj.rst │ │ │ ├── 0375.bpo-18287.k6jffS.rst │ │ │ ├── 0378.bpo-28376.oPD-5D.rst │ │ │ ├── 0379.bpo-28379.DuXlco.rst │ │ │ ├── 0373.bpo-28201.GWUxAy.rst │ │ │ ├── 0384.bpo-28517.ExPkm9.rst │ │ │ ├── 0405.bpo-28918.SFVuPz.rst │ │ │ ├── 0443.bpo-29859.Z1MLcA.rst │ │ │ ├── 0446.bpo-24821.4DINGV.rst │ │ │ ├── 0382.bpo-23782.lonDzj.rst │ │ │ ├── 0441.bpo-28856.AFRmo4.rst │ │ │ ├── 0445.bpo-29102.AW4YPj.rst │ │ │ ├── 2017-08-08-12-00-29.bpo-30747.g2kZRT.rst │ │ │ ├── 0418.bpo-29049.KpVXBw.rst │ │ │ ├── 0432.bpo-28598.QxbzQn.rst │ │ │ ├── 0436.bpo-28893.WTKnpj.rst │ │ │ ├── 0454.bpo-30024.kSOlED.rst │ │ │ ├── 0455.bpo-28974.jVewS0.rst │ │ │ ├── 0354.bpo-28721.BO9BUF.rst │ │ │ ├── 0391.bpo-19398.RYbEGH.rst │ │ │ ├── 0422.bpo-29337.bjX8AE.rst │ │ │ ├── 0448.bpo-29935.vgjdJo.rst │ │ │ ├── 0452.bpo-29839.rUmfay.rst │ │ │ ├── 2017-09-06-15-25-59.bpo-31373.dC4jd4.rst │ │ │ ├── 0356.bpo-26182.jYlqTO.rst │ │ │ ├── 0390.bpo-28621.eCD7n-.rst │ │ │ ├── 0415.bpo-25677.RWhZrb.rst │ │ │ ├── 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst │ │ │ ├── 2017-07-31-13-28-53.bpo-31071.P9UBDy.rst │ │ │ ├── 0376.bpo-26906.YBjcwI.rst │ │ │ ├── 0393.bpo-28648.z7B52W.rst │ │ │ ├── 0394.bpo-26920.1URwGb.rst │ │ │ ├── 0406.bpo-28512.i-pv6d.rst │ │ │ ├── 0409.bpo-28991.lGA0FK.rst │ │ │ ├── 0417.bpo-28927.9fxf6y.rst │ │ │ ├── 0457.bpo-25794.xfPwqm.rst │ │ │ ├── 0461.bpo-30537.sGC27r.rst │ │ │ ├── 0465.bpo-30682.zZm88E.rst │ │ │ ├── 0359.bpo-28131.owq0wW.rst │ │ │ ├── 0395.bpo-28746.r5MXdB.rst │ │ │ ├── 0398.bpo-28731.oNF59u.rst │ │ │ ├── 0424.bpo-29478.rTQ-qy.rst │ │ │ ├── 0451.bpo-11913.5uiMX9.rst │ │ │ ├── 0466.bpo-30597.7erHiP.rst │ │ │ ├── 2017-08-01-18-48-30.bpo-31095.bXWZDb.rst │ │ │ ├── 2017-08-18-15-15-20.bpo-30721.Hmc56z.rst │ │ │ ├── README.rst │ │ │ ├── 0364.bpo-27955.HC4pZ4.rst │ │ │ ├── 0407.bpo-28739.w1fvhk.rst │ │ │ ├── 2017-08-24-13-34-49.bpo-31243.dRJzqR.rst │ │ │ ├── 2017-09-11-12-54-35.bpo-31416.2hlQFd.rst │ │ │ ├── 0413.bpo-18896.Pqe0bg.rst │ │ │ ├── 0439.bpo-29568.3EtOC-.rst │ │ │ ├── 2017-09-11-08-50-41.bpo-31411.HZz82I.rst │ │ │ ├── 0357.bpo-28120.e5xc1i.rst │ │ │ ├── 0366.bpo-28086.JsQPMQ.rst │ │ │ ├── 0470.bpo-31161.FcUAA0.rst │ │ │ ├── 2017-09-05-13-47-49.bpo-30860.MROpZw.rst │ │ │ ├── 0408.bpo-28147.CnK_xf.rst │ │ │ ├── 2017-07-21-07-39-05.bpo-30978.f0jODc.rst │ │ │ └── 2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst │ │ ├── Documentation │ │ │ ├── 0051.bpo-28513.L3joAz.rst │ │ │ ├── 0056.bpo-28929.Md7kb0.rst │ │ │ ├── 0058.bpo-26985.NB5_9S.rst │ │ │ ├── 0053.bpo-29349.PjSo-t.rst │ │ │ ├── 2017-08-31.bpo-31128.uoa3cr.rst │ │ │ ├── 0060.bpo-30176.VivmCg.rst │ │ │ ├── 2017-07-29-14-55-50.bpo-30803.6hutqQ.rst │ │ │ ├── 2017-09-06-10-11-57.bpo-21649.EUvqA9.rst │ │ │ ├── README.rst │ │ │ ├── 0055.bpo-25008.CeIzyU.rst │ │ │ ├── 0054.bpo-26355.SDq_8Y.rst │ │ │ └── 2017-09-07-20-49-09.bpo-31294.WgI18w.rst │ │ ├── IDLE │ │ │ ├── 2017-07-25-01-28-35.bpo-31003.bYINVH.rst │ │ │ ├── 0090.bpo-29071.FCOpJn.rst │ │ │ ├── 2017-07-21-01-55-14.bpo-30981.ZFvQPt.rst │ │ │ ├── 2017-07-07-21-10-55.bpo-8231.yEge3L.rst │ │ │ ├── 2017-07-21-00-54-52.bpo-28523.OPcqYJ.rst │ │ │ ├── 0094.bpo-30642.3Zujzt.rst │ │ │ ├── 2017-06-27-01-40-34.bpo-30674.ppK_q8.rst │ │ │ ├── 2017-07-11-02-21-42.bpo-30881.4KAq_9.rst │ │ │ ├── 2017-08-03-17-54-02.bpo-31002.kUSgTE.rst │ │ │ ├── 2017-08-27-15-31-33.bpo-31287.aZERfI.rst │ │ │ ├── 2017-09-14-17-53-53.bpo-31480.4WJ0pl.rst │ │ │ ├── 2017-08-17-15-00-20.bpo-31001.KLxYHC.rst │ │ │ ├── 2017-07-11-02-26-17.bpo-30899.SQmVO8.rst │ │ │ ├── 2017-08-07-14-02-56.bpo-31130.FbsC7f.rst │ │ │ ├── 2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst │ │ │ ├── 0093.bpo-30495.I3i5vL.rst │ │ │ ├── 2017-07-04-22-45-46.bpo-30777.uxzlMB.rst │ │ │ ├── 2017-08-18-14-13-42.bpo-31206.F1-tKK.rst │ │ │ ├── 2017-07-28-18-59-06.bpo-30781.ud5m18.rst │ │ │ ├── 2017-06-29-18-23-06.bpo-30495.qIWgc4.rst │ │ │ ├── README.rst │ │ │ ├── 0089.bpo-28572.1_duKY.rst │ │ │ ├── 0095.bpo-25514.882pXa.rst │ │ │ ├── 2017-07-17-23-35-57.bpo-30917.hSiuuO.rst │ │ │ ├── 0091.bpo-30303.2L2F-4.rst │ │ │ ├── 2017-07-08-17-57-04.bpo-30870.IcR2pf.rst │ │ │ ├── 2017-06-27-00-29-56.bpo-21519.fTj9T0.rst │ │ │ ├── 0092.bpo-30290.fZ3kod.rst │ │ │ ├── 2017-07-30-17-39-59.bpo-31050.AXR3kP.rst │ │ │ ├── 2017-08-15-12-58-23.bpo-31205.iuziZ5.rst │ │ │ └── 2017-07-09-23-53-00.bpo-30851.AHXBYa.rst │ │ ├── Tools-Demos │ │ │ ├── 0018.bpo-29748.6pV6s9.rst │ │ │ ├── 0015.bpo-28023.4gzSGp.rst │ │ │ ├── 0013.bpo-28102.5fKaek.rst │ │ │ ├── 0016.bpo-29367.4dOKL0.rst │ │ │ └── README.rst │ │ ├── C API │ │ │ ├── 0065.bpo-28808.A03X6r.rst │ │ │ ├── 0062.bpo-19569.IPke0J.rst │ │ │ ├── 0063.bpo-28748.AMgb_G.rst │ │ │ ├── 0072.bpo-16500.lRpooa.rst │ │ │ ├── README.rst │ │ │ ├── 0066.bpo-28822.gMqwvb.rst │ │ │ ├── 0068.bpo-28769.Ecmtn8.rst │ │ │ └── 0073.bpo-30708.np-l1j.rst │ │ ├── Security │ │ │ ├── 2017-08-23-17-02-55.bpo-29505.BL6Yt8.rst │ │ │ ├── 2017-08-16-16-35-59.bpo-30947.iNMmm4.rst │ │ │ ├── README.rst │ │ │ └── 2017-09-05-15-26-30.bpo-29781.LwYtBP.rst │ │ └── macOS │ │ │ └── README.rst │ ├── 3.6.0.rst │ └── 3.5.3.rst └── Porting ├── PC ├── icons │ ├── py.icns │ ├── py.ico │ ├── pyc.ico │ ├── pyd.ico │ ├── pyc.icns │ ├── pyd.icns │ ├── python.ico │ ├── setup.icns │ ├── setup.ico │ ├── launcher.ico │ ├── python.icns │ ├── pythonw.icns │ ├── pythonw.ico │ └── launcher.icns ├── bdist_wininst │ ├── PythonPowered.bmp │ └── README.txt ├── errmap.mak ├── empty.c ├── pyshellext.def ├── python3dll.c ├── external │ ├── Externals.txt │ ├── v140 │ │ ├── amd64 │ │ │ └── Microsoft.VisualStudio.Setup.Configuration.Native.lib │ │ └── win32 │ │ │ └── Microsoft.VisualStudio.Setup.Configuration.Native.lib │ └── v141 │ │ ├── amd64 │ │ └── Microsoft.VisualStudio.Setup.Configuration.Native.lib │ │ └── win32 │ │ └── Microsoft.VisualStudio.Setup.Configuration.Native.lib └── pyshellext_d.def ├── Python └── README ├── Programs └── README ├── Doc ├── includes │ └── sqlite3 │ │ ├── connect_db_1.py │ │ └── connect_db_2.py ├── tools │ └── static │ │ └── py.png ├── howto │ └── logging_flow.png ├── library │ ├── tulip_coro.dia │ ├── tulip_coro.png │ ├── turtle-star.pdf │ ├── turtle-star.png │ ├── depgraph-output.png │ ├── hashlib-blake2-tree.png │ └── pathlib-inheritance.png ├── faq │ └── python-video-icon.png ├── using │ └── win_installer.png └── whatsnew │ └── changelog.rst └── Modules ├── _xxtestfuzz └── fuzz_tests.txt ├── _ctypes └── _ctypes_test.h └── README /Lib/test/nullcert.pem: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/urllib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/email/mime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/pydoc_data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/sqlite3/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/test/leakers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/tkinter/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Mac/Resources/app/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLPytX -------------------------------------------------------------------------------- /Lib/lib2to3/__init__.py: -------------------------------------------------------------------------------- 1 | #empty 2 | -------------------------------------------------------------------------------- /Lib/tkinter/test/test_ttk/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/tkinter/test/test_tkinter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Mac/IDLE/IDLE.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /Lib/test/test_import/data/package/submodule.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/package2/submodule2.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tools/test2to3/test2to3/__init__.py: -------------------------------------------------------------------------------- 1 | # empty 2 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/myfixes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/test/bad_coding.py: -------------------------------------------------------------------------------- 1 | # -*- coding: uft-8 -*- 2 | -------------------------------------------------------------------------------- /Lib/test/relimport.py: -------------------------------------------------------------------------------- 1 | from .test_import import * 2 | -------------------------------------------------------------------------------- /PCbuild/build_env.bat: -------------------------------------------------------------------------------- 1 | @%comspec% /k env.bat %* 2 | -------------------------------------------------------------------------------- /Tools/freeze/hello.py: -------------------------------------------------------------------------------- 1 | print('Hello world...') 2 | -------------------------------------------------------------------------------- /Lib/test/bad_coding2.py: -------------------------------------------------------------------------------- 1 | #coding: utf8 2 | print('我') 3 | -------------------------------------------------------------------------------- /Tools/freeze/test/ok.py: -------------------------------------------------------------------------------- 1 | import sys 2 | sys.exit(0) 3 | -------------------------------------------------------------------------------- /Tools/msi/bundle/bootstrap/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /Lib/test/coding20731.py: -------------------------------------------------------------------------------- 1 | #coding:latin1 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Objects/README: -------------------------------------------------------------------------------- 1 | Source files for various builtin objects 2 | -------------------------------------------------------------------------------- /Lib/concurrent/__init__.py: -------------------------------------------------------------------------------- 1 | # This directory is a Python package. 2 | -------------------------------------------------------------------------------- /Lib/test/badsyntax_3131.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | € = 2 3 | -------------------------------------------------------------------------------- /Lib/test/cjkencodings/big5hkscs-utf8.txt: -------------------------------------------------------------------------------- 1 | 𠄌Ě鵮罓洆 2 | ÊÊ̄ê êê̄ 3 | -------------------------------------------------------------------------------- /Lib/xmlrpc/__init__.py: -------------------------------------------------------------------------------- 1 | # This directory is a Python package. 2 | -------------------------------------------------------------------------------- /Parser/parsetok_pgen.c: -------------------------------------------------------------------------------- 1 | #define PGEN 2 | #include "parsetok.c" 3 | -------------------------------------------------------------------------------- /Parser/tokenizer_pgen.c: -------------------------------------------------------------------------------- 1 | #define PGEN 2 | #include "tokenizer.c" 3 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/bom.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | print "BOM BOOM!" 3 | -------------------------------------------------------------------------------- /Lib/test/__init__.py: -------------------------------------------------------------------------------- 1 | # Dummy file to make this directory a package. 2 | -------------------------------------------------------------------------------- /Lib/test/__main__.py: -------------------------------------------------------------------------------- 1 | from test.libregrtest import main 2 | main() 3 | -------------------------------------------------------------------------------- /Tools/freeze/flag.py: -------------------------------------------------------------------------------- 1 | initialized = True 2 | print("Hello world!") 3 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/parrot_example.py: -------------------------------------------------------------------------------- 1 | def parrot(): 2 | pass 3 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/basic2.py: -------------------------------------------------------------------------------- 1 | from . import basic 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0352.bpo-29169.8ypApm.rst: -------------------------------------------------------------------------------- 1 | Update zlib to 1.2.11. 2 | -------------------------------------------------------------------------------- /Tools/pynche/__init__.py: -------------------------------------------------------------------------------- 1 | # Dummy file to make this directory a package. 2 | -------------------------------------------------------------------------------- /Lib/lib2to3/fixes/__init__.py: -------------------------------------------------------------------------------- 1 | # Dummy file to make this directory a package. 2 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/util.py: -------------------------------------------------------------------------------- 1 | def util(): 2 | pass 3 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lib/unittest/test/dummy.py: -------------------------------------------------------------------------------- 1 | # Empty module for testing the loading of modules 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0138.bpo-28228.1qBwdM.rst: -------------------------------------------------------------------------------- 1 | imghdr now supports pathlib. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0320.bpo-30520.VYzaSn.rst: -------------------------------------------------------------------------------- 1 | Loggers are now pickleable. 2 | -------------------------------------------------------------------------------- /Misc/Porting: -------------------------------------------------------------------------------- 1 | This document is moved to https://devguide.python.org/porting/ 2 | -------------------------------------------------------------------------------- /PC/icons/py.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/py.icns -------------------------------------------------------------------------------- /PC/icons/py.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/py.ico -------------------------------------------------------------------------------- /PC/icons/pyc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pyc.ico -------------------------------------------------------------------------------- /PC/icons/pyd.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pyd.ico -------------------------------------------------------------------------------- /Python/README: -------------------------------------------------------------------------------- 1 | Miscellaneous source files for the main Python shared library 2 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/false_encoding.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | print '#coding=0' 3 | -------------------------------------------------------------------------------- /Lib/test/empty.vbs: -------------------------------------------------------------------------------- 1 | 'Empty VBS file, does nothing. Helper for Lib\test\test_startfile.py. -------------------------------------------------------------------------------- /Lib/test/pstats.pck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/pstats.pck -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/indirect.py: -------------------------------------------------------------------------------- 1 | from . import basic, basic2 2 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/subpkg/util.py: -------------------------------------------------------------------------------- 1 | def util(): 2 | pass 3 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/portion1/foo/one.py: -------------------------------------------------------------------------------- 1 | attr = 'portion1 foo one' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/portion2/foo/two.py: -------------------------------------------------------------------------------- 1 | attr = 'portion2 foo two' 2 | -------------------------------------------------------------------------------- /Lib/test/zipdir.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/zipdir.zip -------------------------------------------------------------------------------- /Mac/Icons/IDLE.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/IDLE.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0040.bpo-29384.v3IqBE.rst: -------------------------------------------------------------------------------- 1 | Remove old Be OS helper scripts. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0137.bpo-28226.nMXiwU.rst: -------------------------------------------------------------------------------- 1 | compileall now supports pathlib. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0146.bpo-28229.BKAxcS.rst: -------------------------------------------------------------------------------- 1 | lzma module now supports pathlib. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0288.bpo-30101.hxUqSL.rst: -------------------------------------------------------------------------------- 1 | Add support for curses.A_ITALIC. 2 | -------------------------------------------------------------------------------- /PC/icons/pyc.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pyc.icns -------------------------------------------------------------------------------- /PC/icons/pyd.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pyd.icns -------------------------------------------------------------------------------- /PC/icons/python.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/python.ico -------------------------------------------------------------------------------- /PC/icons/setup.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/setup.icns -------------------------------------------------------------------------------- /PC/icons/setup.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/setup.ico -------------------------------------------------------------------------------- /Programs/README: -------------------------------------------------------------------------------- 1 | Source files for binary executables (as opposed to shared modules) 2 | -------------------------------------------------------------------------------- /Lib/__phello__.foo.py: -------------------------------------------------------------------------------- 1 | # This file exists as a helper for the test.test_frozen module. 2 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/crlf.py: -------------------------------------------------------------------------------- 1 | print "hi" 2 | 3 | print "Like bad Windows newlines?" 4 | -------------------------------------------------------------------------------- /Lib/test/audiotest.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiotest.au -------------------------------------------------------------------------------- /Lib/test/testtar.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/testtar.tar -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0036.bpo-23903.JXJ889.rst: -------------------------------------------------------------------------------- 1 | Added missed names to PC/python3.def. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0039.bpo-26851.R5243g.rst: -------------------------------------------------------------------------------- 1 | Set Android compilation and link flags. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0101.bpo-27972.ZK-GFm.rst: -------------------------------------------------------------------------------- 1 | Prohibit Tasks to await on themselves. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0123.bpo-27932.mtgl-6.rst: -------------------------------------------------------------------------------- 1 | Prevent memory leak in win32_ver(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0197.bpo-28923.naVULD.rst: -------------------------------------------------------------------------------- 1 | Remove editor artifacts from Tix.py. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0315.bpo-16500.9ypo9k.rst: -------------------------------------------------------------------------------- 1 | Allow registering at-fork handlers. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0075.bpo-28137.C1uvzY.rst: -------------------------------------------------------------------------------- 1 | Renames Windows path file to ._pth 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0079.bpo-28161.hF91LI.rst: -------------------------------------------------------------------------------- 1 | Opening CON for write access fails 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0087.bpo-29579.07B-FQ.rst: -------------------------------------------------------------------------------- 1 | Removes readme.txt from the installer. 2 | -------------------------------------------------------------------------------- /PC/icons/launcher.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/launcher.ico -------------------------------------------------------------------------------- /PC/icons/python.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/python.icns -------------------------------------------------------------------------------- /PC/icons/pythonw.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pythonw.icns -------------------------------------------------------------------------------- /PC/icons/pythonw.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/pythonw.ico -------------------------------------------------------------------------------- /Doc/includes/sqlite3/connect_db_1.py: -------------------------------------------------------------------------------- 1 | import sqlite3 2 | 3 | con = sqlite3.connect("mydb") 4 | -------------------------------------------------------------------------------- /Doc/includes/sqlite3/connect_db_2.py: -------------------------------------------------------------------------------- 1 | import sqlite3 2 | 3 | con = sqlite3.connect(":memory:") 4 | -------------------------------------------------------------------------------- /Doc/tools/static/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/tools/static/py.png -------------------------------------------------------------------------------- /Lib/collections/abc.py: -------------------------------------------------------------------------------- 1 | from _collections_abc import * 2 | from _collections_abc import __all__ 3 | -------------------------------------------------------------------------------- /Lib/dbm/gnu.py: -------------------------------------------------------------------------------- 1 | """Provide the _gdbm module as a dbm submodule.""" 2 | 3 | from _gdbm import * 4 | -------------------------------------------------------------------------------- /Lib/dbm/ndbm.py: -------------------------------------------------------------------------------- 1 | """Provide the _dbm module as a dbm submodule.""" 2 | 3 | from _dbm import * 4 | -------------------------------------------------------------------------------- /Lib/idlelib/Icons/tk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/tk.gif -------------------------------------------------------------------------------- /Lib/test/imp_dummy.py: -------------------------------------------------------------------------------- 1 | # Fodder for test of issue24748 in test_imp 2 | 3 | dummy_name = True 4 | -------------------------------------------------------------------------------- /Lib/test/sgml_input.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sgml_input.html -------------------------------------------------------------------------------- /Lib/test/test_import/__main__.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | unittest.main('test.test_import') 4 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/package/__init__.py: -------------------------------------------------------------------------------- 1 | import package.submodule 2 | package.submodule 3 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/both_portions/foo/one.py: -------------------------------------------------------------------------------- 1 | attr = 'both_portions foo one' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/both_portions/foo/two.py: -------------------------------------------------------------------------------- 1 | attr = 'both_portions foo two' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/project1/parent/child/one.py: -------------------------------------------------------------------------------- 1 | attr = 'parent child one' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/project2/parent/child/two.py: -------------------------------------------------------------------------------- 1 | attr = 'parent child two' 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0044.bpo-29643.4WLIJQ.rst: -------------------------------------------------------------------------------- 1 | Fix ``--enable-optimization`` didn't work. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0167.bpo-28353.sKGbLL.rst: -------------------------------------------------------------------------------- 1 | os.fwalk() no longer fails on broken links. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0222.bpo-29416.KJGyI_.rst: -------------------------------------------------------------------------------- 1 | Prevent infinite loop in pathlib.Path.mkdir 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0010.bpo-24932.XLTzvR.rst: -------------------------------------------------------------------------------- 1 | Use proper command line parsing in _testembed 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst: -------------------------------------------------------------------------------- 1 | Silence traceback in test_ssl 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0074.bpo-28138.pNdv64.rst: -------------------------------------------------------------------------------- 1 | Windows ._pth file should allow import site 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0081.bpo-28251.tR_AFs.rst: -------------------------------------------------------------------------------- 1 | Improvements to help manuals on Windows. 2 | -------------------------------------------------------------------------------- /PC/icons/launcher.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/icons/launcher.icns -------------------------------------------------------------------------------- /Tools/i18n/pygettext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Tools/i18n/pygettext.py -------------------------------------------------------------------------------- /Tools/test2to3/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Tools/test2to3/setup.py -------------------------------------------------------------------------------- /Doc/howto/logging_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/howto/logging_flow.png -------------------------------------------------------------------------------- /Doc/library/tulip_coro.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/tulip_coro.dia -------------------------------------------------------------------------------- /Doc/library/tulip_coro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/tulip_coro.png -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle.ico -------------------------------------------------------------------------------- /Lib/lib2to3/tests/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/sqlite3/test/dbapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/dbapi.py -------------------------------------------------------------------------------- /Lib/sqlite3/test/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/hooks.py -------------------------------------------------------------------------------- /Lib/sqlite3/test/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/types.py -------------------------------------------------------------------------------- /Lib/test/cfgparser.1: -------------------------------------------------------------------------------- 1 | # Also used by idlelib.test_idle.test_config. 2 | [Foo Bar] 3 | foo=newbar 4 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py: -------------------------------------------------------------------------------- 1 | attr = 'in module' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py: -------------------------------------------------------------------------------- 1 | attr = 'portion1 foo one' 2 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/project3/parent/child/three.py: -------------------------------------------------------------------------------- 1 | attr = 'parent child three' 2 | -------------------------------------------------------------------------------- /Lib/test/test_warnings/__main__.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | unittest.main('test.test_warnings') 4 | -------------------------------------------------------------------------------- /Mac/Icons/Disk Image.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/Disk Image.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0381.bpo-28183.MJZeNd.rst: -------------------------------------------------------------------------------- 1 | Optimize and cleanup dict iteration. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0196.bpo-28871.cPMXCJ.rst: -------------------------------------------------------------------------------- 1 | Fixed a crash when deallocate deep ElementTree. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0213.bpo-29197.sZssFZ.rst: -------------------------------------------------------------------------------- 1 | Removed deprecated function ntpath.splitunc(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0246.bpo-28682.hUxdej.rst: -------------------------------------------------------------------------------- 1 | Added support for bytes paths in os.fwalk(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0267.bpo-10030.ZdhU3k.rst: -------------------------------------------------------------------------------- 1 | Sped up reading encrypted ZIP files by 2 times. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0336.bpo-24484.vFem8K.rst: -------------------------------------------------------------------------------- 1 | Avoid race condition in multiprocessing cleanup. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0002.bpo-28217.Y37OKV.rst: -------------------------------------------------------------------------------- 1 | Adds _testconsole module to test console input. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0076.bpo-28164.5MfN0J.rst: -------------------------------------------------------------------------------- 1 | _PyIO_get_console_type fails for various paths 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0083.bpo-28402.v9zETJ.rst: -------------------------------------------------------------------------------- 1 | Adds signed catalog files for stdlib on Windows. 2 | -------------------------------------------------------------------------------- /Modules/_xxtestfuzz/fuzz_tests.txt: -------------------------------------------------------------------------------- 1 | fuzz_builtin_float 2 | fuzz_builtin_int 3 | fuzz_builtin_unicode 4 | -------------------------------------------------------------------------------- /Doc/faq/python-video-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/faq/python-video-icon.png -------------------------------------------------------------------------------- /Doc/library/turtle-star.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/turtle-star.pdf -------------------------------------------------------------------------------- /Doc/library/turtle-star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/turtle-star.png -------------------------------------------------------------------------------- /Doc/using/win_installer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/using/win_installer.png -------------------------------------------------------------------------------- /Lib/ensurepip/__main__.py: -------------------------------------------------------------------------------- 1 | import ensurepip 2 | 3 | if __name__ == "__main__": 4 | ensurepip._main() 5 | -------------------------------------------------------------------------------- /Lib/idlelib/Icons/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/folder.gif -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle.icns -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_16.gif -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_16.png -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_32.gif -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_32.png -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_48.gif -------------------------------------------------------------------------------- /Lib/idlelib/Icons/idle_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/idle_48.png -------------------------------------------------------------------------------- /Lib/idlelib/Icons/python.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/python.gif -------------------------------------------------------------------------------- /Lib/lib2to3/__main__.py: -------------------------------------------------------------------------------- 1 | import sys 2 | from .main import main 3 | 4 | sys.exit(main("lib2to3.fixes")) 5 | -------------------------------------------------------------------------------- /Lib/sqlite3/test/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/factory.py -------------------------------------------------------------------------------- /Lib/test/badsyntax_pep3120.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/badsyntax_pep3120.py -------------------------------------------------------------------------------- /Lib/test/cjkencodings/gbk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/gbk.txt -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.au -------------------------------------------------------------------------------- /Lib/test/test_asyncio/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/xmltestdata/test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/xmltestdata/test.xml -------------------------------------------------------------------------------- /Lib/test/zip_cp437_header.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/zip_cp437_header.zip -------------------------------------------------------------------------------- /Mac/Icons/Python Folder.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/Python Folder.icns -------------------------------------------------------------------------------- /Mac/Icons/PythonCompiled.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/PythonCompiled.icns -------------------------------------------------------------------------------- /Mac/Icons/PythonLauncher.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/PythonLauncher.icns -------------------------------------------------------------------------------- /Mac/Icons/PythonSource.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Icons/PythonSource.icns -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/IDE.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/IDE.psd -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0029.bpo-28444.zkc9nT.rst: -------------------------------------------------------------------------------- 1 | Fix missing extensions modules when cross compiling. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0030.bpo-26359.CLz6qy.rst: -------------------------------------------------------------------------------- 1 | Rename --with-optimiations to --enable-optimizations. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0032.bpo-28849.AzRRF5.rst: -------------------------------------------------------------------------------- 1 | Do not define sys.implementation._multiarch on Android. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0363.bpo-28192.eR6stU.rst: -------------------------------------------------------------------------------- 1 | Don't import readline in isolated mode. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0411.bpo-22257.2a8zxB.rst: -------------------------------------------------------------------------------- 1 | Clean up interpreter startup (see PEP 432). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0459.bpo-29104.u26yCx.rst: -------------------------------------------------------------------------------- 1 | Fixed parsing backslashes in f-strings. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0051.bpo-28513.L3joAz.rst: -------------------------------------------------------------------------------- 1 | Documented command-line interface of zipfile. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-25-01-28-35.bpo-31003.bYINVH.rst: -------------------------------------------------------------------------------- 1 | IDLE: Add more tests for General tab. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0104.bpo-28371.U9Zqdk.rst: -------------------------------------------------------------------------------- 1 | Deprecate passing asyncio.Handles to run_in_executor. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0111.bpo-26909.ASiakT.rst: -------------------------------------------------------------------------------- 1 | Fix slow pipes IO in asyncio. Patch by INADA Naoki. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0122.bpo-0.iPpjqX.rst: -------------------------------------------------------------------------------- 1 | Fix UnboundLocalError in socket._sendfile_use_sendfile. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0143.bpo-28227.7lUz8i.rst: -------------------------------------------------------------------------------- 1 | gzip now supports pathlib. Patch by Ethan Furman. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0148.bpo-28317.LgHleA.rst: -------------------------------------------------------------------------------- 1 | The disassembler now decodes FORMAT_VALUE argument. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0175.bpo-28549.ShnM2y.rst: -------------------------------------------------------------------------------- 1 | Fixed segfault in curses's addch() with ncurses6. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0201.bpo-29079.g4YLix.rst: -------------------------------------------------------------------------------- 1 | Prevent infinite loop in pathlib.resolve() on Windows 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0003.bpo-28409.Q2IlxJ.rst: -------------------------------------------------------------------------------- 1 | regrtest: fix the parser of command line arguments. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/2017-09-04-13-03-55.bpo-25674.whVTXh.rst: -------------------------------------------------------------------------------- 1 | Remove sha256.tbs-internet.com ssl test 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0084.bpo-28522.XHMQa7.rst: -------------------------------------------------------------------------------- 1 | Fixes mishandled buffer reallocation in getpathp.c 2 | -------------------------------------------------------------------------------- /Tools/msi/bundle/SideBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Tools/msi/bundle/SideBar.png -------------------------------------------------------------------------------- /Doc/library/depgraph-output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/depgraph-output.png -------------------------------------------------------------------------------- /Lib/ctypes/test/__main__.py: -------------------------------------------------------------------------------- 1 | from ctypes.test import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/idlelib/Icons/minusnode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/minusnode.gif -------------------------------------------------------------------------------- /Lib/idlelib/Icons/plusnode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/plusnode.gif -------------------------------------------------------------------------------- /Lib/sqlite3/test/regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/regression.py -------------------------------------------------------------------------------- /Lib/test/Sine-1000Hz-300ms.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/Sine-1000Hz-300ms.aif -------------------------------------------------------------------------------- /Lib/test/cjkencodings/big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/big5.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/cp949.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/cp949.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/hz-utf8.txt: -------------------------------------------------------------------------------- 1 | This sentence is in ASCII. 2 | The next sentence is in GB.己所不欲,勿施於人。Bye. 3 | -------------------------------------------------------------------------------- /Lib/test/cjkencodings/johab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/johab.txt -------------------------------------------------------------------------------- /Lib/test/dtracedata/assert_usable.d: -------------------------------------------------------------------------------- 1 | BEGIN 2 | { 3 | printf("probe: success\n"); 4 | exit(0); 5 | } 6 | -------------------------------------------------------------------------------- /Lib/test/dtracedata/assert_usable.stp: -------------------------------------------------------------------------------- 1 | probe begin 2 | { 3 | println("probe: success") 4 | exit () 5 | } 6 | -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.bmp -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.exr -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.gif -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.jpg -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.pbm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.pbm -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.pgm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.pgm -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.png -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.ppm -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.ras: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.ras -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.sgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.sgi -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.tiff -------------------------------------------------------------------------------- /Lib/test/imghdrdata/python.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/imghdrdata/python.webp -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.8svx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.8svx -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.aifc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.aifc -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.aiff -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.hcom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.hcom -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.sndt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.sndt -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.voc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.voc -------------------------------------------------------------------------------- /Lib/test/sndhdrdata/sndhdr.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/sndhdrdata/sndhdr.wav -------------------------------------------------------------------------------- /Lib/test/test_importlib/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0022.bpo-26661.Z_HNbs.rst: -------------------------------------------------------------------------------- 1 | setup.py now detects system libffi with multiarch wrapper. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0037.bpo-29080.b3qLQT.rst: -------------------------------------------------------------------------------- 1 | Removes hard dependency on hg.exe from PCBuild/build.bat 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0371.bpo-26617.Gh5LvN.rst: -------------------------------------------------------------------------------- 1 | Fix crash when GC runs during weakref callbacks. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0392.bpo-28665.v4nx86.rst: -------------------------------------------------------------------------------- 1 | Improve speed of the STORE_DEREF opcode by 40%. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0425.bpo-29546.O1rmG_.rst: -------------------------------------------------------------------------------- 1 | Improve from-import error message with location 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0056.bpo-28929.Md7kb0.rst: -------------------------------------------------------------------------------- 1 | Link the documentation to its source file on GitHub. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0090.bpo-29071.FCOpJn.rst: -------------------------------------------------------------------------------- 1 | IDLE colors f-string prefixes (but not invalid ur prefixes). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-21-01-55-14.bpo-30981.ZFvQPt.rst: -------------------------------------------------------------------------------- 1 | IDLE -- Add more configdialog font page tests. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0108.bpo-28325.wAHmnK.rst: -------------------------------------------------------------------------------- 1 | Remove vestigial MacOS 9 macurl2path module and its tests. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0110.bpo-28176.sU8R6L.rst: -------------------------------------------------------------------------------- 1 | Fix callbacks race in asyncio.SelectorLoop.sock_connect. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0118.bpo-28181.NGc4Yv.rst: -------------------------------------------------------------------------------- 1 | Get antigravity over HTTPS. Patch by Kaartic Sivaraam. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0158.bpo-28448.5bduWe.rst: -------------------------------------------------------------------------------- 1 | Fix C implemented asyncio.Future didn't work on Windows. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0184.bpo-28752.Q-4oRE.rst: -------------------------------------------------------------------------------- 1 | Restored the __reduce__() methods of datetime objects. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0210.bpo-29192.mY31H8.rst: -------------------------------------------------------------------------------- 1 | Removed deprecated features in the http.cookies module. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0214.bpo-28735.admHLO.rst: -------------------------------------------------------------------------------- 1 | Fixed the comparison of mock.MagickMock with mock.ANY. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0236.bpo-29376.rrJhJy.rst: -------------------------------------------------------------------------------- 1 | Fix assertion error in threading._DummyThread.is_alive(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0243.bpo-9303.kDZRSd.rst: -------------------------------------------------------------------------------- 1 | Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0274.bpo-29995.b3mOqx.rst: -------------------------------------------------------------------------------- 1 | re.escape() now escapes only regex special characters. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0291.bpo-30205.BsxO34.rst: -------------------------------------------------------------------------------- 1 | Fix getsockname() for unbound AF_UNIX sockets on Linux. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0339.bpo-23894.k2pADV.rst: -------------------------------------------------------------------------------- 1 | lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-17-20-29-45.bpo-31109.7qtC64.rst: -------------------------------------------------------------------------------- 1 | Convert zipimport to use Argument Clinic. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-13-13-33-39.bpo-31457.bIVBtI.rst: -------------------------------------------------------------------------------- 1 | LoggerAdapter objects can now be nested. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tools-Demos/0018.bpo-29748.6pV6s9.rst: -------------------------------------------------------------------------------- 1 | Added the slice index converter in Argument Clinic. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0085.bpo-28896.qOcBBL.rst: -------------------------------------------------------------------------------- 1 | Deprecate WindowsRegistryFinder and disable it by default 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-09-07-20-09-04.bpo-31392.h92bWF.rst: -------------------------------------------------------------------------------- 1 | Update Windows build to use OpenSSL 1.1.0f 2 | -------------------------------------------------------------------------------- /Lib/ctypes/macholib/fetch_macholib.bat: -------------------------------------------------------------------------------- 1 | svn export --force http://svn.red-bean.com/bob/macholib/trunk/macholib/ . 2 | -------------------------------------------------------------------------------- /Lib/idlelib/Icons/openfolder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/idlelib/Icons/openfolder.gif -------------------------------------------------------------------------------- /Lib/sqlite3/test/transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/transactions.py -------------------------------------------------------------------------------- /Lib/sqlite3/test/userfunctions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/sqlite3/test/userfunctions.py -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-alaw.aifc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-alaw.aifc -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm16.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm16.au -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm16.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm16.wav -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm24.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm24.au -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm24.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm24.wav -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm32.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm32.au -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm32.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm32.wav -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm8.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm8.aiff -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm8.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm8.au -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm8.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm8.wav -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-ulaw.aifc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-ulaw.aifc -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-ulaw.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-ulaw.au -------------------------------------------------------------------------------- /Lib/test/cjkencodings/euc_jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/euc_jp.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/euc_kr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/euc_kr.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/gb18030.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/gb18030.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/gb2312.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/gb2312.txt -------------------------------------------------------------------------------- /Lib/test/dis_module.py: -------------------------------------------------------------------------------- 1 | 2 | # A simple module for testing the dis module. 3 | 4 | def f(): pass 5 | def g(): pass 6 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/builtin/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/frozen/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/import_/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/source/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_json/__main__.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | from test.test_json import load_tests 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_source_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_source_encoding.py -------------------------------------------------------------------------------- /Lib/test/xmltestdata/test.xml.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/xmltestdata/test.xml.out -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0027.bpo-28248.KY_-en.rst: -------------------------------------------------------------------------------- 1 | Update Windows build and OS X installers to use OpenSSL 1.0.2j. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0028.bpo-28208.DtoP1i.rst: -------------------------------------------------------------------------------- 1 | Update Windows build and OS X installers to use SQLite 3.14.2. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0042.bpo-29572.iZ1XKK.rst: -------------------------------------------------------------------------------- 1 | Update Windows build and OS X installers to use OpenSSL 1.0.2k. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst: -------------------------------------------------------------------------------- 1 | PyUnicode_CompareWithASCIIString() now never raises exceptions. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0355.bpo-26182.a8JXK2.rst: -------------------------------------------------------------------------------- 1 | Fix a refleak in code that raises DeprecationWarning. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0397.bpo-28532.KEYJny.rst: -------------------------------------------------------------------------------- 1 | Show sys.version when -V option is supplied twice. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0416.bpo-28932.QnLx8A.rst: -------------------------------------------------------------------------------- 1 | Do not include if it does not exist. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0423.bpo-29319.KLDUZf.rst: -------------------------------------------------------------------------------- 1 | Prevent RunMainFromImporter overwriting sys.path[0]. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0427.bpo-29438.IKxD6I.rst: -------------------------------------------------------------------------------- 1 | Fixed use-after-free problem in key sharing dict. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0058.bpo-26985.NB5_9S.rst: -------------------------------------------------------------------------------- 1 | Add missing info of code object in inspect documentation. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-07-21-10-55.bpo-8231.yEge3L.rst: -------------------------------------------------------------------------------- 1 | IDLE: call config.IdleConf.GetUserCfgDir only once. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0103.bpo-28372.njcIPk.rst: -------------------------------------------------------------------------------- 1 | Fix asyncio to support formatting of non-python coroutines. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0127.bpo-25651.3UhyPo.rst: -------------------------------------------------------------------------------- 1 | Allow falsy values to be used for msg parameter of subTest(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0163.bpo-28488.TgO112.rst: -------------------------------------------------------------------------------- 1 | shutil.make_archive() no longer adds entry "./" to ZIP archive. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0256.bpo-25455.ZsahHN.rst: -------------------------------------------------------------------------------- 1 | Fixed crashes in repr of recursive buffered file-like objects. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-04-13-48-21.bpo-30319.hg_3TX.rst: -------------------------------------------------------------------------------- 1 | socket.close() now ignores ECONNRESET error. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-26-13-18-29.bpo-5288.o_xEGj.rst: -------------------------------------------------------------------------------- 1 | Support tzinfo objects with sub-minute offsets. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-01-09-32-58.bpo-31061.husAYX.rst: -------------------------------------------------------------------------------- 1 | Fixed a crash when using asyncio and threads. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-04-16-39-49.bpo-29136.vSn1oR.rst: -------------------------------------------------------------------------------- 1 | Add TLS 1.3 cipher suites and OP_NO_TLSv1_3. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0005.bpo-23839.zsT_L9.rst: -------------------------------------------------------------------------------- 1 | Various caches now are cleared before running every test file. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tools-Demos/0015.bpo-28023.4gzSGp.rst: -------------------------------------------------------------------------------- 1 | Fix python-gdb.py didn't support new dict implementation. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0077.bpo-28163.-DUgJw.rst: -------------------------------------------------------------------------------- 1 | WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0086.bpo-25778.8uKJ82.rst: -------------------------------------------------------------------------------- 1 | winreg does not truncate string correctly (Patch by Eryk Sun) 2 | -------------------------------------------------------------------------------- /Modules/_ctypes/_ctypes_test.h: -------------------------------------------------------------------------------- 1 | extern int _testfunc_i_bhilfd(char b, short h, int i, long l, float f, double d); 2 | -------------------------------------------------------------------------------- /PC/bdist_wininst/PythonPowered.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/bdist_wininst/PythonPowered.bmp -------------------------------------------------------------------------------- /Doc/library/hashlib-blake2-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/hashlib-blake2-tree.png -------------------------------------------------------------------------------- /Doc/library/pathlib-inheritance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Doc/library/pathlib-inheritance.png -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm16.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm16.aiff -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm24.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm24.aiff -------------------------------------------------------------------------------- /Lib/test/audiodata/pluck-pcm32.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/audiodata/pluck-pcm32.aiff -------------------------------------------------------------------------------- /Lib/test/cjkencodings/big5hkscs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/big5hkscs.txt -------------------------------------------------------------------------------- /Lib/test/cjkencodings/hz.txt: -------------------------------------------------------------------------------- 1 | This sentence is in ASCII. 2 | The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye. 3 | -------------------------------------------------------------------------------- /Lib/test/cjkencodings/shift_jis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/shift_jis.txt -------------------------------------------------------------------------------- /Lib/test/test_email/__main__.py: -------------------------------------------------------------------------------- 1 | from test.test_email import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/binding2.py: -------------------------------------------------------------------------------- 1 | import test.test_import.data.circular_imports.binding as binding 2 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/subpkg/subpackage2.py: -------------------------------------------------------------------------------- 1 | #from .util import util 2 | from .. import subpackage 3 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/extension/__main__.py: -------------------------------------------------------------------------------- 1 | from . import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/test/test_tools/__main__.py: -------------------------------------------------------------------------------- 1 | from test.test_tools import load_tests 2 | import unittest 3 | 4 | unittest.main() 5 | -------------------------------------------------------------------------------- /Lib/xml/etree/cElementTree.py: -------------------------------------------------------------------------------- 1 | # Deprecated alias for xml.etree.ElementTree 2 | 3 | from xml.etree.ElementTree import * 4 | -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PythonIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PythonIcon.psd -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0050.bpo-30687.8mqHnu.rst: -------------------------------------------------------------------------------- 1 | Locate msbuild.exe on Windows when building rather than vcvarsall.bat 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst: -------------------------------------------------------------------------------- 1 | Compiler warnings are now emitted if use most of deprecated functions. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0360.bpo-0.9EbOiD.rst: -------------------------------------------------------------------------------- 1 | Upgrade internal unicode databases to Unicode version 9.0.0. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0369.bpo-28289.l1kHlV.rst: -------------------------------------------------------------------------------- 1 | ImportError.__init__ now resets not specified attributes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0372.bpo-28350.8M5Eg9.rst: -------------------------------------------------------------------------------- 1 | String constants with null character no longer interned. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0386.bpo-28509._Fa4Uq.rst: -------------------------------------------------------------------------------- 1 | dict.update() no longer allocate unnecessary large memory. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0401.bpo-12844.pdr3gY.rst: -------------------------------------------------------------------------------- 1 | More than 255 arguments can now be passed to a function. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0449.bpo-29949.DevGPS.rst: -------------------------------------------------------------------------------- 1 | Fix memory usage regression of set and frozenset object. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0053.bpo-29349.PjSo-t.rst: -------------------------------------------------------------------------------- 1 | Fix Python 2 syntax in code for building the documentation. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/2017-08-31.bpo-31128.uoa3cr.rst: -------------------------------------------------------------------------------- 1 | Allow the pydoc server to bind to arbitrary hostnames. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-21-00-54-52.bpo-28523.OPcqYJ.rst: -------------------------------------------------------------------------------- 1 | IDLE: replace 'colour' with 'color' in configdialog. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0102.bpo-28399.QKIqRX.rst: -------------------------------------------------------------------------------- 1 | Remove UNIX socket from FS before binding. Patch by Коренберг Марк. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0105.bpo-28370.18jBuZ.rst: -------------------------------------------------------------------------------- 1 | Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0115.bpo-27599.itvm8T.rst: -------------------------------------------------------------------------------- 1 | Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0144.bpo-28225.6N28nu.rst: -------------------------------------------------------------------------------- 1 | bz2 module now supports pathlib. Initial patch by Ethan Furman. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0145.bpo-28321.bQ-IIX.rst: -------------------------------------------------------------------------------- 1 | Fixed writing non-BMP characters with binary format in plistlib. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0150.bpo-20766.4kvCzx.rst: -------------------------------------------------------------------------------- 1 | Fix references leaked by pdb in the handling of SIGINT handlers. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0151.bpo-24452.pVsjt0.rst: -------------------------------------------------------------------------------- 1 | Make webbrowser support Chrome on Mac OS X. Patch by Ned Batchelder. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0156.bpo-28480.9lHw6m.rst: -------------------------------------------------------------------------------- 1 | Fix error building socket module when multithreading is disabled. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0199.bpo-9770.WJJnwP.rst: -------------------------------------------------------------------------------- 1 | curses.ascii predicates now work correctly with negative integers. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0248.bpo-28231.MG1X09.rst: -------------------------------------------------------------------------------- 1 | The zipfile module now accepts path-like objects for external paths. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0252.bpo-26121.LX-pQA.rst: -------------------------------------------------------------------------------- 1 | Use C library implementation for math functions erf() and erfc(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0285.bpo-30070.XM_B41.rst: -------------------------------------------------------------------------------- 1 | Fixed leaks and crashes in errors handling in the parser module. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0298.bpo-29990.HWV6KE.rst: -------------------------------------------------------------------------------- 1 | Fix range checking in GB18030 decoder. Original patch by Ma Lin. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0324.bpo-27585.0Ugqqu.rst: -------------------------------------------------------------------------------- 1 | Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0333.bpo-30508.wNWRS2.rst: -------------------------------------------------------------------------------- 1 | Don't log exceptions if Task/Future "cancel()" method was called. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst: -------------------------------------------------------------------------------- 1 | Fix decrementing a borrowed reference in tracemalloc. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-11-19-30-00.bpo-31185.i6TPgL.rst: -------------------------------------------------------------------------------- 1 | Fixed miscellaneous errors in asyncio speedup module. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-16-01-53-11.bpo-31482.39s5dS.rst: -------------------------------------------------------------------------------- 1 | ``random.seed()`` now works with bytes in version=1 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0078.bpo-28162.3FHPVD.rst: -------------------------------------------------------------------------------- 1 | WindowsConsoleIO readall() fails if first line starts with Ctrl+Z 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0080.bpo-28110.cnkP5F.rst: -------------------------------------------------------------------------------- 1 | launcher.msi has different product codes between 32-bit and 64-bit 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/0082.bpo-28333.KnpeO4.rst: -------------------------------------------------------------------------------- 1 | Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun) 2 | -------------------------------------------------------------------------------- /Tools/scripts/pydoc3: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import pydoc 4 | if __name__ == '__main__': 5 | pydoc.cli() 6 | -------------------------------------------------------------------------------- /Lib/ctypes/macholib/fetch_macholib: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | svn export --force http://svn.red-bean.com/bob/macholib/trunk/macholib/ . 3 | -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-10.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-10.0.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-14.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-14.0.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-6.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-6.0.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-7.1.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-7.1.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-8.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-8.0.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-9.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-9.0.exe -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/no_fixer_cls.py: -------------------------------------------------------------------------------- 1 | # This is empty so trying to fetch the fixer class gives an AttributeError 2 | -------------------------------------------------------------------------------- /Lib/test/cjkencodings/euc_jisx0213.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/euc_jisx0213.txt -------------------------------------------------------------------------------- /Lib/test/test_doctest3.txt: -------------------------------------------------------------------------------- 1 | 2 | Here we check that `__file__` is provided: 3 | 4 | >>> type(__file__) 5 | 6 | -------------------------------------------------------------------------------- /Lib/test/test_email/data/audiotest.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_email/data/audiotest.au -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/binding.py: -------------------------------------------------------------------------------- 1 | import test.test_import.data.circular_imports.binding2 as binding2 2 | -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PythonApplet.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PythonApplet.psd -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PythonSource.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PythonSource.psd -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PythonWSource.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PythonWSource.psd -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0038.bpo-28768.b9_a6E.rst: -------------------------------------------------------------------------------- 1 | Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0047.bpo-28787.vhH_6a.rst: -------------------------------------------------------------------------------- 1 | Fix out-of-tree builds of Python when configured with ``--with--dtrace``. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0353.bpo-26110.KRaID6.rst: -------------------------------------------------------------------------------- 1 | Speed-up method calls: add LOAD_METHOD and CALL_METHOD opcodes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0389.bpo-28580.8bqBmG.rst: -------------------------------------------------------------------------------- 1 | Optimize iterating split table values. Patch by Xiang Zhang. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0419.bpo-29159.gEn_kP.rst: -------------------------------------------------------------------------------- 1 | Fix regression in bytes(x) when x.__index__() raises Exception. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0469.bpo-30814.HcYsfM.rst: -------------------------------------------------------------------------------- 1 | Fixed a race condition when import a submodule from a package. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0060.bpo-30176.VivmCg.rst: -------------------------------------------------------------------------------- 1 | Add missing attribute related constants in curses documentation. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0094.bpo-30642.3Zujzt.rst: -------------------------------------------------------------------------------- 1 | Fix reference leaks in IDLE tests. Patches by Louie Lu and Terry Jan Reedy. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-06-27-01-40-34.bpo-30674.ppK_q8.rst: -------------------------------------------------------------------------------- 1 | IDLE: add docstrings to grep module. Patch by Cheryl Sabella 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-11-02-21-42.bpo-30881.4KAq_9.rst: -------------------------------------------------------------------------------- 1 | IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-03-17-54-02.bpo-31002.kUSgTE.rst: -------------------------------------------------------------------------------- 1 | Add tests for configdialog keys tab. Patch by Cheryl Sabella. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-27-15-31-33.bpo-31287.aZERfI.rst: -------------------------------------------------------------------------------- 1 | IDLE - Do not modify tkinter.message in test_configdialog. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0112.bpo-26654.XtzTE9.rst: -------------------------------------------------------------------------------- 1 | Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0149.bpo-27998.CPhy4H.rst: -------------------------------------------------------------------------------- 1 | Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0202.bpo-28985.TMWJFg.rst: -------------------------------------------------------------------------------- 1 | Update authorizer constants in sqlite3 module. Patch by Dingyuan Wang. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0275.bpo-29998.poeIKD.rst: -------------------------------------------------------------------------------- 1 | Pickling and copying ImportError now preserves name and path attributes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0282.bpo-30218.ab5oIg.rst: -------------------------------------------------------------------------------- 1 | Fix PathLike support for shutil.unpack_archive. Patch by Jelle Zijlstra. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0299.bpo-30285.s1vpsO.rst: -------------------------------------------------------------------------------- 1 | Optimized case-insensitive matching and searching of regular expressions. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0305.bpo-9850.c6SMxt.rst: -------------------------------------------------------------------------------- 1 | The :mod:`macpath` is now deprecated and will be removed in Python 3.8. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0312.bpo-30003.BOl9HE.rst: -------------------------------------------------------------------------------- 1 | Fix handling escape characters in HZ codec. Based on patch by Ma Lin. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0331.bpo-11822.GQmKw3.rst: -------------------------------------------------------------------------------- 1 | The dis.dis() function now is able to disassemble nested code objects. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0346.bpo-21071.Sw37rs.rst: -------------------------------------------------------------------------------- 1 | struct.Struct.format type is now :class:`str` instead of :class:`bytes`. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-06-24-18-55-58.bpo-30596.VhB8iG.rst: -------------------------------------------------------------------------------- 1 | Add a ``close()`` method to ``multiprocessing.Process``. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst: -------------------------------------------------------------------------------- 1 | Fix bug when modifying os.environ while iterating over it 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-06-30-23-05-47.bpo-30302.itwK_k.rst: -------------------------------------------------------------------------------- 1 | Use keywords in the ``repr`` of ``datetime.timedelta``. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-08-14-19-57.bpo-31400.YOTPKi.rst: -------------------------------------------------------------------------------- 1 | Improves SSL error handling to avoid losing error numbers. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0009.bpo-28950.1W8Glo.rst: -------------------------------------------------------------------------------- 1 | Disallow -j0 to be combined with -T/-l in regrtest command line arguments. 2 | -------------------------------------------------------------------------------- /PC/errmap.mak: -------------------------------------------------------------------------------- 1 | errmap.h: generrmap.exe 2 | .\generrmap.exe > errmap.h 3 | 4 | genermap.exe: generrmap.c 5 | cl generrmap.c 6 | -------------------------------------------------------------------------------- /Doc/whatsnew/changelog.rst: -------------------------------------------------------------------------------- 1 | .. _changelog: 2 | 3 | +++++++++ 4 | Changelog 5 | +++++++++ 6 | 7 | .. miscnews:: ../build/NEWS 8 | -------------------------------------------------------------------------------- /Lib/curses/panel.py: -------------------------------------------------------------------------------- 1 | """curses.panel 2 | 3 | Module for using panels with curses. 4 | """ 5 | 6 | from _curses_panel import * 7 | -------------------------------------------------------------------------------- /Lib/test/cjkencodings/shift_jisx0213.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/cjkencodings/shift_jisx0213.txt -------------------------------------------------------------------------------- /Lib/test/encoded_modules/module_koi8_r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/encoded_modules/module_koi8_r.py -------------------------------------------------------------------------------- /Lib/test/test_email/data/PyBanner048.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_email/data/PyBanner048.gif -------------------------------------------------------------------------------- /Lib/test/test_import/data/package2/submodule1.py: -------------------------------------------------------------------------------- 1 | import sys 2 | sys.modules.pop(__package__, None) 3 | from . import submodule2 4 | -------------------------------------------------------------------------------- /Mac/BuildScript/resources/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/BuildScript/resources/background.jpg -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PackageManager.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PackageManager.psd -------------------------------------------------------------------------------- /Mac/Resources/iconsrc/PythonCompiled.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/iconsrc/PythonCompiled.psd -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/2017-09-04-14-43-46.bpo-31341.XLuZFk.rst: -------------------------------------------------------------------------------- 1 | Per PEP 11, support for the IRIX operating system was removed. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0361.bpo-27222.74PvFk.rst: -------------------------------------------------------------------------------- 1 | Clean up redundant code in long_rshift function. Thanks Oren Milman. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0365.bpo-28214.zQF8Em.rst: -------------------------------------------------------------------------------- 1 | Now __set_name__ is looked up on the class instead of the instance. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0370.bpo-27942.ZGuhns.rst: -------------------------------------------------------------------------------- 1 | String constants now interned recursively in tuples and frozensets. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0374.bpo-24098.XqlP_1.rst: -------------------------------------------------------------------------------- 1 | Fixed possible crash when AST is changed in process of compiling it. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0385.bpo-28426.E_quyK.rst: -------------------------------------------------------------------------------- 1 | Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0420.bpo-29034.7-uEDT.rst: -------------------------------------------------------------------------------- 1 | Fix memory leak and use-after-free in os module (path_converter). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0421.bpo-29327.XXQarW.rst: -------------------------------------------------------------------------------- 1 | Fixed a crash when pass the iterable keyword argument to sorted(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0442.bpo-29849.hafvBD.rst: -------------------------------------------------------------------------------- 1 | Fix a memory leak when an ImportError is raised during from import. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0462.bpo-30486.KZi3nB.rst: -------------------------------------------------------------------------------- 1 | Allows setting cell values for __closure__. Patch by Lisa Roach. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0468.bpo-30736.kA4J9v.rst: -------------------------------------------------------------------------------- 1 | The internal unicodedata database has been upgraded to Unicode 10.0. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-08-09-09-40-54.bpo-31070.oDyLiI.rst: -------------------------------------------------------------------------------- 1 | Fix a race condition in importlib _get_module_lock(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-09-14-17-53-53.bpo-31480.4WJ0pl.rst: -------------------------------------------------------------------------------- 1 | IDLE - make tests pass with zzdummy extension disabled by default. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0114.bpo-27906.TBBXrv.rst: -------------------------------------------------------------------------------- 1 | Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0125.bpo-28200.4IEbr7.rst: -------------------------------------------------------------------------------- 1 | Fix memory leak on Windows in the os module (fix path_converter() function). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0211.bpo-29219.kxui7t.rst: -------------------------------------------------------------------------------- 1 | Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0212.bpo-29210.y1UHWf.rst: -------------------------------------------------------------------------------- 1 | Removed support of deprecated argument "exclude" in tarfile.TarFile.add(). 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0239.bpo-29703.ZdsPCR.rst: -------------------------------------------------------------------------------- 1 | Fix asyncio to support instantiation of new event loops in child processes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0280.bpo-30068.n4q47r.rst: -------------------------------------------------------------------------------- 1 | _io._IOBase.readlines will check if it's closed first when hint is present. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0318.bpo-30526.7zTG30.rst: -------------------------------------------------------------------------------- 1 | Add TextIOWrapper.reconfigure() and a TextIOWrapper.write_through attribute. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0319.bpo-30557.uykrLf.rst: -------------------------------------------------------------------------------- 1 | faulthandler now correctly filters and displays exception codes on Windows 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0341.bpo-30616.I2mDTz.rst: -------------------------------------------------------------------------------- 1 | Functional API of enum allows to create empty enums. Patched by Dong-hee Na 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-30-22-00-12.bpo-30987.228rW0.rst: -------------------------------------------------------------------------------- 1 | Added support for CAN ISO-TP protocol in the socket module. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-01-18-26-55.bpo-31080.2CFVCO.rst: -------------------------------------------------------------------------------- 1 | Allow `logging.config.fileConfig` to accept kwargs and/or args. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-09-06-17-14-54.bpo-30389.9Dizrx.rst: -------------------------------------------------------------------------------- 1 | Adds detection of Visual Studio 2017 to distutils on Windows. 2 | -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-10.0-amd64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-10.0-amd64.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-14.0-amd64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-14.0-amd64.exe -------------------------------------------------------------------------------- /Lib/distutils/command/wininst-9.0-amd64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/distutils/command/wininst-9.0-amd64.exe -------------------------------------------------------------------------------- /Lib/test/badsyntax_future10.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | "spam, bar, blah" 3 | from __future__ import print_function 4 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/basic.py: -------------------------------------------------------------------------------- 1 | """Circular imports through direct, relative imports.""" 2 | from . import basic2 3 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/rebinding2.py: -------------------------------------------------------------------------------- 1 | from .subpkg import util 2 | from . import rebinding 3 | util = util.util 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0019.bpo-28676.Wxf6Ds.rst: -------------------------------------------------------------------------------- 1 | Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth 2 | Rees. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0383.bpo-28214.6ECJox.rst: -------------------------------------------------------------------------------- 1 | Improved exception reporting for problematic __set_name__ attributes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0414.bpo-29000.K6wQ-3.rst: -------------------------------------------------------------------------------- 1 | Fixed bytes formatting of octals with zero padding in alternate form. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0434.bpo-29683.G5iS-P.rst: -------------------------------------------------------------------------------- 1 | Fixes to memory allocation in _PyCode_SetExtra. Patch by Brian Coleman. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0435.bpo-28876.cU-sGT.rst: -------------------------------------------------------------------------------- 1 | ``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-07-17-12-12-59.bpo-30808.bA3zOv.rst: -------------------------------------------------------------------------------- 1 | Use _Py_atomic API for concurrency-sensitive signal state. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-17-15-00-20.bpo-31001.KLxYHC.rst: -------------------------------------------------------------------------------- 1 | Add tests for configdialog highlight tab. Patch by Cheryl Sabella. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0159.bpo-18219.1ANQN1.rst: -------------------------------------------------------------------------------- 1 | Optimize csv.DictWriter for large number of columns. Patch by Mariatta 2 | Wijaya. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0179.bpo-19717.HXCAIz.rst: -------------------------------------------------------------------------------- 1 | Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky 2 | Kok 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0209.bpo-29193.CgcjEx.rst: -------------------------------------------------------------------------------- 1 | A format string argument for string.Formatter.format() is now positional- 2 | only. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0225.bpo-29851.jqs_5s.rst: -------------------------------------------------------------------------------- 1 | importlib.reload() now raises ModuleNotFoundError if the module lacks a 2 | spec. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0234.bpo-28518.o-Q2Nw.rst: -------------------------------------------------------------------------------- 1 | Start a transaction implicitly before a DML statement. Patch by Aviv 2 | Palivoda. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0273.bpo-29962.r-ibsN.rst: -------------------------------------------------------------------------------- 1 | Add math.remainder operation, implementing remainder as specified in IEEE 2 | 754. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0287.bpo-29822.G7dX13.rst: -------------------------------------------------------------------------------- 1 | inspect.isabstract() now works during __init_subclass__. Patch by Nate 2 | Soares. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0314.bpo-30470.wAYhUc.rst: -------------------------------------------------------------------------------- 1 | Deprecate invalid ctypes call protection on Windows. Patch by Mariatta 2 | Wijaya. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-04-13-10-52.bpo-30828.CLvEvV.rst: -------------------------------------------------------------------------------- 1 | Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-09-13-45-23.bpo-31072.NLXDPV.rst: -------------------------------------------------------------------------------- 1 | Add an ``include_file`` parameter to ``zipapp.create_archive()`` 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-28-13-01-05.bpo-10746.nmAvfu.rst: -------------------------------------------------------------------------------- 1 | Fix ctypes producing wrong PEP 3118 type codes for integer types. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0006.bpo-28666.RtTk-4.rst: -------------------------------------------------------------------------------- 1 | Now test.support.rmtree is able to remove unwritable or unreadable 2 | directories. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-07-15-00-40-12.bpo-30916.BpCrro.rst: -------------------------------------------------------------------------------- 1 | Pre-build OpenSSL, Tcl and Tk and include the binaries in the build. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-09-04-13-19-05.bpo-31340.MbkzLi.rst: -------------------------------------------------------------------------------- 1 | Change to building with MSVC v141 (included with Visual Studio 2017) 2 | -------------------------------------------------------------------------------- /Modules/README: -------------------------------------------------------------------------------- 1 | Source files for standard library extension modules, 2 | and former extension modules that are now builtin modules. 3 | -------------------------------------------------------------------------------- /Tools/scripts/2to3: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import sys 3 | from lib2to3.main import main 4 | 5 | sys.exit(main("lib2to3.fixes")) 6 | -------------------------------------------------------------------------------- /Tools/scripts/idle3: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python3 2 | 3 | from idlelib.pyshell import main 4 | if __name__ == '__main__': 5 | main() 6 | -------------------------------------------------------------------------------- /Lib/test/encoded_modules/module_iso_8859_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/encoded_modules/module_iso_8859_1.py -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/subpackage.py: -------------------------------------------------------------------------------- 1 | """Circular import involving a sub-package.""" 2 | from .subpkg import subpackage2 3 | -------------------------------------------------------------------------------- /Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/IDLE/IDLE.app/Contents/Resources/IDLE.icns -------------------------------------------------------------------------------- /Mac/Resources/app/Resources/PythonApplet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/app/Resources/PythonApplet.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0020.bpo-15819.QVDr3E.rst: -------------------------------------------------------------------------------- 1 | Remove redundant include search directory option for building outside the 2 | source tree. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0031.bpo-10656.pR8FFU.rst: -------------------------------------------------------------------------------- 1 | Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael 2 | Haubenwallner. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/2017-09-08-11-48-11.bpo-31354.4f-VJK.rst: -------------------------------------------------------------------------------- 1 | Allow --with-lto to be used on all builds, not just `make profile-opt`. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0380.bpo-26081._x5vjl.rst: -------------------------------------------------------------------------------- 1 | Added C implementation of asyncio.Future. Original patch by Yury Selivanov. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0412.bpo-28596.snIJRd.rst: -------------------------------------------------------------------------------- 1 | The preferred encoding is UTF-8 on Android. Patch written by Chi Hsuan Yen. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0467.bpo-30604.zGPGoX.rst: -------------------------------------------------------------------------------- 1 | Move co_extra_freefuncs from per-thread to per-interpreter to avoid crashes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-04-16-35-06.bpo-31347.KDuf2w.rst: -------------------------------------------------------------------------------- 1 | Fix possible undefined behavior in _PyObject_FastCall_Prepend. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-11-02-26-17.bpo-30899.SQmVO8.rst: -------------------------------------------------------------------------------- 1 | IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-07-14-02-56.bpo-31130.FbsC7f.rst: -------------------------------------------------------------------------------- 1 | IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst: -------------------------------------------------------------------------------- 1 | Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0106.bpo-28369.8DTANe.rst: -------------------------------------------------------------------------------- 1 | Raise RuntimeError when transport's FD is used with add_reader, add_writer, 2 | etc. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0109.bpo-27759.qpMDGq.rst: -------------------------------------------------------------------------------- 1 | Fix selectors incorrectly retain invalid file descriptors. Patch by Mark 2 | Williams. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0113.bpo-28174.CV1UdI.rst: -------------------------------------------------------------------------------- 1 | Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael 2 | Larson. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0116.bpo-28114.gmFXsA.rst: -------------------------------------------------------------------------------- 1 | Fix a crash in parse_envlist() when env contains byte strings. Patch by Eryk 2 | Sun. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0130.bpo-18893.osiX5c.rst: -------------------------------------------------------------------------------- 1 | Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by 2 | Madison May. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0165.bpo-27025.foAViS.rst: -------------------------------------------------------------------------------- 1 | Generated names for Tkinter widgets now start by the "!" prefix for 2 | readability. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0193.bpo-16255.p2YA85.rst: -------------------------------------------------------------------------------- 1 | subprocess.Popen uses /system/bin/sh on Android as the shell, instead of 2 | /bin/sh. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0215.bpo-29290.XBqptF.rst: -------------------------------------------------------------------------------- 1 | Fix a regression in argparse that help messages would wrap at non-breaking 2 | spaces. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0242.bpo-28963.tPl8dq.rst: -------------------------------------------------------------------------------- 1 | Fix out of bound iteration in asyncio.Future.remove_done_callback 2 | implemented in C. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0249.bpo-29645.XCxTHM.rst: -------------------------------------------------------------------------------- 1 | Speed up importing the webbrowser module. webbrowser.register() is now 2 | thread-safe. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0253.bpo-28692.CDt-Gb.rst: -------------------------------------------------------------------------------- 1 | Using non-integer value for selecting a plural form in gettext is now 2 | deprecated. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0261.bpo-29901.QdgMvW.rst: -------------------------------------------------------------------------------- 1 | The zipapp module now supports general path-like objects, not just 2 | pathlib.Path. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0265.bpo-27863.pPYHHI.rst: -------------------------------------------------------------------------------- 1 | Fixed multiple crashes in ElementTree caused by race conditions and wrong 2 | types. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0271.bpo-29654.xRFPge.rst: -------------------------------------------------------------------------------- 1 | Support If-Modified-Since HTTP header (browser cache). Patch by Pierre 2 | Quentel. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0279.bpo-29694.LWKxb1.rst: -------------------------------------------------------------------------------- 1 | Fixed race condition in pathlib mkdir with flags parents=True. Patch by 2 | Armin Rigo. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0316.bpo-30378.R_19_5.rst: -------------------------------------------------------------------------------- 1 | Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6 2 | addresses. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0325.bpo-29743.en2P4s.rst: -------------------------------------------------------------------------------- 1 | Closing transport during handshake process leaks open socket. Patch by 2 | Nikolay Kim 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-27-11-33-58.bpo-30502.GJlfU8.rst: -------------------------------------------------------------------------------- 1 | Fix handling of long oids in ssl. Based on patch by Christian Heimes. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-05-14-55-28.bpo-31178.JrSFo7.rst: -------------------------------------------------------------------------------- 1 | Fix string concatenation bug in rare error path in the subprocess module 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Security/2017-08-23-17-02-55.bpo-29505.BL6Yt8.rst: -------------------------------------------------------------------------------- 1 | Add fuzz tests for float(str), int(str), unicode(str); for oss-fuzz. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tools-Demos/0013.bpo-28102.5fKaek.rst: -------------------------------------------------------------------------------- 1 | The zipfile module CLI now prints usage to stderr. Patch by Stephen J. 2 | Turnbull. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tools-Demos/0016.bpo-29367.4dOKL0.rst: -------------------------------------------------------------------------------- 1 | python-gdb.py now supports also ``method-wrapper`` (``wrapperobject``) 2 | objects. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-06-27-07-04-06.bpo-23451.bl_QOB.rst: -------------------------------------------------------------------------------- 1 | Fix socket deprecation warnings in socketmodule.c. Patch by Segev Finer. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-07-13-11-22-53.bpo-30731.nmMDwI.rst: -------------------------------------------------------------------------------- 1 | Add a missing xmlns to python.manifest so that it matches the schema. 2 | -------------------------------------------------------------------------------- /Lib/pydoc_data/_pydoc.css: -------------------------------------------------------------------------------- 1 | /* 2 | CSS file for pydoc. 3 | 4 | Contents of this file are subject to change without notice. 5 | 6 | */ 7 | -------------------------------------------------------------------------------- /Lib/test/test_lib2to3.py: -------------------------------------------------------------------------------- 1 | from lib2to3.tests import load_tests 2 | import unittest 3 | 4 | if __name__ == '__main__': 5 | unittest.main() 6 | -------------------------------------------------------------------------------- /Lib/test/test_warnings/data/import_warning.py: -------------------------------------------------------------------------------- 1 | import warnings 2 | 3 | warnings.warn('module-level warning', DeprecationWarning, stacklevel=2) 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst: -------------------------------------------------------------------------------- 1 | Private variable _Py_PackageContext is now of type ``const char *`` rather 2 | of ``char *``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0358.bpo-28126.Qf6-uQ.rst: -------------------------------------------------------------------------------- 1 | Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize 2 | memcpy(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0388.bpo-28583.F-QAx1.rst: -------------------------------------------------------------------------------- 1 | PyDict_SetDefault didn't combine split table when needed. Patch by Xiang 2 | Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0426.bpo-29546.PS1I1T.rst: -------------------------------------------------------------------------------- 1 | Set the 'path' and 'name' attribute on ImportError for ``from ... import 2 | ...``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0429.bpo-29347.1RPPGN.rst: -------------------------------------------------------------------------------- 1 | Fixed possibly dereferencing undefined pointers when creating weakref 2 | objects. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0431.bpo-29607.7NvBA1.rst: -------------------------------------------------------------------------------- 1 | Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu 2 | Dartiailh. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0438.bpo-29714.z-BhVd.rst: -------------------------------------------------------------------------------- 1 | Fix a regression that bytes format may fail when containing zero bytes 2 | inside. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/2017-07-29-14-55-50.bpo-30803.6hutqQ.rst: -------------------------------------------------------------------------------- 1 | Clarify doc on truth value testing. Original patch by Peter Thomassen. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/2017-09-06-10-11-57.bpo-21649.EUvqA9.rst: -------------------------------------------------------------------------------- 1 | Add RFC 7525 and Mozilla server side TLS links to SSL documentation. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0121.bpo-28075.aLiUs9.rst: -------------------------------------------------------------------------------- 1 | Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch 2 | by Eryk Sun. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0241.bpo-29704.WHbx27.rst: -------------------------------------------------------------------------------- 1 | asyncio.subprocess.SubprocessStreamProtocol no longer closes before all 2 | pipes are closed. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0251.bpo-29619.WIGVxO.rst: -------------------------------------------------------------------------------- 1 | os.stat() and os.DirEntry.inode() now convert inode (st_ino) using unsigned 2 | integers. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0257.bpo-29884.kWXR8W.rst: -------------------------------------------------------------------------------- 1 | faulthandler: Restore the old sigaltstack during teardown. Patch by 2 | Christophe Zeitouny. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0270.bpo-29931.tfcTwK.rst: -------------------------------------------------------------------------------- 1 | Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay 2 | Sundaresan. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0293.bpo-30103.mmPjf5.rst: -------------------------------------------------------------------------------- 1 | binascii.b2a_uu() and uu.encode() now support using ``'`'`` as zero instead 2 | of space. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0294.bpo-30185.Tiu1n8.rst: -------------------------------------------------------------------------------- 1 | Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C 2 | is received. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0317.bpo-30245.Xoa_8Y.rst: -------------------------------------------------------------------------------- 1 | Fix possible overflow when organize struct.pack_into error message. Patch 2 | by Yuan Liu. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0350.bpo-30879.N3KI-o.rst: -------------------------------------------------------------------------------- 1 | os.listdir() and os.scandir() now emit bytes names when called with bytes- 2 | like argument. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst: -------------------------------------------------------------------------------- 1 | Fix email header value parser dropping folding white space in certain cases. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-18-13-24-50.bpo-19896.-S0IWu.rst: -------------------------------------------------------------------------------- 1 | Fix multiprocessing.sharedctypes to recognize typecodes ``'q'`` and ``'Q'``. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst: -------------------------------------------------------------------------------- 1 | Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0004.bpo-26944.ChZ_BO.rst: -------------------------------------------------------------------------------- 1 | Fix test_posix for Android where 'id -G' is entirely wrong or missing the 2 | effective gid. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/2017-09-04-16-21-18.bpo-31346.xni1VR.rst: -------------------------------------------------------------------------------- 1 | Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-06-28-03-08-22.bpo-30362.XxeVMB.rst: -------------------------------------------------------------------------------- 1 | Adds list options (-0, -0p) to py.exe launcher. Contributed by Steve Barnes. 2 | -------------------------------------------------------------------------------- /Tools/test2to3/test2to3/hello.py: -------------------------------------------------------------------------------- 1 | def hello(): 2 | try: 3 | print "Hello, world" 4 | except IOError, e: 5 | print e.errno 6 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/bad_order.py: -------------------------------------------------------------------------------- 1 | from lib2to3.fixer_base import BaseFix 2 | 3 | class FixBadOrder(BaseFix): 4 | 5 | order = "crazy" 6 | -------------------------------------------------------------------------------- /Lib/test/dtracedata/gc.d.expected: -------------------------------------------------------------------------------- 1 | gc-start:0 2 | gc-done:0 3 | gc-start:1 4 | gc-done:0 5 | gc-start:2 6 | gc-done:0 7 | gc-start:2 8 | gc-done:1 9 | -------------------------------------------------------------------------------- /Lib/test/test_future4.py: -------------------------------------------------------------------------------- 1 | from __future__ import unicode_literals 2 | 3 | import unittest 4 | 5 | if __name__ == "__main__": 6 | unittest.main() 7 | -------------------------------------------------------------------------------- /Mac/Resources/app/Resources/PythonInterpreter.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/Resources/app/Resources/PythonInterpreter.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst: -------------------------------------------------------------------------------- 1 | Fix compile error when compiling --without-threads. 2 | Patch by Masayuki Yamamoto. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0362.bpo-27441.scPKax.rst: -------------------------------------------------------------------------------- 1 | Remove some redundant assignments to ob_size in longobject.c. Thanks Oren 2 | Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0367.bpo-28203.LRn5vp.rst: -------------------------------------------------------------------------------- 1 | Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya 2 | Sharma. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0368.bpo-21578.GI1bhj.rst: -------------------------------------------------------------------------------- 1 | Fixed misleading error message when ImportError called with invalid keyword 2 | args. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0375.bpo-18287.k6jffS.rst: -------------------------------------------------------------------------------- 1 | PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas 2 | Koep. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0378.bpo-28376.oPD-5D.rst: -------------------------------------------------------------------------------- 1 | The type of long range iterator is now registered as Iterator. Patch by Oren 2 | Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0379.bpo-28379.DuXlco.rst: -------------------------------------------------------------------------------- 1 | Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang 2 | Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0093.bpo-30495.I3i5vL.rst: -------------------------------------------------------------------------------- 1 | Add docstrings for textview.py and use PEP8 names. Patches by Cheryl Sabella 2 | and Terry Jan Reedy. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-04-22-45-46.bpo-30777.uxzlMB.rst: -------------------------------------------------------------------------------- 1 | IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl 2 | Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-18-14-13-42.bpo-31206.F1-tKK.rst: -------------------------------------------------------------------------------- 1 | IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl 2 | Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0119.bpo-25270.jrZruM.rst: -------------------------------------------------------------------------------- 1 | Prevent codecs.escape_encode() from raising SystemError when an empty 2 | bytestring is passed. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0142.bpo-28332.Ed8fNk.rst: -------------------------------------------------------------------------------- 1 | Deprecated silent truncations in socket.htons and socket.ntohs. Original 2 | patch by Oren Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0154.bpo-28240.IwQMgd.rst: -------------------------------------------------------------------------------- 1 | timeit now repeats the benchmarks 5 times instead of only 3 to make 2 | benchmarks more reliable. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0160.bpo-28115.4FIjIE.rst: -------------------------------------------------------------------------------- 1 | Command-line interface of the zipfile module now uses argparse. Added 2 | support of long options. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0164.bpo-25464.HDUTCu.rst: -------------------------------------------------------------------------------- 1 | Fixed HList.header_exists() in tkinter.tix module by addin a workaround to 2 | Tix library bug. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0203.bpo-15812.R1U-Ec.rst: -------------------------------------------------------------------------------- 1 | inspect.getframeinfo() now correctly shows the first line of a context. 2 | Patch by Sam Breese. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0233.bpo-29742.8hqfEO.rst: -------------------------------------------------------------------------------- 1 | get_extra_info() raises exception if get called on closed ssl transport. 2 | Patch by Nikolay Kim. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0245.bpo-29728.37jMwb.rst: -------------------------------------------------------------------------------- 1 | Add new :data:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by 2 | Nathaniel J. Smith. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0268.bpo-29942.CsGNuT.rst: -------------------------------------------------------------------------------- 1 | Fix a crash in itertools.chain.from_iterable when encountering long runs of 2 | empty iterables. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0334.bpo-28994.9vzun1.rst: -------------------------------------------------------------------------------- 1 | The traceback no longer displayed for SystemExit raised in a callback 2 | registered by atexit. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0343.bpo-29755.diQcY_.rst: -------------------------------------------------------------------------------- 1 | Fixed the lgettext() family of functions in the gettext module. They now 2 | always return bytes. 3 | -------------------------------------------------------------------------------- /PC/bdist_wininst/README.txt: -------------------------------------------------------------------------------- 1 | 2 | XXX Write description 3 | XXX Dont't forget to mention upx 4 | 5 | XXX Add pointer to this file into PC/README.txt 6 | -------------------------------------------------------------------------------- /Tools/test2to3/README: -------------------------------------------------------------------------------- 1 | This project demonstrates how a distutils package 2 | can support Python 2.x and Python 3.x from a single 3 | source, using lib2to3. -------------------------------------------------------------------------------- /Lib/ensurepip/_bundled/pip-9.0.1-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/ensurepip/_bundled/pip-9.0.1-py2.py3-none-any.whl -------------------------------------------------------------------------------- /Lib/site-packages/README.txt: -------------------------------------------------------------------------------- 1 | This directory exists so that 3rd party packages can be installed 2 | here. Read the source for site.py for more details. 3 | -------------------------------------------------------------------------------- /Lib/test/data/README: -------------------------------------------------------------------------------- 1 | This empty directory serves as destination for temporary files 2 | created by some tests, in particular, the test_codecmaps_* tests. 3 | -------------------------------------------------------------------------------- /Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/IDLE/IDLE.app/Contents/Resources/PythonSource.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0035.bpo-28762.Ru0YN_.rst: -------------------------------------------------------------------------------- 1 | lockf() is available on Android API level 24, but the F_LOCK macro is not 2 | defined in android-ndk-r13. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0373.bpo-28201.GWUxAy.rst: -------------------------------------------------------------------------------- 1 | Dict reduces possibility of 2nd conflict in hash table when hashes have same 2 | lower bits. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0384.bpo-28517.ExPkm9.rst: -------------------------------------------------------------------------------- 1 | Fixed of-by-one error in the peephole optimizer that caused keeping 2 | unreachable code. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0405.bpo-28918.SFVuPz.rst: -------------------------------------------------------------------------------- 1 | Fix the cross compilation of xxlimited when Python has been built with 2 | Py_DEBUG defined. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0443.bpo-29859.Z1MLcA.rst: -------------------------------------------------------------------------------- 1 | Show correct error messages when any of the pthread_* calls in 2 | thread_pthread.h fails. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0446.bpo-24821.4DINGV.rst: -------------------------------------------------------------------------------- 1 | Fixed the slowing down to 25 times in the searching of some unlucky Unicode 2 | characters. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-28-18-59-06.bpo-30781.ud5m18.rst: -------------------------------------------------------------------------------- 1 | IDLE - Use ttk widgets in ConfigDialog. 2 | Patches by Terry Jan Reedy and Cheryl Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0107.bpo-28368.n594X4.rst: -------------------------------------------------------------------------------- 1 | Refuse monitoring processes if the child watcher has no loop attached. Patch 2 | by Vincent Michel. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0117.bpo-25895.j92qoQ.rst: -------------------------------------------------------------------------------- 1 | Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh 2 | and Markus Holtermann. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0136.bpo-28314.N7YrkN.rst: -------------------------------------------------------------------------------- 1 | Fix function declaration (C flags) for the getiterator() method of 2 | xml.etree.ElementTree.Element. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0161.bpo-28469.QZW1Np.rst: -------------------------------------------------------------------------------- 1 | timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, 2 | 100,... for autoranging. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0168.bpo-20491.ObgnQ2.rst: -------------------------------------------------------------------------------- 1 | The textwrap.TextWrapper class now honors non-breaking spaces. Based on 2 | patch by Kaarle Ritvanen. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0198.bpo-28427.vUd-va.rst: -------------------------------------------------------------------------------- 1 | old keys should not remove new values from WeakValueDictionary when 2 | collecting from another thread. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0206.bpo-20804.XyZhvi.rst: -------------------------------------------------------------------------------- 1 | The unittest.mock.sentinel attributes now preserve their identity when they 2 | are copied or pickled. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0221.bpo-29444.cEwgmk.rst: -------------------------------------------------------------------------------- 1 | Fixed out-of-bounds buffer access in the group() method of the match object. 2 | Based on patch by WGH. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0226.bpo-10379.mRlZsT.rst: -------------------------------------------------------------------------------- 1 | locale.format_string now supports the 'monetary' keyword argument, and 2 | locale.format is deprecated. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0244.bpo-29623.D3-NP2.rst: -------------------------------------------------------------------------------- 1 | Allow use of path-like object as a single argument in ConfigParser.read(). 2 | Patch by David Ellis. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0286.bpo-29960.g0wr3r.rst: -------------------------------------------------------------------------------- 1 | Preserve generator state when _random.Random.setstate() raises an exception. 2 | Patch by Bryan Olson. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0309.bpo-30301.ywOkjN.rst: -------------------------------------------------------------------------------- 1 | Fix AttributeError when using SimpleQueue.empty() under *spawn* and 2 | *forkserver* start methods. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0313.bpo-30414.jGl1Lb.rst: -------------------------------------------------------------------------------- 1 | multiprocessing.Queue._feed background running thread do not break from main 2 | loop on exception. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0340.bpo-30038.vb4DWk.rst: -------------------------------------------------------------------------------- 1 | Fix race condition between signal delivery and wakeup file descriptor. 2 | Patch by Nathaniel Smith. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0349.bpo-30746.7drQI0.rst: -------------------------------------------------------------------------------- 1 | Prohibited the '=' character in environment variable names in 2 | ``os.putenv()`` and ``os.spawn*()``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Security/2017-08-16-16-35-59.bpo-30947.iNMmm4.rst: -------------------------------------------------------------------------------- 1 | Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security 2 | fixes. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0008.bpo-28683.Fp-Hdq.rst: -------------------------------------------------------------------------------- 1 | Fix the tests that bind() a unix socket and raise PermissionError on Android 2 | for a non-root user. 3 | -------------------------------------------------------------------------------- /Lib/test/dtracedata/gc.stp.expected: -------------------------------------------------------------------------------- 1 | gc__start:0 2 | gc__done:0 3 | gc__start:1 4 | gc__done:0 5 | gc__start:2 6 | gc__done:0 7 | gc__start:2 8 | gc__done:1 9 | -------------------------------------------------------------------------------- /Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/IDLE/IDLE.app/Contents/Resources/PythonCompiled.icns -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Build* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst: -------------------------------------------------------------------------------- 1 | Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), 2 | PyOS_AfterFork_Parent() and PyOS_AfterFork_Child(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *C API* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0382.bpo-23782.lonDzj.rst: -------------------------------------------------------------------------------- 1 | Fixed possible memory leak in _PyTraceback_Add() and exception loss in 2 | PyTraceBack_Here(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0441.bpo-28856.AFRmo4.rst: -------------------------------------------------------------------------------- 1 | Fix an oversight that %b format for bytes should support objects follow the 2 | buffer protocol. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0445.bpo-29102.AW4YPj.rst: -------------------------------------------------------------------------------- 1 | Add a unique ID to PyInterpreterState. This makes it easier to identify 2 | each subinterpreter. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-08-08-12-00-29.bpo-30747.g2kZRT.rst: -------------------------------------------------------------------------------- 1 | Add a non-dummy implementation of _Py_atomic_store and _Py_atomic_load on 2 | MSVC. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-06-29-18-23-06.bpo-30495.qIWgc4.rst: -------------------------------------------------------------------------------- 1 | IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by 2 | Cheryl Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *IDLE* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0100.bpo-24142.IrZnFs.rst: -------------------------------------------------------------------------------- 1 | Reading a corrupt config file left configparser in an invalid state. 2 | Original patch by Florian Höch. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0166.bpo-28430.4MiEYT.rst: -------------------------------------------------------------------------------- 1 | Fix iterator of C implemented asyncio.Future doesn't accept non-None value 2 | is passed to it.send(val). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0173.bpo-23262.6EVB7N.rst: -------------------------------------------------------------------------------- 1 | The webbrowser module now supports Firefox 36+ and derived browsers. Based 2 | on patch by Oleg Broytman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0194.bpo-20191.Q7uZCS.rst: -------------------------------------------------------------------------------- 1 | Fixed a crash in resource.prlimit() when passing a sequence that doesn't own 2 | its elements as limits. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0200.bpo-13051.YzC1Te.rst: -------------------------------------------------------------------------------- 1 | Fixed recursion errors in large or resized curses.textpad.Textbox. Based on 2 | patch by Tycho Andersen. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0204.bpo-28961.Rt93vg.rst: -------------------------------------------------------------------------------- 1 | Fix unittest.mock._Call helper: don't ignore the name parameter anymore. 2 | Patch written by Jiajun Huang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0208.bpo-29195.vK5LjU.rst: -------------------------------------------------------------------------------- 1 | Removed support of deprecated undocumented keyword arguments in methods of 2 | regular expression objects. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0223.bpo-29100.LAAERS.rst: -------------------------------------------------------------------------------- 1 | Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check 2 | minimum and maximum years. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0227.bpo-29534.Ug3HPU.rst: -------------------------------------------------------------------------------- 1 | Fixed different behaviour of Decimal.from_float() for _decimal and 2 | _pydecimal. Thanks Andrew Nester. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0337.bpo-24744.NKxUj3.rst: -------------------------------------------------------------------------------- 1 | pkgutil.walk_packages function now raises ValueError if *path* is a string. 2 | Patch by Sanyam Khurana. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0351.bpo-30119.4UMLNh.rst: -------------------------------------------------------------------------------- 1 | ftplib.FTP.putline() now throws ValueError on commands that contains CR or 2 | LF. Patch by Dong-hee Na. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-04-22-00-20.bpo-30794.qFwozm.rst: -------------------------------------------------------------------------------- 1 | Added multiprocessing.Process.kill method to terminate using the SIGKILL 2 | signal on Unix. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst: -------------------------------------------------------------------------------- 1 | Fix segfault in readline when using readline's history-size option. Patch 2 | by Nir Soffer. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-17-11-35-00.bpo-25684.usELVx.rst: -------------------------------------------------------------------------------- 1 | Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of 2 | ``OptionMenu``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-16-20-28-06.bpo-18966.mjHWk2.rst: -------------------------------------------------------------------------------- 1 | Non-daemonic threads created by a multiprocessing.Process are now joined on 2 | child exit. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst: -------------------------------------------------------------------------------- 1 | Make return types of SSLContext.wrap_bio() and SSLContext.wrap_socket() 2 | customizable. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-13-23-27-39.bpo-28556.UmTQvv.rst: -------------------------------------------------------------------------------- 1 | Speed improvements to the ``typing`` module. Original PRs by Ivan 2 | Levkivskyi and Mitar. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Tests* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/macOS/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *macOS* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/nested_portion1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_importlib/namespace_pkgs/nested_portion1.zip -------------------------------------------------------------------------------- /Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/PythonLauncher/English.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/PythonLauncher/English.lproj/MyDocument.nib/objects.nib -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0025.bpo-13756.sslhpC.rst: -------------------------------------------------------------------------------- 1 | Fix building extensions modules on Cygwin. Patch by Roumen Petrov, based on 2 | original patch by Jason Tishler. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0418.bpo-29049.KpVXBw.rst: -------------------------------------------------------------------------------- 1 | Call _PyObject_GC_TRACK() lazily when calling Python function. Calling 2 | function is up to 5% faster. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0432.bpo-28598.QxbzQn.rst: -------------------------------------------------------------------------------- 1 | Support __rmod__ for subclasses of str being called before str.__mod__. 2 | Patch by Martijn Pieters. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0436.bpo-28893.WTKnpj.rst: -------------------------------------------------------------------------------- 1 | Set correct __cause__ for errors about invalid awaitables returned from 2 | __aiter__ and __anext__. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0454.bpo-30024.kSOlED.rst: -------------------------------------------------------------------------------- 1 | Circular imports involving absolute imports with binding a submodule to a 2 | name are now supported. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0455.bpo-28974.jVewS0.rst: -------------------------------------------------------------------------------- 1 | ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than 2 | ``format(str(self), '')``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0089.bpo-28572.1_duKY.rst: -------------------------------------------------------------------------------- 1 | Add 10% to coverage of IDLE's test_configdialog. Update and augment 2 | description of the configuration system. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0095.bpo-25514.882pXa.rst: -------------------------------------------------------------------------------- 1 | Add doc subsubsection about IDLE failure to start. Popup no-connection 2 | message directs users to this section. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-17-23-35-57.bpo-30917.hSiuuO.rst: -------------------------------------------------------------------------------- 1 | Add tests for idlelib.config.IdleConf. 2 | Increase coverage from 46% to 96%. 3 | Patch by Louie Lu. 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0155.bpo-28240.hqzQvS.rst: -------------------------------------------------------------------------------- 1 | timeit: remove ``-c/--clock`` and ``-t/--time`` command line options which 2 | were deprecated since Python 3.3. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0182.bpo-20572.NCRmvz.rst: -------------------------------------------------------------------------------- 1 | Remove the subprocess.Popen.wait endtime parameter. It was deprecated in 2 | 3.4 and undocumented prior to that. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0231.bpo-29532.YCwVQn.rst: -------------------------------------------------------------------------------- 1 | Altering a kwarg dictionary passed to functools.partial() no longer affects 2 | a partial object after creation. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0235.bpo-28624.43TJib.rst: -------------------------------------------------------------------------------- 1 | Add a test that checks that cwd parameter of Popen() accepts PathLike 2 | objects. Patch by Sayan Chowdhury. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0255.bpo-29800.d2xASa.rst: -------------------------------------------------------------------------------- 1 | Fix crashes in partial.__repr__ if the keys of partial.keywords are not 2 | strings. Patch by Michael Seifert. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0269.bpo-29953.Q1hSt-.rst: -------------------------------------------------------------------------------- 1 | Fixed memory leaks in the replace() method of datetime and time objects when 2 | pass out of bound fold argument. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0284.bpo-22352.gIQ5qC.rst: -------------------------------------------------------------------------------- 1 | Column widths in the output of dis.dis() are now adjusted for large line 2 | numbers and instruction offsets. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0326.bpo-29870.p960Ih.rst: -------------------------------------------------------------------------------- 1 | Fix ssl sockets leaks when connection is aborted in asyncio/ssl 2 | implementation. Patch by Michaël Sghaïer. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0348.bpo-30664.oyqiUl.rst: -------------------------------------------------------------------------------- 1 | The description of a unittest subtest now preserves the order of keyword 2 | arguments of TestCase.subTest(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-23-00-31-32.bpo-29741.EBn_DM.rst: -------------------------------------------------------------------------------- 1 | Update some methods in the _pyio module to also accept integer types. Patch 2 | by Oren Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-06-19-41-01.bpo-28958.x4-K5F.rst: -------------------------------------------------------------------------------- 1 | ssl.SSLContext() now uses OpenSSL error information when a context cannot be 2 | instantiated. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Library* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Security/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Security* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0001.bpo-26939.7j_W5R.rst: -------------------------------------------------------------------------------- 1 | Add the support.setswitchinterval() function to fix test_functools hanging 2 | on the Android armv7 qemu emulator. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/2017-06-30-11-20-20.bpo-30695.lo7FQX.rst: -------------------------------------------------------------------------------- 1 | Add the `set_nomemory(start, stop)` and `remove_mem_hooks()` functions to 2 | the _testcapi module. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Windows* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /PC/empty.c: -------------------------------------------------------------------------------- 1 | #include 2 | int __stdcall 3 | WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) 4 | { 5 | return 0; 6 | } -------------------------------------------------------------------------------- /PCbuild/clean.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem A batch program to clean a particular configuration, 3 | rem just for convenience. 4 | 5 | call %~dp0build.bat -t Clean %* 6 | -------------------------------------------------------------------------------- /Lib/asyncio/log.py: -------------------------------------------------------------------------------- 1 | """Logging configuration.""" 2 | 3 | import logging 4 | 5 | 6 | # Name the logger after the package. 7 | logger = logging.getLogger(__package__) 8 | -------------------------------------------------------------------------------- /Lib/ensurepip/_bundled/setuptools-28.8.0-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/ensurepip/_bundled/setuptools-28.8.0-py2.py3-none-any.whl -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/missing_directory.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_importlib/namespace_pkgs/missing_directory.zip -------------------------------------------------------------------------------- /Lib/test/test_importlib/namespace_pkgs/top_level_portion1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Lib/test/test_importlib/namespace_pkgs/top_level_portion1.zip -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst: -------------------------------------------------------------------------------- 1 | The index parameters *start* and *end* of PyUnicode_FindChar() are now 2 | adjusted to behave like ``str[start:end]``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst: -------------------------------------------------------------------------------- 1 | The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of 2 | type ``const char *`` rather of ``char *``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0354.bpo-28721.BO9BUF.rst: -------------------------------------------------------------------------------- 1 | Fix asynchronous generators aclose() and athrow() to handle 2 | StopAsyncIteration propagation properly. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0391.bpo-19398.RYbEGH.rst: -------------------------------------------------------------------------------- 1 | Extra slash no longer added to sys.path components in case of empty compile- 2 | time PYTHONPATH components. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0422.bpo-29337.bjX8AE.rst: -------------------------------------------------------------------------------- 1 | Fixed possible BytesWarning when compare the code objects. Warnings could be 2 | emitted at compile time. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0448.bpo-29935.vgjdJo.rst: -------------------------------------------------------------------------------- 1 | Fixed error messages in the index() method of tuple, list and deque when 2 | pass indices of wrong type. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0452.bpo-29839.rUmfay.rst: -------------------------------------------------------------------------------- 1 | len() now raises ValueError rather than OverflowError if __len__() returned 2 | a large negative integer. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-06-15-25-59.bpo-31373.dC4jd4.rst: -------------------------------------------------------------------------------- 1 | Fix several possible instances of undefined behavior due to floating-point 2 | demotions. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0091.bpo-30303.2L2F-4.rst: -------------------------------------------------------------------------------- 1 | Add _utest option to textview; add new tests. Increase coverage to 100%. 2 | Patches by Louie Lu and Terry Jan Reedy. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-08-17-57-04.bpo-30870.IcR2pf.rst: -------------------------------------------------------------------------------- 1 | IDLE: In Settings dialog, select font with Up, Down keys as well as mouse. 2 | Initial patch by Louie Lu. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0139.bpo-28322.l9hzap.rst: -------------------------------------------------------------------------------- 1 | Fixed possible crashes when unpickle itertools objects from incorrect pickle 2 | data. Based on patch by John Leitch. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0176.bpo-27517.1CYM8A.rst: -------------------------------------------------------------------------------- 1 | LZMA compressor and decompressor no longer raise exceptions if given empty 2 | data twice. Patch by Benjamin Fogle. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0264.bpo-25996.L2_giP.rst: -------------------------------------------------------------------------------- 1 | Added support of file descriptors in os.scandir() on Unix. os.fwalk() is 2 | sped up by 2 times by using os.scandir(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0278.bpo-29692.oyWrAE.rst: -------------------------------------------------------------------------------- 1 | Fixed arbitrary unchaining of RuntimeError exceptions in 2 | contextlib.contextmanager. Patch by Siddharth Velankar. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0304.bpo-30299.O-5d4A.rst: -------------------------------------------------------------------------------- 1 | Compiling regular expression in debug mode on CPython now displays the 2 | compiled bytecode in human readable form. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst: -------------------------------------------------------------------------------- 1 | Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain 2 | ``pathlib.Path`` objects. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Security/2017-09-05-15-26-30.bpo-29781.LwYtBP.rst: -------------------------------------------------------------------------------- 1 | SSLObject.version() now correctly returns None when handshake over BIO has 2 | not been performed yet. 3 | -------------------------------------------------------------------------------- /Lib/test/test_asyncio/echo2.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | if __name__ == '__main__': 4 | buf = os.read(0, 1024) 5 | os.write(1, b'OUT:'+buf) 6 | os.write(2, b'ERR:'+buf) 7 | -------------------------------------------------------------------------------- /Lib/test/xmltestdata/simple.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | text 4 | texttail 5 | 6 | 7 | -------------------------------------------------------------------------------- /Mac/Icons/ReadMe.txt: -------------------------------------------------------------------------------- 1 | The icons for use on MacOS X were created by Jacob Rus 2 | with some feedback from the folks on pythonmac-sig@python.org. 3 | 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/3.6.0.rst: -------------------------------------------------------------------------------- 1 | .. bpo: 0 2 | .. date: 9497 3 | .. no changes: True 4 | .. nonce: F9ENBV 5 | .. release date: 2016-12-23 6 | 7 | No changes since release candidate 2 8 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0356.bpo-26182.jYlqTO.rst: -------------------------------------------------------------------------------- 1 | Raise DeprecationWarning when async and await keywords are used as 2 | variable/attribute/class/function name. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0390.bpo-28621.eCD7n-.rst: -------------------------------------------------------------------------------- 1 | Sped up converting int to float by reusing faster bits counting 2 | implementation. Patch by Adrian Wielgosik. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0415.bpo-25677.RWhZrb.rst: -------------------------------------------------------------------------------- 1 | Correct the positioning of the syntax error caret for indented blocks. 2 | Based on patch by Michael Layzell. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst: -------------------------------------------------------------------------------- 1 | Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked 2 | not to block. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-07-31-13-28-53.bpo-31071.P9UBDy.rst: -------------------------------------------------------------------------------- 1 | Avoid masking original TypeError in call with * unpacking when other 2 | arguments are passed. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Documentation* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-06-27-00-29-56.bpo-21519.fTj9T0.rst: -------------------------------------------------------------------------------- 1 | IDLE's basic custom key entry dialog now detects duplicates properly. 2 | Original patch by Saimadhav Heblikar. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0124.bpo-25400.d9Qn0E.rst: -------------------------------------------------------------------------------- 1 | RobotFileParser now correctly returns default values for crawl_delay and 2 | request_rate. Initial patch by Peter Wirtz. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0147.bpo-28380.jKPMzH.rst: -------------------------------------------------------------------------------- 1 | unittest.mock Mock autospec functions now properly support assert_called, 2 | assert_not_called, and assert_called_once. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0180.bpo-28548.IeNrnG.rst: -------------------------------------------------------------------------------- 1 | In the "http.server" module, parse the protocol version if possible, to 2 | avoid using HTTP 0.9 in some error responses. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0181.bpo-25659.lE2IlT.rst: -------------------------------------------------------------------------------- 1 | In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy() 2 | methods on abstract classes like Array. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0237.bpo-7769.xGRJWh.rst: -------------------------------------------------------------------------------- 1 | Method register_function() of xmlrpc.server.SimpleXMLRPCDispatcher and its 2 | subclasses can now be used as a decorator. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0240.bpo-29271.y8Vj2v.rst: -------------------------------------------------------------------------------- 1 | Fix Task.current_task and Task.all_tasks implemented in C to accept None 2 | argument as their pure Python implementation. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0250.bpo-28298.PNOPsT.rst: -------------------------------------------------------------------------------- 1 | Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables 2 | (objects that have __int__) as elements. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0259.bpo-29861.t2ZoRK.rst: -------------------------------------------------------------------------------- 1 | Release references to tasks, their arguments and their results as soon as 2 | they are finished in multiprocessing.Pool. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0262.bpo-23890.GCFAAZ.rst: -------------------------------------------------------------------------------- 1 | unittest.TestCase.assertRaises() now manually breaks a reference cycle to 2 | not keep objects alive longer than expected. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0272.bpo-29649.2eIxQ8.rst: -------------------------------------------------------------------------------- 1 | Improve struct.pack_into() exception messages for problems with the buffer 2 | size and offset. Patch by Andrew Nester. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0301.bpo-30340.kvtGm-.rst: -------------------------------------------------------------------------------- 1 | Enhanced regular expressions optimization. This increased the performance of 2 | matching some patterns up to 25 times. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-30-10-07-58.bpo-30522.gAX1N-.rst: -------------------------------------------------------------------------------- 1 | Added a ``setStream`` method to ``logging.StreamHandler`` to allow the 2 | stream to be set after creation. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tools-Demos/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Tools/Demos* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-06-28-03-20-48.bpo-30291.zBpOl6.rst: -------------------------------------------------------------------------------- 1 | Allow requiring 64-bit interpreters from py.exe using -64 suffix. Contributed 2 | by Steve (Gadget) Barnes. 3 | -------------------------------------------------------------------------------- /Lib/distutils/debug.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | # If DISTUTILS_DEBUG is anything other than the empty string, we run in 4 | # debug mode. 5 | DEBUG = os.environ.get('DISTUTILS_DEBUG') 6 | -------------------------------------------------------------------------------- /Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/Mac/PythonLauncher/English.lproj/PreferenceWindow.nib/objects.nib -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0376.bpo-26906.YBjcwI.rst: -------------------------------------------------------------------------------- 1 | Resolving special methods of uninitialized type now causes implicit 2 | initialization of the type instead of a fail. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0393.bpo-28648.z7B52W.rst: -------------------------------------------------------------------------------- 1 | Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode 2 | astral characters. Patch by Xiang Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0394.bpo-26920.1URwGb.rst: -------------------------------------------------------------------------------- 1 | Fix not getting the locale's charset upon initializing the interpreter, on 2 | platforms that do not have langinfo. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0406.bpo-28512.i-pv6d.rst: -------------------------------------------------------------------------------- 1 | Fixed setting the offset attribute of SyntaxError by 2 | PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0409.bpo-28991.lGA0FK.rst: -------------------------------------------------------------------------------- 1 | functools.lru_cache() was susceptible to an obscure reentrancy bug 2 | triggerable by a monkey-patched len() function. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0417.bpo-28927.9fxf6y.rst: -------------------------------------------------------------------------------- 1 | bytes.fromhex() and bytearray.fromhex() now ignore all ASCII whitespace, not 2 | only spaces. Patch by Robert Xiao. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0457.bpo-25794.xfPwqm.rst: -------------------------------------------------------------------------------- 1 | Fixed type.__setattr__() and type.__delattr__() for non-interned attribute 2 | names. Based on patch by Eryk Sun. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0461.bpo-30537.sGC27r.rst: -------------------------------------------------------------------------------- 1 | itertools.islice now accepts integer-like objects (having an __index__ 2 | method) as start, stop, and slice arguments 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0465.bpo-30682.zZm88E.rst: -------------------------------------------------------------------------------- 1 | Removed a too-strict assertion that failed for certain f-strings, such as 2 | eval("f'\\\n'") and eval("f'\\\r'"). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0055.bpo-25008.CeIzyU.rst: -------------------------------------------------------------------------------- 1 | Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a 2 | third-party asyncio-based replacement. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/0092.bpo-30290.fZ3kod.rst: -------------------------------------------------------------------------------- 1 | Help-about: use pep8 names and add tests. Increase coverage to 100%. Patches 2 | by Louie Lu, Cheryl Sabella, and Terry Jan Reedy. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0129.bpo-27611.A_ArH_.rst: -------------------------------------------------------------------------------- 1 | Fixed support of default root window in the tkinter.tix module. Added the 2 | master parameter in the DisplayStyle constructor. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0140.bpo-28257.SVD_IH.rst: -------------------------------------------------------------------------------- 1 | Improved error message when passing a non-iterable as a var-positional 2 | argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0141.bpo-27358.t288Iv.rst: -------------------------------------------------------------------------------- 1 | Optimized merging var-keyword arguments and improved error message when 2 | passing a non-mapping as a var-keyword argument. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0195.bpo-19542.5tCkaK.rst: -------------------------------------------------------------------------------- 1 | Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() 2 | when a GC collection happens in another thread. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0219.bpo-29218.-Qoti0.rst: -------------------------------------------------------------------------------- 1 | Unused install_misc command is now removed. It has been documented as 2 | unused since 2000. Patch by Eric N. Vander Weele. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0247.bpo-26915.qShJZO.rst: -------------------------------------------------------------------------------- 1 | index() and count() methods of collections.abc.Sequence now check identity 2 | before checking equality when do comparisons. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0260.bpo-25803.CPDR0W.rst: -------------------------------------------------------------------------------- 1 | Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives 2 | priority to errors such as EACCES over EEXIST. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0321.bpo-30463.CdOuSl.rst: -------------------------------------------------------------------------------- 1 | Addded empty __slots__ to abc.ABC. This allows subclassers to deny __dict__ 2 | and __weakref__ creation. Patch by Aaron Hall. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst: -------------------------------------------------------------------------------- 1 | Fix ``unittest.mock``'s autospec to not fail on method-bound builtin 2 | functions. Patch by Aaron Gallagher. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-21-17-50-27.bpo-31247.8S3zJp.rst: -------------------------------------------------------------------------------- 1 | xmlrpc.server now explicitly breaks reference cycles when using 2 | sys.exc_info() in code handling exceptions. 3 | -------------------------------------------------------------------------------- /PC/pyshellext.def: -------------------------------------------------------------------------------- 1 | LIBRARY "pyshellext" 2 | EXPORTS 3 | DllRegisterServer PRIVATE 4 | DllUnregisterServer PRIVATE 5 | DllGetClassObject PRIVATE 6 | DllCanUnloadNow PRIVATE 7 | -------------------------------------------------------------------------------- /PC/python3dll.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | BOOL WINAPI 4 | DllMain(HINSTANCE hInstDLL, 5 | DWORD fdwReason, 6 | LPVOID lpReserved) 7 | { 8 | return TRUE; 9 | } -------------------------------------------------------------------------------- /Lib/lib2to3/pgen2/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved. 2 | # Licensed to PSF under a Contributor Agreement. 3 | 4 | """The pgen2 package.""" 5 | -------------------------------------------------------------------------------- /Lib/test/test_email/data/msg_35.txt: -------------------------------------------------------------------------------- 1 | From: aperson@dom.ain 2 | To: bperson@dom.ain 3 | Subject: here's something interesting 4 | counter to RFC 2822, there's no separating newline here 5 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0023.bpo-28258.iKtAHd.rst: -------------------------------------------------------------------------------- 1 | Fixed build with Estonian locale (python-config and distclean targets in 2 | Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0359.bpo-28131.owq0wW.rst: -------------------------------------------------------------------------------- 1 | Fix a regression in zipimport's compile_source(). zipimport should use the 2 | same optimization level as the interpreter. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0395.bpo-28746.r5MXdB.rst: -------------------------------------------------------------------------------- 1 | Fix the set_inheritable() file descriptor method on platforms that do not 2 | have the ioctl FIOCLEX and FIONCLEX commands. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0398.bpo-28731.oNF59u.rst: -------------------------------------------------------------------------------- 1 | Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of 2 | dict literal with constant keys up to 30%. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0424.bpo-29478.rTQ-qy.rst: -------------------------------------------------------------------------------- 1 | If max_line_length=None is specified while using the Compat32 policy, it is 2 | no longer ignored. Patch by Mircea Cosbuc. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0451.bpo-11913.5uiMX9.rst: -------------------------------------------------------------------------------- 1 | README.rst is now included in the list of distutils standard READMEs and 2 | therefore included in source distributions. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0466.bpo-30597.7erHiP.rst: -------------------------------------------------------------------------------- 1 | ``print`` now shows expected input in custom error message when used as a 2 | Python 2 statement. Patch by Sanyam Khurana. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-08-01-18-48-30.bpo-31095.bXWZDb.rst: -------------------------------------------------------------------------------- 1 | Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call 2 | ``PyObject_GC_UnTrack()``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-08-18-15-15-20.bpo-30721.Hmc56z.rst: -------------------------------------------------------------------------------- 1 | ``print`` now shows correct usage hint for using Python 2 redirection 2 | syntax. Patch by Sanyam Khurana. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/README.rst: -------------------------------------------------------------------------------- 1 | Put news entry `blurb`_ files for the *Core and Builtins* section in this directory. 2 | 3 | .. _blurb: https://pypi.org/project/blurb/ 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/0054.bpo-26355.SDq_8Y.rst: -------------------------------------------------------------------------------- 1 | Add canonical header link on each page to corresponding major version of the 2 | documentation. Patch by Matthias Bussonnier. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-30-17-39-59.bpo-31050.AXR3kP.rst: -------------------------------------------------------------------------------- 1 | Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests 2 | continue to pass. Patch by Cheryl Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0186.bpo-28740.rY8kz-.rst: -------------------------------------------------------------------------------- 1 | Add sys.getandroidapilevel(): return the build time API version of Android 2 | as an integer. Function only available on Android. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0189.bpo-27030.GoGlFH.rst: -------------------------------------------------------------------------------- 1 | Unknown escapes consisting of ``'\'`` and an ASCII letter in re.sub() 2 | replacement templates regular expressions now are errors. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0216.bpo-29335._KC7IK.rst: -------------------------------------------------------------------------------- 1 | Fix subprocess.Popen.wait() when the child process has exited to a stopped 2 | instead of terminated state (ex: when under ptrace). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0217.bpo-29338.EpvQJl.rst: -------------------------------------------------------------------------------- 1 | The help of a builtin or extension class now includes the constructor 2 | signature if __text_signature__ is provided for the class. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0258.bpo-19930.QCjO6A.rst: -------------------------------------------------------------------------------- 1 | The mode argument of os.makedirs() no longer affects the file permission 2 | bits of newly-created intermediate-level directories. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0303.bpo-30048.ELRx8R.rst: -------------------------------------------------------------------------------- 1 | Fixed ``Task.cancel()`` can be ignored when the task is running coroutine 2 | and the coroutine returned without any more ``await``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0311.bpo-30149.hE649r.rst: -------------------------------------------------------------------------------- 1 | inspect.signature() now supports callables with variable-argument parameters 2 | wrapped with partialmethod. Patch by Dong-hee Na. 3 | -------------------------------------------------------------------------------- /PC/external/Externals.txt: -------------------------------------------------------------------------------- 1 | The files in this folder are from the Microsoft.VisualStudio.Setup.Configuration.Native package on Nuget. 2 | 3 | They are licensed under the MIT license. 4 | -------------------------------------------------------------------------------- /PC/pyshellext_d.def: -------------------------------------------------------------------------------- 1 | LIBRARY "pyshellext_d" 2 | EXPORTS 3 | DllRegisterServer PRIVATE 4 | DllUnregisterServer PRIVATE 5 | DllGetClassObject PRIVATE 6 | DllCanUnloadNow PRIVATE 7 | -------------------------------------------------------------------------------- /Lib/asyncio/compat.py: -------------------------------------------------------------------------------- 1 | """Compatibility helpers for the different Python versions.""" 2 | 3 | import sys 4 | 5 | PY35 = sys.version_info >= (3, 5) 6 | PY352 = sys.version_info >= (3, 5, 2) 7 | -------------------------------------------------------------------------------- /Lib/test/test_import/data/circular_imports/rebinding.py: -------------------------------------------------------------------------------- 1 | """Test the binding of names when a circular import shares the same name as an 2 | attribute.""" 3 | from .rebinding2 import util 4 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst: -------------------------------------------------------------------------------- 1 | PyUnicode_AsWideCharString() now raises a ValueError if the second argument 2 | is NULL and the wchar_t\* string contains null characters. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0364.bpo-27955.HC4pZ4.rst: -------------------------------------------------------------------------------- 1 | Fallback on reading /dev/urandom device when the getrandom() syscall fails 2 | with EPERM, for example when blocked by SECCOMP. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0407.bpo-28739.w1fvhk.rst: -------------------------------------------------------------------------------- 1 | f-string expressions are no longer accepted as docstrings and by 2 | ast.literal_eval() even if they do not include expressions. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-08-24-13-34-49.bpo-31243.dRJzqR.rst: -------------------------------------------------------------------------------- 1 | Fix a crash in some methods of `io.TextIOWrapper`, when the decoder's state 2 | is invalid. Patch by Oren Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-11-12-54-35.bpo-31416.2hlQFd.rst: -------------------------------------------------------------------------------- 1 | Fix assertion failures in case of a bad warnings.filters or 2 | warnings.defaultaction. Patch by Oren Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0097.bpo-30177.JGIJNL.rst: -------------------------------------------------------------------------------- 1 | path.resolve(strict=False) no longer cuts the path after the first element 2 | not present in the filesystem. Patch by Antoine Pietri. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0126.bpo-27778.Yyo1aP.rst: -------------------------------------------------------------------------------- 1 | Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a 2 | signal and a signal handler raises a Python exception. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0132.bpo-27897.I0Ppmx.rst: -------------------------------------------------------------------------------- 1 | Fixed possible crash in sqlite3.Connection.create_collation() if pass 2 | invalid string-like object as a name. Patch by Xiang Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0188.bpo-28835.iWBYH7.rst: -------------------------------------------------------------------------------- 1 | Fix a regression introduced in warnings.catch_warnings(): call 2 | warnings.showwarning() if it was overridden inside the context manager. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0228.bpo-29576.F-b8_5.rst: -------------------------------------------------------------------------------- 1 | Improve some deprecations in importlib. Some deprecated methods now emit 2 | DeprecationWarnings and have better descriptive messages. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0230.bpo-29110.wmE-_T.rst: -------------------------------------------------------------------------------- 1 | Fix file object leak in aifc.open() when file is given as a filesystem path 2 | and is not in valid AIFF format. Patch by Anthony Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0323.bpo-30014.x7Yx6o.rst: -------------------------------------------------------------------------------- 1 | modify() method of poll(), epoll() and devpoll() based classes of selectors 2 | module is around 10% faster. Patch by Giampaolo Rodola'. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0327.bpo-30605.XqGz1r.rst: -------------------------------------------------------------------------------- 1 | re.compile() no longer raises a BytesWarning when compiling a bytes instance 2 | with misplaced inline modifier. Patch by Roy Williams. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-18-17-16-38.bpo-5001.gwnthq.rst: -------------------------------------------------------------------------------- 1 | Many asserts in `multiprocessing` are now more informative, and some error types have been changed to more specific ones. 2 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-24-14-03-14.bpo-27584.r11JHZ.rst: -------------------------------------------------------------------------------- 1 | ``AF_VSOCK`` has been added to the socket interface which allows 2 | communication between virtual machines and their host. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-30-11-26-14.bpo-27144.PEDJsE.rst: -------------------------------------------------------------------------------- 1 | The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures`` 2 | now avoid keeping a reference to yielded objects. -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/0007.bpo-26936.XSZSVS.rst: -------------------------------------------------------------------------------- 1 | Fix the test_socket failures on Android - getservbyname(), getservbyport() 2 | and getaddrinfo() are broken on some Android API levels. 3 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/myfixes/fix_first.py: -------------------------------------------------------------------------------- 1 | from lib2to3.fixer_base import BaseFix 2 | 3 | class FixFirst(BaseFix): 4 | run_order = 1 5 | 6 | def match(self, node): return False 7 | -------------------------------------------------------------------------------- /Lib/test/subprocessdata/input_reader.py: -------------------------------------------------------------------------------- 1 | """When called as a script, consumes the input""" 2 | 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | for line in sys.stdin: 7 | pass 8 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0024.bpo-21085.2VvyUF.rst: -------------------------------------------------------------------------------- 1 | Add configure check for siginfo_t.si_band, which Cygwin does not provide. 2 | Patch by Masayuki Yamamoto with review and rebase by Erik Bray. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0413.bpo-18896.Pqe0bg.rst: -------------------------------------------------------------------------------- 1 | Python function can now have more than 255 parameters. 2 | collections.namedtuple() now supports tuples with more than 255 elements. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0439.bpo-29568.3EtOC-.rst: -------------------------------------------------------------------------------- 1 | Escaped percent "%%" in the format string for classic string formatting no 2 | longer allows any characters between two percents. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-11-08-50-41.bpo-31411.HZz82I.rst: -------------------------------------------------------------------------------- 1 | Raise a TypeError instead of SystemError in case warnings.onceregistry is 2 | not a dictionary. Patch by Oren Milman. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Documentation/2017-09-07-20-49-09.bpo-31294.WgI18w.rst: -------------------------------------------------------------------------------- 1 | Fix incomplete code snippet in the ZeroMQSocketListener and 2 | ZeroMQSocketHandler examples and adapt them to Python 3. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-08-15-12-58-23.bpo-31205.iuziZ5.rst: -------------------------------------------------------------------------------- 1 | IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly 2 | modified tests continue to pass. Patch by Cheryl Sabella. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0128.bpo-27348.tDx7Vw.rst: -------------------------------------------------------------------------------- 1 | In the traceback module, restore the formatting of exception messages like 2 | "Exception: None". This fixes a regression introduced in 3.5a2. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0169.bpo-28255.fHNZu0.rst: -------------------------------------------------------------------------------- 1 | calendar.TextCalendar.prmonth() no longer prints a space at the start of new 2 | line after printing a month's calendar. Patch by Xiang Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0220.bpo-29377.4AvSrC.rst: -------------------------------------------------------------------------------- 1 | Add WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType 2 | built-in types to types module. Original patch by Manuel Krebber. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0254.bpo-8256.jAwGQH.rst: -------------------------------------------------------------------------------- 1 | Fixed possible failing or crashing input() if attributes "encoding" or 2 | "errors" of sys.stdin or sys.stdout are not set or are not strings. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0281.bpo-10076.qCnwly.rst: -------------------------------------------------------------------------------- 1 | Compiled regular expression and match objects in the re module now support 2 | copy.copy() and copy.deepcopy() (they are considered atomic). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-10-13-20-02.bpo-31151.730VBI.rst: -------------------------------------------------------------------------------- 1 | socketserver.ForkingMixIn.server_close() now waits until all child processes 2 | completed to prevent leaking zombie processes. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst: -------------------------------------------------------------------------------- 1 | socket.create_connection() now fixes manually a reference cycle: clear the 2 | variable storing the last exception on success. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-13-19-55-35.bpo-31544.beTh6t.rst: -------------------------------------------------------------------------------- 1 | The C accelerator module of ElementTree ignored exceptions raised when 2 | looking up TreeBuilder target methods in XMLParser(). 3 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py: -------------------------------------------------------------------------------- 1 | from lib2to3.fixer_base import BaseFix 2 | 3 | class FixExplicit(BaseFix): 4 | explicit = True 5 | 6 | def match(self): return False 7 | -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/myfixes/fix_last.py: -------------------------------------------------------------------------------- 1 | from lib2to3.fixer_base import BaseFix 2 | 3 | class FixLast(BaseFix): 4 | 5 | run_order = 10 6 | 7 | def match(self, node): return False 8 | -------------------------------------------------------------------------------- /Lib/test/badsyntax_future8.py: -------------------------------------------------------------------------------- 1 | """This is a test""" 2 | 3 | from __future__ import * 4 | 5 | def f(x): 6 | def g(y): 7 | return x + y 8 | return g 9 | 10 | print(f(2)(4)) 11 | -------------------------------------------------------------------------------- /Lib/tkinter/__main__.py: -------------------------------------------------------------------------------- 1 | """Main entry point""" 2 | 3 | import sys 4 | if sys.argv[0].endswith("__main__.py"): 5 | sys.argv[0] = "python -m tkinter" 6 | from . import _test as main 7 | main() 8 | -------------------------------------------------------------------------------- /Misc/NEWS.d/3.5.3.rst: -------------------------------------------------------------------------------- 1 | .. bpo: 0 2 | .. date: 8559 3 | .. no changes: True 4 | .. nonce: zYPqUK 5 | .. release date: 2017-01-17 6 | 7 | There were no code changes between 3.5.3rc1 and 3.5.3 final. 8 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0026.bpo-21124.1bbArU.rst: -------------------------------------------------------------------------------- 1 | Fix building the _struct module on Cygwin by passing ``NULL`` instead of 2 | ``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0034.bpo-28538.FqtN7v.rst: -------------------------------------------------------------------------------- 1 | Fix the compilation error that occurs because if_nameindex() is available on 2 | Android API level 24, but the if_nameindex structure is not defined. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0357.bpo-28120.e5xc1i.rst: -------------------------------------------------------------------------------- 1 | Fix dict.pop() for splitted dictionary when trying to remove a "pending key" 2 | (Not yet inserted in split-table). Patch by Xiang Zhang. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0366.bpo-28086.JsQPMQ.rst: -------------------------------------------------------------------------------- 1 | Single var-positional argument of tuple subtype was passed unscathed to the 2 | C-defined function. Now it is converted to exact tuple. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0470.bpo-31161.FcUAA0.rst: -------------------------------------------------------------------------------- 1 | Make sure the 'Missing parentheses' syntax error message is only applied to 2 | SyntaxError, not to subclasses. Patch by Martijn Pieters. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-05-13-47-49.bpo-30860.MROpZw.rst: -------------------------------------------------------------------------------- 1 | Consolidate CPython's global runtime state under a single struct. This 2 | improves discoverability of the runtime state. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0099.bpo-29581.gHCrxP.rst: -------------------------------------------------------------------------------- 1 | ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract base classes to 2 | use keyword parameters in __init_subclass__. Patch by Nate Soares. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0120.bpo-22493.Mv_hZf.rst: -------------------------------------------------------------------------------- 1 | Warning message emitted by using inline flags in the middle of regular 2 | expression now contains a (truncated) regex pattern. Patch by Tim Graham. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0133.bpo-28275.EhWIsz.rst: -------------------------------------------------------------------------------- 1 | Fixed possible use after free in the decompress() methods of the 2 | LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0177.bpo-28387.1clJu7.rst: -------------------------------------------------------------------------------- 1 | Fixed possible crash in _io.TextIOWrapper deallocator when the garbage 2 | collector is invoked in other thread. Based on patch by Sebastian Cufre. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0191.bpo-26937.c9kgiA.rst: -------------------------------------------------------------------------------- 1 | The chown() method of the tarfile.TarFile class does not fail now when the 2 | grp module cannot be imported, as for example on Android platforms. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0276.bpo-30017.cKBuhU.rst: -------------------------------------------------------------------------------- 1 | Allowed calling the close() method of the zip entry writer object multiple 2 | times. Writing to a closed writer now always produces a ValueError. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0290.bpo-30228.nF8Ov4.rst: -------------------------------------------------------------------------------- 1 | The seek() and tell() methods of io.FileIO now set the internal seekable 2 | attribute to avoid one syscall on open() (in buffered or text mode). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0322.bpo-30418.EwISQm.rst: -------------------------------------------------------------------------------- 1 | On Windows, subprocess.Popen.communicate() now also ignore EINVAL on 2 | stdin.write() if the child process is still running but closed the pipe. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0330.bpo-30624.g5oVSn.rst: -------------------------------------------------------------------------------- 1 | selectors does not take KeyboardInterrupt and SystemExit into account, 2 | leaving a fd in a bad state in case of error. Patch by Giampaolo Rodola'. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/0332.bpo-30645.xihJ4Y.rst: -------------------------------------------------------------------------------- 1 | Fix path calculation in `imp.load_package()`, fixing it for cases when a 2 | package is only shipped with bytecodes. Patch by Alexandru Ardelean. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-07-17-12-32-47.bpo-30946.DUo-uA.rst: -------------------------------------------------------------------------------- 1 | Remove obsolete code in readline module for platforms where GNU readline is 2 | older than 2.1 or where select() is not available. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-02-12-48-15.bpo-31107.1t2hn5.rst: -------------------------------------------------------------------------------- 1 | Fix `copyreg._slotnames()` mangled attribute calculation for classes whose 2 | name begins with an underscore. Patch by Shane Harvey. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-08-15-14-34.bpo-24700.44mvNV.rst: -------------------------------------------------------------------------------- 1 | Optimize array.array comparison. It is now from 10x up to 70x faster when 2 | comparing arrays holding values of the same integer type. -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-08-13-09-17-01.bpo-31183.-2_YGj.rst: -------------------------------------------------------------------------------- 1 | `dis` now works with asynchronous generator and coroutine objects. Patch by 2 | George Collins based on diagnosis by Luciano Ramalho. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst: -------------------------------------------------------------------------------- 1 | socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait 2 | until all these threads complete in server_close(). 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Tests/2017-07-25-15-27-44.bpo-30715.Sp7bTF.rst: -------------------------------------------------------------------------------- 1 | Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves 2 | like OpenSSL 1.0.2 and no longer aborts handshake. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst: -------------------------------------------------------------------------------- 1 | os.cpu_count() now returns the correct number of processors on Windows 2 | when the number of logical processors is greater than 64. 3 | -------------------------------------------------------------------------------- /PC/external/v140/amd64/Microsoft.VisualStudio.Setup.Configuration.Native.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/external/v140/amd64/Microsoft.VisualStudio.Setup.Configuration.Native.lib -------------------------------------------------------------------------------- /PC/external/v140/win32/Microsoft.VisualStudio.Setup.Configuration.Native.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/external/v140/win32/Microsoft.VisualStudio.Setup.Configuration.Native.lib -------------------------------------------------------------------------------- /PC/external/v141/amd64/Microsoft.VisualStudio.Setup.Configuration.Native.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/external/v141/amd64/Microsoft.VisualStudio.Setup.Configuration.Native.lib -------------------------------------------------------------------------------- /PC/external/v141/win32/Microsoft.VisualStudio.Setup.Configuration.Native.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/6502/cpython/master/PC/external/v141/win32/Microsoft.VisualStudio.Setup.Configuration.Native.lib -------------------------------------------------------------------------------- /Tools/buildbot/buildmsi.bat: -------------------------------------------------------------------------------- 1 | @rem Used by the buildbot "buildmsi" step. 2 | setlocal 3 | 4 | pushd 5 | 6 | @rem build both snapshot MSIs 7 | call "%~dp0..\msi\build.bat" -x86 -x64 8 | 9 | popd -------------------------------------------------------------------------------- /Lib/lib2to3/tests/data/fixers/myfixes/fix_preorder.py: -------------------------------------------------------------------------------- 1 | from lib2to3.fixer_base import BaseFix 2 | 3 | class FixPreorder(BaseFix): 4 | order = "pre" 5 | 6 | def match(self, node): return False 7 | -------------------------------------------------------------------------------- /Lib/test/test_email/data/msg_11.txt: -------------------------------------------------------------------------------- 1 | Content-Type: message/rfc822 2 | MIME-Version: 1.0 3 | Subject: The enclosing message 4 | 5 | Subject: An enclosed message 6 | 7 | Here is the body of the message. 8 | -------------------------------------------------------------------------------- /Lib/test/test_email/data/msg_23.txt: -------------------------------------------------------------------------------- 1 | From: aperson@dom.ain 2 | Content-Type: multipart/mixed; boundary="BOUNDARY" 3 | 4 | --BOUNDARY 5 | Content-Type: text/plain 6 | 7 | A message part 8 | --BOUNDARY-- 9 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/builtin/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/extension/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/frozen/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/import_/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Lib/test/test_importlib/source/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | from test.support import load_package_tests 3 | 4 | def load_tests(*args): 5 | return load_package_tests(os.path.dirname(__file__), *args) 6 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0045.bpo-23404.PdYVWg.rst: -------------------------------------------------------------------------------- 1 | Don't regenerate generated files based on file modification time anymore: 2 | the action is now explicit. Replace ``make touch`` with ``make regen-all``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0048.bpo-29941.ylh45A.rst: -------------------------------------------------------------------------------- 1 | Add ``--with-assertions`` configure flag to explicitly enable C ``assert()`` 2 | checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Build/0049.bpo-20210.MN_n-r.rst: -------------------------------------------------------------------------------- 1 | Support the *disabled* marker in Setup files. Extension modules listed after 2 | this marker are not built at all, neither by the Makefile nor by setup.py. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/0408.bpo-28147.CnK_xf.rst: -------------------------------------------------------------------------------- 1 | Fix a memory leak in split-table dictionaries: setattr() must not convert 2 | combined table into split table. Patch written by INADA Naoki. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-07-21-07-39-05.bpo-30978.f0jODc.rst: -------------------------------------------------------------------------------- 1 | str.format_map() now passes key lookup exceptions through. 2 | Previously any exception was replaced with a KeyError exception. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/Core and Builtins/2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst: -------------------------------------------------------------------------------- 1 | Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray 2 | plans to remove the functions from sys/types.h. 3 | -------------------------------------------------------------------------------- /Misc/NEWS.d/next/IDLE/2017-07-09-23-53-00.bpo-30851.AHXBYa.rst: -------------------------------------------------------------------------------- 1 | IDLE: Remove unused variables in configdialog. One is a duplicate, one is 2 | set but cannot be altered by users. Patch by Cheryl Sabella. 3 | --------------------------------------------------------------------------------