The Python programming language

Overview

This is Python version 3.10.0 alpha 5

CPython build status on Travis CI CPython build status on GitHub Actions CPython build status on Azure DevOps CPython code coverage on Codecov Python Zulip chat

Copyright (c) 2001-2021 Python Software Foundation. All rights reserved.

See the end of this file for further copyright and license information.

General Information

Contributing to CPython

For more complete instructions on contributing to CPython development, see the Developer Guide.

Using Python

Installable Python kits, and information about using Python, are available at python.org.

Build Instructions

On Unix, Linux, BSD, macOS, and Cygwin:

./configure
make
make test
sudo make install

This will install Python as python3.

You can pass many options to the configure script; run ./configure --help to find out more. On macOS case-insensitive file systems and on Cygwin, the executable is called python.exe; elsewhere it's just python.

Building a complete Python installation requires the use of various additional third-party libraries, depending on your build platform and configure options. Not all standard library modules are buildable or useable on all platforms. Refer to the Install dependencies section of the Developer Guide for current detailed information on dependencies for various Linux distributions and macOS.

On macOS, there are additional configure and build options related to macOS framework and universal builds. Refer to Mac/README.rst.

On Windows, see PCbuild/readme.txt.

If you wish, you can create a subdirectory and invoke configure from there. For example:

mkdir debug
cd debug
../configure --with-pydebug
make
make test

(This will fail if you also built at the top-level directory. You should do a make clean at the top-level first.)

To get an optimized build of Python, configure --enable-optimizations before you run make. This sets the default make targets up to enable Profile Guided Optimization (PGO) and may be used to auto-enable Link Time Optimization (LTO) on some platforms. For more details, see the sections below.

Profile Guided Optimization

PGO takes advantage of recent versions of the GCC or Clang compilers. If used, either via configure --enable-optimizations or by manually running make profile-opt regardless of configure flags, the optimized build process will perform the following steps:

The entire Python directory is cleaned of temporary files that may have resulted from a previous compilation.

An instrumented version of the interpreter is built, using suitable compiler flags for each flavour. Note that this is just an intermediary step. The binary resulting from this step is not good for real life workloads as it has profiling instructions embedded inside.

After the instrumented interpreter is built, the Makefile will run a training workload. This is necessary in order to profile the interpreter execution. Note also that any output, both stdout and stderr, that may appear at this step is suppressed.

The final step is to build the actual interpreter, using the information collected from the instrumented one. The end result will be a Python binary that is optimized; suitable for distribution or production installation.

Link Time Optimization

Enabled via configure's --with-lto flag. LTO takes advantage of the ability of recent compiler toolchains to optimize across the otherwise arbitrary .o file boundary when building final executables or shared libraries for additional performance gains.

What's New

We have a comprehensive overview of the changes in the What's New in Python 3.10 document. For a more detailed change log, read Misc/NEWS, but a full accounting of changes can only be gleaned from the commit history.

If you want to install multiple versions of Python, see the section below entitled "Installing multiple versions".

Documentation

Documentation for Python 3.10 is online, updated daily.

It can also be downloaded in many formats for faster access. The documentation is downloadable in HTML, PDF, and reStructuredText formats; the latter version is primarily for documentation authors, translators, and people with special formatting requirements.

For information about building Python's documentation, refer to Doc/README.rst.

Converting From Python 2.x to 3.x

Significant backward incompatible changes were made for the release of Python 3.0, which may cause programs written for Python 2 to fail when run with Python 3. For more information about porting your code from Python 2 to Python 3, see the Porting HOWTO.

Testing

To test the interpreter, type make test in the top-level directory. The test set produces some output. You can generally ignore the messages about skipped tests due to optional features which can't be imported. If a message is printed about a failed test or a traceback or core dump is produced, something is wrong.

By default, tests are prevented from overusing resources like disk space and memory. To enable these tests, run make testall.

If any tests fail, you can re-run the failing test(s) in verbose mode. For example, if test_os and test_gdb failed, you can run:

make test TESTOPTS="-v test_os test_gdb"

If the failure persists and appears to be a problem with Python rather than your environment, you can file a bug report and include relevant output from that command to show the issue.

See Running & Writing Tests for more on running tests.

Installing multiple versions

On Unix and Mac systems if you intend to install multiple versions of Python using the same installation prefix (--prefix argument to the configure script) you must take care that your primary python executable is not overwritten by the installation of a different version. All files and directories installed using make altinstall contain the major and minor version and can thus live side-by-side. make install also creates ${prefix}/bin/python3 which refers to ${prefix}/bin/pythonX.Y. If you intend to install multiple versions using the same prefix you must decide which version (if any) is your "primary" version. Install that version using make install. Install all other versions using make altinstall.

For example, if you want to install Python 2.7, 3.6, and 3.10 with 3.10 being the primary version, you would execute make install in your 3.10 build directory and make altinstall in the others.

Issue Tracker and Mailing List

Bug reports are welcome! You can use the issue tracker to report bugs, and/or submit pull requests on GitHub.

You can also follow development discussion on the python-dev mailing list.

Proposals for enhancement

If you have a proposal to change Python, you may want to send an email to the comp.lang.python or python-ideas mailing lists for initial feedback. A Python Enhancement Proposal (PEP) may be submitted if your idea gains ground. All current PEPs, as well as guidelines for submitting a new PEP, are listed at python.org/dev/peps/.

Release Schedule

See PEP 619 for Python 3.10 release details.

Copyright and License Information

Copyright (c) 2001-2021 Python Software Foundation. All rights reserved.

Copyright (c) 2000 BeOpen.com. All rights reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives. All rights reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved.

See the LICENSE for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

This Python distribution contains no GNU General Public License (GPL) code, so it may be used in proprietary projects. There are interfaces to some GNU code but these are entirely optional.

All trademarks referenced herein are property of their respective holders.

Comments
  • Adding a new regex module (compatible with re)

    Adding a new regex module (compatible with re)

    BPO | 2636 --- | :--- Nosy | @loewis, @birkenfeld, @gpshead, @amauryfa, @ncoghlan, @abalkin, @pitrou, @vstinner, @giampaolo, @mark-summerfield, @ssbr, @ezio-melotti, @akitada, @stevendaprano, @alex, @bitdancer, @sandrotosi, @sorcio, @ericsnowcurrently, @Fak3, @serhiy-storchaka, @jayvdb Files |

  • regex_test-20100316: Python 2.6.5 re test run against regex-20100305
  • issue2636-20101230.zip
  • remove_guards.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-01-25.22:30:27.300>
    created_at = <Date 2008-04-15.11:57:51.375>
    labels = ['expert-regex', 'type-feature', 'library']
    title = 'Adding a new regex module (compatible with re)'
    updated_at = <Date 2021-01-25.22:30:27.294>
    user = 'https://bugs.python.org/timehorse'
    

    bugs.python.org fields:

    activity = <Date 2021-01-25.22:30:27.294>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-01-25.22:30:27.300>
    closer = 'vstinner'
    components = ['Library (Lib)', 'Regular Expressions']
    creation = <Date 2008-04-15.11:57:51.375>
    creator = 'timehorse'
    dependencies = []
    files = ['16563', '20192', '20203']
    hgrepos = ['108']
    issue_num = 2636
    keywords = ['patch']
    message_count = 334.0
    messages = ['65513', '65593', '65613', '65614', '65617', '65725', '65726', '65727', '65734', '65838', '65841', '66033', '67309', '67447', '67448', '68336', '68339', '68358', '68399', '68409', '73185', '73295', '73714', '73717', '73721', '73730', '73752', '73766', '73779', '73780', '73782', '73791', '73794', '73798', '73801', '73803', '73805', '73827', '73848', '73853', '73854', '73855', '73861', '73875', '73955', '74025', '74026', '74058', '74104', '74174', '74203', '74204', '74904', '80916', '81112', '81236', '81238', '81239', '81240', '81359', '81473', '81475', '82673', '82739', '82950', '83271', '83277', '83390', '83411', '83427', '83428', '83429', '83988', '83989', '83993', '84350', '86004', '86032', '89632', '89634', '89643', '90954', '90961', '90985', '90986', '90989', '91028', '91035', '91038', '91245', '91250', '91437', '91439', '91448', '91450', '91460', '91462', '91463', '91473', '91474', '91490', '91495', '91496', '91497', '91500', '91535', '91598', '91607', '91610', '91671', '91917', '97860', '98809', '99072', '99132', '99148', '99186', '99190', '99462', '99470', '99479', '99481', '99494', '99548', '99552', '99665', '99668', '99835', '99863', '99872', '99888', '99890', '99892', '100066', '100076', '100080', '100134', '100152', '100359', '100362', '100370', '100452', '101172', '101181', '101193', '101557', '102042', '103003', '103060', '103064', '103078', '103095', '103096', '103097', '109358', '109363', '109372', '109384', '109401', '109403', '109404', '109405', '109406', '109407', '109408', '109409', '109410', '109413', '109447', '109460', '109461', '109463', '109474', '109657', '110233', '110237', '110701', '110704', '110761', '111519', '111531', '111643', '111652', '111656', '111660', '111921', '113927', '113931', '114034', '114766', '116133', '116151', '116223', '116227', '116229', '116231', '116238', '116248', '116252', '116276', '116749', '117008', '117046', '117050', '118243', '118631', '118636', '118640', '118674', '118682', '119887', '119930', '119947', '119951', '119956', '119958', '120013', '120037', '120038', '120164', '120202', '120203', '120204', '120206', '120215', '120216', '120243', '120571', '120969', '120976', '120984', '120986', '121136', '121145', '121149', '121589', '121832', '122221', '122225', '122228', '122880', '123518', '123527', '123747', '124581', '124582', '124585', '124614', '124626', '124627', '124746', '124750', '124759', '124816', '124821', '124833', '124834', '124891', '124900', '124904', '124905', '124906', '124909', '124912', '124929', '124931', '124936', '124950', '124959', '124971', '124988', '124990', '125291', '126294', '126372', '127045', '130886', '130905', '130906', '130999', '135700', '135703', '135704', '140102', '140152', '140154', '143090', '143333', '143334', '143337', '143340', '143343', '143350', '143352', '143355', '143366', '143367', '143374', '143377', '143389', '143423', '143442', '143445', '143447', '143448', '143467', '143471', '143619', '144110', '152210', '152211', '152212', '152214', '152215', '152217', '152218', '152246', '157445', '174888', '221629', '221657', '230846', '230862', '230866', '230867', '230873', '230877', '230885', '230887', '231137', '231141', '231159', '231165', '385674']
    nosy_count = 43.0
    nosy_names = ['loewis', 'georg.brandl', 'gregory.p.smith', 'jimjjewett', 'sjmachin', 'amaury.forgeotdarc', 'ncoghlan', 'belopolsky', 'pitrou', 'vstinner', 'nneonneo', 'giampaolo.rodola', 'rsc', 'timehorse', 'mark', 'vbr', 'Devin Jeanpierre', 'ezio.melotti', 'mrabarnett', 'jaylogan', 'akitada', 'moreati', 'steven.daprano', 'alex', 'r.david.murray', 'jacques', 'zdwiel', 'THRlWiTi', 'sandro.tosi', 'abacabadabacaba', 'stiv', 'davide.rizzo', 'mattchaput', 'ronnix', 'tshepang', 'eric.snow', 'akoumjian', 'Roman.Evstifeev', 'serhiy.storchaka', 'Mateon1', 'jayvdb', 'Socob', 'petros']
    pr_nums = []
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2636'
    versions = []
    

    type-feature stdlib expert-regex 
    opened by f0c60cc3-3318-4c1a-b471-b3af1d161d69 334
  • Hash collision security issue

    Hash collision security issue

    BPO | 13703 --- | :--- Nosy | @malemburg, @gvanrossum, @tim-one, @loewis, @warsaw, @birkenfeld, @terryjreedy, @gpshead, @jcea, @mdickinson, @pitrou, @tiran, @benjaminp, @serwy, @merwok, @alex, @skrah, @davidmalcolm, @bz2, @markshannon, @ericsnowcurrently, @jimjjewett, @PaulMcMillan Dependencies |

  • bpo-13704: Random number generator in Python core
  • Files |
  • hash-attack.patch
  • SafeDict.py: SafeDict implementation
  • bench_startup.py
  • random-8.patch
  • hash-collision-counting-dmalcolm-2012-01-20-001.patch
  • amortized-probe-counting-dmalcolm-2012-01-20-002.patch
  • amortized-probe-counting-dmalcolm-2012-01-21-003.patch
  • hash-attack-2.patch
  • hash-attack-3.patch
  • integercollision.py
  • backport-of-hash-randomization-to-2.7-dmalcolm-2012-01-23-001.patch: Backport of haypo's random-8.patch to 2.7
  • hybrid-approach-dmalcolm-2012-01-25-001.patch: Hybrid approach to solving dict DoS attack
  • hybrid-approach-dmalcolm-2012-01-25-002.patch
  • optin-hash-randomization-for-3.1-dmalcolm-2012-01-27-001.patch
  • optin-hash-randomization-for-3.1-dmalcolm-2012-01-28-001.patch
  • optin-hash-randomization-for-3.1-dmalcolm-2012-01-29-001.patch
  • unnamed
  • optin-hash-randomization-for-3.1-dmalcolm-2012-01-30-001.patch
  • optin-hash-randomization-for-3.1-dmalcolm-2012-01-30-002.patch
  • optin-hash-randomization-for-2.6-dmalcolm-2012-01-30-001.patch
  • results-16.txt
  • add-randomization-to-2.6-dmalcolm-2012-02-01-001.patch
  • fix-broken-tests-on-2.6-dmalcolm-2012-02-01-001.patch
  • add-randomization-to-3.1-dmalcolm-2012-02-01-001.patch
  • fix-broken-tests-on-3.1-dmalcolm-2012-02-01-001.patch
  • add-randomization-to-2.6-dmalcolm-2012-02-06-001.patch
  • fix-broken-tests-on-2.6-dmalcolm-2012-02-06-001.patch
  • add-randomization-to-3.1-dmalcolm-2012-02-06-001.patch
  • fix-broken-tests-on-3.1-dmalcolm-2012-02-06-001.patch
  • add-randomization-to-2.6-dmalcolm-2012-02-11-001.patch
  • add-randomization-to-3.1-dmalcolm-2012-02-11-001.patch
  • add-randomization-to-2.6-dmalcolm-2012-02-13-001.patch
  • add-randomization-to-3.1-dmalcolm-2012-02-13-001.patch
  • hash-patch-3.1-gb-03.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-03-13.22:25:45.919>
    created_at = <Date 2012-01-03.19:36:49.855>
    labels = ['type-security', 'interpreter-core', 'release-blocker', '3.11']
    title = 'Hash collision security issue'
    updated_at = <Date 2021-11-08.16:57:10.080>
    user = 'https://github.com/warsaw'
    

    bugs.python.org fields:

    activity = <Date 2021-11-08.16:57:10.080>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-03-13.22:25:45.919>
    closer = 'gregory.p.smith'
    components = ['Interpreter Core']
    creation = <Date 2012-01-03.19:36:49.855>
    creator = 'barry'
    dependencies = ['13704']
    files = ['24151', '24169', '24223', '24259', '24286', '24288', '24289', '24295', '24299', '24300', '24304', '24320', '24324', '24343', '24353', '24365', '24366', '24370', '24371', '24375', '24385', '24391', '24392', '24393', '24394', '24434', '24435', '24436', '24437', '24490', '24491', '24514', '24515', '24563']
    hgrepos = []
    issue_num = 13703
    keywords = ['patch']
    message_count = 328.0
    messages = ['150522', '150525', '150526', '150529', '150531', '150532', '150533', '150534', '150541', '150543', '150558', '150559', '150560', '150562', '150563', '150565', '150568', '150569', '150570', '150577', '150589', '150592', '150601', '150609', '150613', '150616', '150619', '150620', '150621', '150622', '150625', '150634', '150635', '150636', '150637', '150638', '150639', '150641', '150642', '150643', '150644', '150645', '150646', '150647', '150648', '150649', '150650', '150651', '150652', '150655', '150656', '150659', '150662', '150665', '150668', '150694', '150699', '150702', '150706', '150707', '150708', '150712', '150713', '150718', '150719', '150724', '150725', '150726', '150727', '150738', '150748', '150756', '150766', '150768', '150769', '150771', '150795', '150829', '150832', '150835', '150836', '150840', '150847', '150856', '150857', '150859', '150865', '150866', '150934', '151012', '151017', '151031', '151033', '151047', '151048', '151061', '151062', '151063', '151064', '151065', '151069', '151070', '151071', '151073', '151074', '151078', '151092', '151120', '151121', '151122', '151157', '151158', '151159', '151167', '151353', '151401', '151402', '151419', '151422', '151448', '151449', '151468', '151472', '151474', '151484', '151519', '151528', '151560', '151561', '151565', '151566', '151567', '151574', '151582', '151583', '151584', '151585', '151586', '151589', '151590', '151596', '151604', '151617', '151620', '151625', '151626', '151628', '151629', '151632', '151633', '151647', '151662', '151664', '151677', '151679', '151680', '151681', '151682', '151684', '151685', '151689', '151691', '151699', '151700', '151701', '151703', '151707', '151714', '151731', '151734', '151735', '151737', '151739', '151744', '151745', '151747', '151748', '151753', '151754', '151756', '151758', '151794', '151796', '151798', '151812', '151813', '151814', '151815', '151825', '151826', '151847', '151850', '151867', '151869', '151870', '151939', '151941', '151942', '151944', '151956', '151959', '151960', '151961', '151965', '151966', '151967', '151970', '151973', '151977', '151984', '152030', '152033', '152037', '152039', '152040', '152041', '152043', '152046', '152051', '152057', '152060', '152066', '152070', '152104', '152112', '152117', '152118', '152125', '152146', '152149', '152183', '152186', '152199', '152200', '152203', '152204', '152270', '152271', '152275', '152276', '152299', '152300', '152309', '152311', '152315', '152335', '152344', '152352', '152362', '152364', '152422', '152452', '152453', '152723', '152730', '152731', '152732', '152734', '152740', '152747', '152753', '152754', '152755', '152758', '152760', '152763', '152764', '152767', '152768', '152769', '152777', '152780', '152781', '152784', '152787', '152789', '152797', '152811', '152855', '153055', '153074', '153081', '153082', '153140', '153141', '153143', '153144', '153297', '153301', '153369', '153395', '153682', '153683', '153690', '153695', '153750', '153753', '153798', '153802', '153817', '153833', '153848', '153849', '153850', '153852', '153853', '153854', '153860', '153861', '153862', '153868', '153872', '153873', '153877', '153975', '153980', '154428', '154430', '154432', '154853', '155293', '155472', '155527', '155680', '155681', '155682', '405727', '405745']
    nosy_count = 36.0
    nosy_names = ['lemburg', 'gvanrossum', 'tim.peters', 'loewis', 'barry', 'georg.brandl', 'terry.reedy', 'gregory.p.smith', 'jcea', 'mark.dickinson', 'pitrou', 'christian.heimes', 'benjamin.peterson', 'roger.serwy', 'eric.araujo', 'grahamd', 'Arfrever', 'v+python', 'alex', 'cvrebert', 'zbysz', 'skrah', 'dmalcolm', 'gz', 'neologix', 'Arach', 'Mark.Shannon', 'python-dev', 'eric.snow', 'Zhiping.Deng', 'Huzaifa.Sidhpurwala', 'Jim.Jewett', 'PaulMcMillan', 'fx5', 'skorgu', 'jsvaughan']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue13703'
    versions = ['Python 3.11']
    

    type-security interpreter-core release-blocker 3.11 
    opened by warsaw 328
  • Py_Finalize() doesn't clear all Python objects at exit

    Py_Finalize() doesn't clear all Python objects at exit

    BPO | 1635741 --- | :--- Nosy | @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aasland, @koubaa, @h-vetinari, @csabesz88, @kumaraditya303, @CharlieZhao95 PRs |

  • python/cpython#17835
  • python/cpython#17883
  • python/cpython#18030
  • python/cpython#18032
  • python/cpython#18049
  • python/cpython#18050
  • python/cpython#18065
  • python/cpython#18066
  • python/cpython#18358
  • python/cpython#18365
  • python/cpython#18374
  • python/cpython#18404
  • python/cpython#18486
  • python/cpython#18608
  • python/cpython#18613
  • python/cpython#19012
  • python/cpython#19015
  • python/cpython#19018
  • python/cpython#19022
  • python/cpython#19021
  • python/cpython#19044
  • python/cpython#19057
  • python/cpython#19069
  • python/cpython#19071
  • python/cpython#19074
  • python/cpython#19084
  • python/cpython#19100
  • python/cpython#19107
  • python/cpython#19122
  • python/cpython#19128
  • python/cpython#19135
  • python/cpython#19140
  • python/cpython#19150
  • python/cpython#19151
  • python/cpython#19242
  • python/cpython#19243
  • python/cpython#19252
  • python/cpython#19307
  • python/cpython#19382
  • python/cpython#19459
  • python/cpython#19798
  • python/cpython#19822
  • python/cpython#19907
  • python/cpython#19923
  • python/cpython#20540
  • python/cpython#20763
  • python/cpython#20808
  • python/cpython#20848
  • python/cpython#20920
  • python/cpython#21087
  • python/cpython#21168
  • python/cpython#21189
  • python/cpython#21269
  • python/cpython#21270
  • python/cpython#21294
  • python/cpython#21319
  • python/cpython#21371
  • python/cpython#21375
  • python/cpython#21378
  • python/cpython#21418
  • python/cpython#21605
  • python/cpython#21818
  • python/cpython#21855
  • python/cpython#21856
  • python/cpython#21896
  • python/cpython#21902
  • python/cpython#21985
  • python/cpython#21986
  • python/cpython#21995
  • python/cpython#22003
  • python/cpython#22049
  • python/cpython#22050
  • python/cpython#22051
  • python/cpython#22131
  • python/cpython#22134
  • python/cpython#22139
  • python/cpython#22145
  • python/cpython#22148
  • python/cpython#22149
  • python/cpython#22164
  • python/cpython#22165
  • python/cpython#22220
  • python/cpython#22222
  • python/cpython#22240
  • python/cpython#22242
  • python/cpython#22328
  • python/cpython#22415
  • python/cpython#22478
  • python/cpython#22489
  • python/cpython#22490
  • python/cpython#22712
  • python/cpython#22713
  • python/cpython#22838
  • python/cpython#22880
  • python/cpython#23091
  • python/cpython#23122
  • python/cpython#23146
  • python/cpython#23147
  • python/cpython#23148
  • python/cpython#23151
  • python/cpython#23170
  • python/cpython#23139
  • python/cpython#23188
  • python/cpython#23234
  • python/cpython#23236
  • python/cpython#23304
  • python/cpython#23358
  • python/cpython#23359
  • python/cpython#23360
  • python/cpython#23361
  • python/cpython#23376
  • python/cpython#23377
  • python/cpython#23378
  • python/cpython#23379
  • python/cpython#23381
  • python/cpython#23390
  • python/cpython#23393
  • python/cpython#23398
  • python/cpython#23401
  • python/cpython#23402
  • python/cpython#23404
  • python/cpython#23406
  • python/cpython#23409
  • python/cpython#23462
  • python/cpython#23443
  • python/cpython#23443
  • python/cpython#23535
  • python/cpython#23598
  • python/cpython#23793
  • python/cpython#23811
  • python/cpython#23972
  • python/cpython#24095
  • python/cpython#24175
  • python/cpython#24205
  • python/cpython#30522
  • python/cpython#30525
  • python/cpython#30744
  • python/cpython#31555
  • python/cpython#31560
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-27.13:42:43.202>
    created_at = <Date 2007-01-15.10:26:05.000>
    labels = ['expert-subinterpreters', 'interpreter-core', '3.11', 'performance']
    title = "Py_Finalize() doesn't clear all Python objects at exit"
    updated_at = <Date 2022-02-25.11:34:18.230>
    user = 'https://bugs.python.org/kylotan'
    

    bugs.python.org fields:

    activity = <Date 2022-02-25.11:34:18.230>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-27.13:42:43.202>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Subinterpreters']
    creation = <Date 2007-01-15.10:26:05.000>
    creator = 'kylotan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 1635741
    keywords = ['patch']
    message_count = 185.0
    messages = ['61054', '110895', '111024', '130729', '248761', '355187', '355189', '355191', '355193', '355194', '355201', '359342', '359482', '359830', '360063', '361427', '361428', '361466', '361798', '362068', '362124', '362143', '362144', '362195', '363935', '363936', '363937', '363940', '363941', '364234', '364330', '364379', '364463', '364521', '364609', '364656', '364833', '364836', '364845', '364871', '364883', '364906', '364909', '364951', '364952', '364968', '364971', '364972', '364973', '364975', '364987', '365008', '365017', '365043', '365386', '365388', '365484', '365584', '365611', '367686', '367796', '368096', '368318', '370561', '370763', '371119', '371569', '371683', '372061', '372077', '372096', '372102', '372103', '372797', '372912', '372938', '372942', '375169', '375272', '375286', '375287', '375288', '375290', '375311', '375567', '376218', '376221', '376240', '376288', '376360', '376461', '376474', '376477', '376480', '376493', '376500', '376552', '376554', '376555', '376556', '376566', '376567', '376571', '376572', '376616', '376687', '376993', '377253', '377364', '377365', '377523', '378115', '378685', '379280', '379287', '379667', '380216', '380270', '380280', '380317', '380318', '380331', '380332', '380340', '380346', '380351', '380733', '380758', '380854', '380857', '381124', '381300', '381317', '381318', '381351', '381352', '381376', '381379', '381391', '381392', '381395', '381396', '381400', '381411', '381423', '381426', '381431', '381432', '381434', '381476', '381477', '381571', '381572', '383155', '383168', '383276', '383283', '383285', '383287', '383454', '383636', '383785', '383799', '383801', '383844', '383847', '383880', '384039', '384042', '384326', '384352', '384646', '384978', '384987', '385010', '388728', '410809', '411116', '411278', '411311', '411872', '411961', '411997', '413938', '413979']
    nosy_count = 26.0
    nosy_names = ['amaury.forgeotdarc', 'orsenthil', 'kylotan', 'vstinner', 'christian.heimes', 'tlesher', 'phsilva', 'petr.viktorin', 'ysj.ray', 'santoso.wijaya', 'lukasz.langa', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'pconnell', 'isoschiz', 'Jim Fasarakis-Hilliard', 'corona10', 'miss-islington', 'shihai1991', 'erlendaasland', 'koubaa', 'h-vetinari', 'TCsaba', 'kumaraditya', 'CharlieZhao']
    pr_nums = ['17835', '17883', '18030', '18032', '18049', '18050', '18065', '18066', '18358', '18365', '18374', '18404', '18486', '18608', '18613', '19012', '19015', '19018', '19022', '19021', '19044', '19057', '19069', '19071', '19074', '19084', '19100', '19107', '19122', '19128', '19135', '19140', '19150', '19151', '19242', '19243', '19252', '19307', '19382', '19459', '19798', '19822', '19907', '19923', '20540', '20763', '20808', '20848', '20920', '21087', '21168', '21189', '21269', '21270', '21294', '21319', '21371', '21375', '21378', '21418', '21605', '21818', '21855', '21856', '21896', '21902', '21985', '21986', '21995', '22003', '22049', '22050', '22051', '22131', '22134', '22139', '22145', '22148', '22149', '22164', '22165', '22220', '22222', '22240', '22242', '22328', '22415', '22478', '22489', '22490', '22712', '22713', '22838', '22880', '23091', '23122', '23146', '23147', '23148', '23151', '23170', '23139', '23188', '23234', '23236', '23304', '23358', '23359', '23360', '23361', '23376', '23377', '23378', '23379', '23381', '23390', '23393', '23398', '23401', '23402', '23404', '23406', '23409', '23462', '23443', '23443', '23535', '23598', '23793', '23811', '23972', '24095', '24175', '24205', '30522', '30525', '30744', '31555', '31560']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue1635741'
    versions = ['Python 3.11']
    

    performance interpreter-core 3.11 expert-subinterpreters 
    opened by 643190f8-1196-46ee-bc5d-5687e07c3393 188
  • Steps for Android Native Build of Python 3.4.2

    Steps for Android Native Build of Python 3.4.2

    BPO | 23496 --- | :--- Nosy | @terryjreedy, @vstinner, @bitdancer, @freakboy3742, @ericsnowcurrently, @Fak3, @refi64, @mpaolini, @tritium21, @yan12125 Dependencies |

  • bpo-16353: add function to os module for getting path to default shell
  • bpo-20305: Android's incomplete locale.h implementation prevents cross-compilation
  • bpo-21668: The select and time modules uses libm functions without linking against it
  • Files |
  • patch.diff: patch for pythonrun.c
  • android_segfault_fix.patch
  • kbox_fix.patch
  • issue_16353.patch
  • issue_20305_tweaked.patch
  • issue_21668.patch
  • unused_var.patch
  • rjmatthews62_fixes_tweaked.patch
  • androidfn.patch
  • issue_20306.patch
  • rjmatthews64_fixes2.patch
  • rjmatthews64_fixes2.patch
  • rjmatthews64_fixes2.patch
  • kbox_fix.patch
  • python.patch: patch for python.c. that prevents android segfault
  • kbox_fix.patch
  • lib_fixes.patch
  • py_test_results.log: ./python -m test log
  • test_gdb.log
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-10-22.23:47:24.109>
    created_at = <Date 2015-02-21.20:46:56.960>
    labels = ['type-feature', 'build']
    title = 'Steps for Android Native Build of Python 3.4.2'
    updated_at = <Date 2019-10-22.23:47:24.108>
    user = 'https://bugs.python.org/chaselton'
    

    bugs.python.org fields:

    activity = <Date 2019-10-22.23:47:24.108>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-22.23:47:24.109>
    closer = 'vstinner'
    components = ['Build']
    creation = <Date 2015-02-21.20:46:56.960>
    creator = 'chaselton'
    dependencies = ['16353', '20305', '21668']
    files = ['38201', '38575', '38576', '38577', '38578', '38580', '38581', '38582', '38846', '38853', '38880', '38881', '38884', '39134', '39135', '39628', '39629', '40002', '40586']
    hgrepos = []
    issue_num = 23496
    keywords = ['patch']
    message_count = 177.0
    messages = ['236389', '236444', '236445', '236447', '236462', '236469', '236488', '236530', '236566', '236567', '236571', '236578', '236584', '236611', '236667', '236683', '236685', '236722', '236746', '236756', '236761', '236763', '236766', '236773', '236779', '236797', '236800', '236801', '236810', '236819', '236820', '236857', '236858', '236883', '236884', '236886', '236890', '236911', '236926', '236999', '237009', '237073', '237118', '237215', '237216', '237219', '237222', '237260', '237280', '237284', '237285', '237374', '237574', '237639', '237654', '237680', '237681', '237682', '237683', '237684', '237693', '237724', '237725', '237774', '237785', '238592', '238744', '238932', '238934', '239256', '239264', '239466', '240117', '240118', '240119', '240127', '240143', '240144', '240157', '240176', '240178', '240208', '240218', '240329', '240338', '240339', '240342', '240350', '240351', '240352', '240356', '240357', '240363', '240366', '240401', '240403', '240404', '240406', '240423', '240489', '240822', '241154', '241385', '241427', '241432', '241437', '241457', '241574', '241576', '241577', '241578', '241579', '241634', '241642', '241657', '241663', '241805', '241862', '242062', '244366', '244387', '244389', '244845', '244846', '244859', '244868', '245445', '245674', '245894', '245932', '245937', '245938', '245988', '245990', '245993', '246938', '247118', '247232', '247235', '247269', '247310', '247346', '247359', '247364', '247584', '247713', '248452', '248458', '248671', '248672', '248730', '248731', '248733', '248909', '248938', '248954', '248957', '248974', '248975', '248990', '248995', '248996', '248997', '249199', '249208', '250794', '251598', '251648', '253800', '253817', '253847', '253851', '253856', '253862', '254248', '264176', '355183']
    nosy_count = 12.0
    nosy_names = ['terry.reedy', 'vstinner', 'r.david.murray', 'cvrebert', 'freakboy3742', 'eric.snow', 'Roman.Evstifeev', 'refi64', 'mpaolini', 'chaselton', 'tritium', 'yan12125']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23496'
    versions = ['Python 3.4']
    

    type-feature build 
    opened by 1bf5feec-1bc6-472f-8176-3d63f6747b23 177
  • Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

    Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

    BPO | 26839 --- | :--- Nosy | @malemburg, @rhettinger, @doko42, @ncoghlan, @vstinner, @larryhastings, @matejcik, @ned-deily, @alex, @skrah, @vadmium, @ztane, @dstufft, @Lukasa, @tpetazzoni Files |

  • nonblocking-getrandom.diff: Patch to py_getrandom to use nonblocking system call, and associated plumbing.
  • getrandom-nonblocking-v2.patch: Patch random.c to use nonblocking getrandom()
  • getrandom-nonblocking-v3.patch: Patch random.c to use nonblocking getrandom() (cleaned-up version).
  • getrandom_nonblocking_v4.patch
  • nonblocking_urandom_noraise.patch
  • no-urandom-by-default.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-06-11.08:46:07.323>
    created_at = <Date 2016-04-24.19:04:13.945>
    labels = ['interpreter-core', 'type-bug', 'release-blocker']
    title = 'Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()'
    updated_at = <Date 2016-06-15.20:00:44.118>
    user = 'https://github.com/doko42'
    

    bugs.python.org fields:

    activity = <Date 2016-06-15.20:00:44.118>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-06-11.08:46:07.323>
    closer = 'larry'
    components = ['Interpreter Core']
    creation = <Date 2016-04-24.19:04:13.945>
    creator = 'doko'
    dependencies = []
    files = ['42837', '42842', '43265', '43267', '43278', '43282']
    hgrepos = []
    issue_num = 26839
    keywords = ['patch']
    message_count = 172.0
    messages = ['264121', '264122', '264126', '264258', '264265', '264267', '264270', '264271', '264284', '264289', '264292', '264303', '265427', '265430', '265452', '265477', '265481', '265485', '265496', '265500', '265549', '265555', '266216', '267455', '267504', '267511', '267537', '267539', '267546', '267550', '267554', '267571', '267608', '267609', '267610', '267611', '267612', '267614', '267616', '267617', '267621', '267623', '267624', '267625', '267626', '267627', '267628', '267629', '267630', '267631', '267632', '267633', '267634', '267635', '267636', '267637', '267638', '267640', '267642', '267643', '267644', '267645', '267648', '267650', '267654', '267656', '267660', '267661', '267663', '267664', '267665', '267666', '267667', '267668', '267669', '267670', '267671', '267672', '267673', '267674', '267675', '267676', '267677', '267678', '267679', '267680', '267681', '267682', '267684', '267685', '267686', '267687', '267688', '267689', '267690', '267693', '267694', '267695', '267696', '267699', '267705', '267707', '267709', '267710', '267711', '267712', '267715', '267716', '267718', '267720', '267721', '267723', '267725', '267726', '267728', '267729', '267730', '267731', '267735', '267737', '267739', '267740', '267741', '267745', '267746', '267749', '267750', '267751', '267752', '267803', '267804', '267805', '267806', '267807', '267808', '267809', '267810', '267811', '267812', '267813', '267815', '267816', '267817', '267818', '267819', '267823', '267825', '267831', '267836', '267837', '267846', '267850', '267853', '267855', '267856', '267857', '267863', '267873', '267887', '267890', '267893', '267897', '267898', '267913', '267914', '267939', '268018', '268201', '268591', '268593', '268627', '268629']
    nosy_count = 19.0
    nosy_names = ['lemburg', 'rhettinger', 'doko', 'ncoghlan', 'vstinner', 'larry', 'matejcik', 'ned.deily', 'alex', 'skrah', 'python-dev', 'martin.panter', 'ztane', 'dstufft', 'pitti', 'Lukasa', 'thomas-petazzoni', 'Colm Buckley', 'Theodore Tso']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26839'
    versions = ['Python 3.5', 'Python 3.6']
    

    type-bug interpreter-core release-blocker 
    opened by doko42 172
  • Missing *-unpacking generalizations

    Missing *-unpacking generalizations

    BPO | 2292 --- | :--- Nosy | @gvanrossum, @Yhg1s, @birkenfeld, @terryjreedy, @pfmoore, @ncoghlan, @abalkin, @scoder, @larryhastings, @benjaminp, @ezio-melotti, @agbuckley, @bitdancer, @ethanfurman, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka, @1st1, @zooba, @phmc, @NeilGirdhar Files |

  • starunpack.diff
  • starunpack2.diff
  • starunpack3.diff
  • starunpack4.diff
  • starunpack5.diff
  • starunpack6.diff
  • starunpack6.diff
  • starunpack7.diff
  • starunpack8.diff
  • starunpack9.diff
  • starunpack10.diff
  • starunpack11.diff
  • starunpack12.diff
  • starunpack13.diff
  • starunpack14.diff
  • starunpack15.diff
  • starunpack16.diff
  • starunpack17.diff
  • starunpack18.diff
  • starunpack19.diff
  • starunpack20.diff
  • starunpack21.diff
  • starunpack22.diff
  • starunpack23.diff
  • starunpack24.diff
  • starunpack25.diff
  • starunpack26.diff
  • starunpack27.diff
  • starunpack28.diff
  • starunpack29.diff
  • starunpack30.diff
  • starunpack31.diff
  • starunpack32.diff
  • starunpack33.diff
  • starunpack34.diff
  • starunpack35.diff
  • starunpack36.diff
  • starunpack37.diff
  • starunpack38.diff
  • starunpack39.diff
  • starunpack40.diff
  • starunpack41.diff
  • starunpack42.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/benjaminp'
    closed_at = <Date 2015-05-06.00:17:23.889>
    created_at = <Date 2008-03-15.15:41:19.194>
    labels = ['interpreter-core', 'type-feature', 'release-blocker']
    title = 'Missing *-unpacking generalizations'
    updated_at = <Date 2017-02-11.15:40:07.206>
    user = 'https://github.com/Yhg1s'
    

    bugs.python.org fields:

    activity = <Date 2017-02-11.15:40:07.206>
    actor = 'serhiy.storchaka'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2015-05-06.00:17:23.889>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2008-03-15.15:41:19.194>
    creator = 'twouters'
    dependencies = []
    files = ['9955', '32670', '37779', '37788', '37790', '37791', '37792', '37795', '37798', '37799', '37801', '37805', '37806', '37811', '37821', '37851', '37852', '37853', '37854', '37866', '37867', '37871', '37876', '37877', '37896', '37911', '37920', '37921', '37925', '37926', '37928', '38062', '38070', '38252', '38253', '38341', '38395', '38429', '38611', '38613', '38856', '39059', '39230']
    hgrepos = []
    issue_num = 2292
    keywords = ['patch']
    message_count = 172.0
    messages = ['63548', '63550', '63551', '63552', '63553', '63554', '63557', '63563', '63859', '65012', '65018', '65023', '65079', '65089', '65095', '65096', '65100', '65109', '65110', '65111', '65116', '65117', '65125', '67465', '88533', '88537', '100293', '100295', '100296', '100304', '100305', '116416', '149588', '151143', '186099', '186101', '191754', '192984', '203191', '234332', '234342', '234366', '234368', '234370', '234372', '234377', '234378', '234380', '234384', '234385', '234386', '234393', '234394', '234397', '234404', '234405', '234406', '234408', '234409', '234411', '234413', '234414', '234415', '234416', '234418', '234419', '234420', '234421', '234422', '234432', '234436', '234445', '234457', '234458', '234459', '234460', '234462', '234463', '234464', '234465', '234466', '234467', '234468', '234469', '234483', '234489', '234493', '234516', '234518', '234519', '234520', '234521', '234522', '234528', '234529', '234530', '234531', '234537', '234538', '234539', '234540', '234541', '234543', '234544', '234663', '234668', '234669', '234670', '234681', '234711', '234754', '234755', '234757', '234758', '234759', '234760', '234764', '234766', '234767', '234771', '234772', '234785', '234800', '234914', '234916', '235009', '235018', '235029', '235030', '235031', '235038', '235040', '235041', '235058', '235281', '235292', '235297', '235302', '235310', '235368', '235641', '235646', '235647', '235648', '236557', '236702', '236703', '237257', '237688', '238751', '241113', '242210', '242212', '242438', '242442', '242446', '242624', '242625', '242626', '242629', '242631', '242666', '242669', '242721', '242723', '242724', '242739', '248019', '248025', '257139', '261617', '287606']
    nosy_count = 25.0
    nosy_names = ['gvanrossum', 'twouters', 'georg.brandl', 'terry.reedy', 'paul.moore', 'ncoghlan', 'belopolsky', 'scoder', 'larry', 'benjamin.peterson', 'ezio.melotti', 'andybuckley', 'r.david.murray', 'zbysz', 'ethan.furman', 'eric.snow', 'berker.peksag', 'Joshua.Landau', 'serhiy.storchaka', 'yselivanov', 'steve.dower', 'pconnell', 'NeilGirdhar', 'Jeff.Kaufman', 'SpaghettiToastBook']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2292'
    versions = ['Python 3.5']
    

    type-feature interpreter-core release-blocker 
    opened by Yhg1s 172
  • windows console doesn't print or input Unicode

    windows console doesn't print or input Unicode

    BPO | 1602 --- | :--- Nosy | @malemburg, @mhammond, @terryjreedy, @pfmoore, @amauryfa, @ncoghlan, @pitrou, @giampaolo, @tjguk, @mark-summerfield, @ned-deily, @ezio-melotti, @florentx, @4kir4, @lilydjwg, @berkerpeksag, @vadmium, @eryksun, @zooba, @davispuh Superseder |

  • bpo-28217: Add interactive console tests
  • Files |
  • sys_write_stdout.patch
  • unicode2.py
  • doc-patch.diff: Proposed changes to user-visible documentation
  • unicode3.py
  • win_console.patch
  • test_win_console.py
  • streams.py
  • wincontest.py: Example io.TextIOWrapper sublcass using WideCharToMultiByte
  • winconsoleio.diff
  • 1602_2.patch
  • 1602_3.patch
  • 1602_4.patch
  • 1602_5.patch
  • 1602_6.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/zooba'
    closed_at = <Date 2016-09-09.16:42:53.594>
    created_at = <Date 2007-12-12.09:56:30.846>
    labels = ['type-bug', 'expert-unicode', 'OS-windows']
    title = "windows console doesn't print or input Unicode"
    updated_at = <Date 2016-10-22.10:46:13.515>
    user = 'https://github.com/mark-summerfield'
    

    bugs.python.org fields:

    activity = <Date 2016-10-22.10:46:13.515>
    actor = 'THRlWiTi'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2016-09-09.16:42:53.594>
    closer = 'steve.dower'
    components = ['Unicode', 'Windows']
    creation = <Date 2007-12-12.09:56:30.846>
    creator = 'mark'
    dependencies = []
    files = ['19493', '20320', '20363', '23461', '23470', '23471', '36120', '40990', '44094', '44290', '44379', '44409', '44449', '44452']
    hgrepos = []
    issue_num = 1602
    keywords = ['patch']
    message_count = 148.0
    messages = ['58487', '58621', '58651', '87086', '88059', '88077', '92854', '94445', '94480', '94483', '94496', '108173', '108228', '116801', '120414', '120415', '120416', '120700', '125823', '125824', '125826', '125833', '125852', '125877', '125889', '125890', '125898', '125899', '125938', '125942', '125947', '125956', '126286', '126288', '126303', '126304', '126308', '126319', '127782', '131657', '131854', '132060', '132061', '132062', '132064', '132065', '132067', '132184', '132191', '132208', '132266', '132268', '145898', '145899', '145963', '145964', '146471', '148990', '157569', '160812', '160813', '160897', '161151', '161153', '161308', '161651', '164572', '164578', '164580', '164618', '164619', '170899', '170915', '170999', '185135', '197700', '197751', '197752', '197773', '221175', '221178', '223403', '223404', '223507', '223509', '223945', '223946', '223947', '223948', '223949', '223951', '223952', '224019', '224086', '224095', '224596', '224605', '224690', '227329', '227330', '227332', '227333', '227337', '227338', '227347', '227354', '227373', '227374', '227441', '227450', '228191', '228208', '228210', '233347', '233350', '233916', '233937', '234019', '234020', '234096', '234371', '242884', '254405', '254407', '272596', '272605', '272645', '272662', '272675', '272716', '272718', '272720', '273999', '274449', '274673', '274884', '274906', '274912', '274939', '275003', '275004', '275005', '275157', '275362', '275510', '277047', '277048', '277050']
    nosy_count = 38.0
    nosy_names = ['lemburg', 'mhammond', 'terry.reedy', 'paul.moore', 'tzot', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'giampaolo.rodola', 'tim.golden', 'mark', 'ned.deily', 'christoph', 'ezio.melotti', 'v+python', 'hippietrail', 'flox', 'THRlWiTi', 'davidsarah', 'santoso.wijaya', 'akira', 'David.Sankel', 'python-dev', 'smerlin', 'lilydjwg', 'berker.peksag', 'martin.panter', 'piotr.dobrogost', 'eryksun', 'Drekin', 'steve.dower', 'wiz21', 'stijn', 'Jonitis', 'gurnec', 'escapewindow', 'dead1ne', 'davispuh']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '28217'
    type = 'behavior'
    url = 'https://bugs.python.org/issue1602'
    versions = ['Python 3.6']
    

    type-bug OS-windows expert-unicode 
    opened by a09e2537-b6b9-4978-9d1d-78b1db358cbc 148
  • Problems with Py_buffer management in memoryobject.c (and elsewhere?)

    Problems with Py_buffer management in memoryobject.c (and elsewhere?)

    BPO | 10181 --- | :--- Nosy | @loewis, @pfmoore, @mdickinson, @ncoghlan, @pitrou, @kristjanvalur, @vstinner, @pv, @skrah, @akheron Files |

  • pybuffer.diff
  • buffer-interface-clarify.patch: Clarifying the behavior of the buffer interface (for discussion, probably shouldn't be applied as-is)
  • bbe70ca4e0e5.diff: PyManagedBuffer implementation
  • 718801740bde.diff: PyManagedBuffer implementation #2
  • 78fb1181787a.diff: Add Modules/_testbuffer.c and Lib/test/test_buffer.py
  • 70a8ccd53ade.diff: Fixed suboffsets representation in _testbuffer.c
  • 51cedae5acfc.diff: PyManagedBuffer, native format, complete 1D slicing, casts
  • 4492afe05a07.diff: Handle objects with an index() method.
  • 8dd9f0ea4876.diff
  • a5c4a96dc981.diff
  • issue10181-news.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-03-01.08:32:50.822>
    created_at = <Date 2010-10-23.18:22:37.367>
    labels = ['interpreter-core', 'type-crash']
    title = 'Problems with Py_buffer management in memoryobject.c (and elsewhere?)'
    updated_at = <Date 2012-04-09.08:15:56.593>
    user = 'https://bugs.python.org/rupole'
    

    bugs.python.org fields:

    activity = <Date 2012-04-09.08:15:56.593>
    actor = 'joshtriplett'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-03-01.08:32:50.822>
    closer = 'skrah'
    components = ['Interpreter Core']
    creation = <Date 2010-10-23.18:22:37.367>
    creator = 'rupole'
    dependencies = []
    files = ['20282', '20756', '22564', '22577', '22873', '22909', '23119', '23185', '24323', '24381', '24629']
    hgrepos = ['36']
    issue_num = 10181
    keywords = ['patch']
    message_count = 147.0
    messages = ['119460', '120267', '120268', '120270', '120280', '120281', '120297', '120318', '120319', '120321', '120322', '125296', '125297', '125327', '125328', '125332', '125418', '125424', '125431', '125433', '125462', '125499', '125502', '125507', '125531', '125582', '125618', '125630', '125631', '125635', '125640', '125641', '128475', '128477', '128491', '128495', '128499', '128503', '128505', '128506', '128508', '128514', '128516', '128517', '128518', '128525', '128526', '128527', '128528', '128537', '128538', '128539', '128540', '128542', '128544', '128546', '128551', '128878', '139162', '139172', '139173', '139256', '139257', '139266', '139314', '139316', '139317', '139320', '139323', '139325', '139341', '139747', '139748', '139751', '139758', '139760', '139762', '139764', '139766', '139767', '139775', '139826', '139834', '139846', '139856', '139859', '139861', '139865', '139866', '139868', '139870', '139871', '139872', '139873', '139874', '139875', '139877', '139878', '139883', '139919', '139920', '139921', '139932', '139933', '139935', '139936', '141858', '142191', '143727', '143730', '144234', '151360', '151445', '151447', '151537', '151538', '152086', '152090', '152091', '152124', '152145', '152161', '152173', '152174', '152175', '152188', '152196', '152197', '152206', '152208', '152223', '152245', '152404', '153870', '154138', '154141', '154240', '154323', '154327', '154616', '154651', '154665', '154680', '154764', '154937', '157834', '157835']
    nosy_count = 15.0
    nosy_names = ['loewis', 'teoliphant', 'paul.moore', 'mark.dickinson', 'ncoghlan', 'rupole', 'pitrou', 'kristjan.jonsson', 'vstinner', 'joshtriplett', 'pv', 'skrah', 'python-dev', 'jcon', 'petri.lehtinen']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue10181'
    versions = ['Python 3.3']
    

    interpreter-core type-crash 
    opened by 8e06f10c-4750-4034-a995-c3e4932e02af 147
  • Linux 3: code should avoid using sys.platform == 'linux2'

    Linux 3: code should avoid using sys.platform == 'linux2'

    BPO | 12326 --- | :--- Nosy | @malemburg, @loewis, @warsaw, @birkenfeld, @doko42, @amauryfa, @pitrou, @vstinner, @larryhastings, @benjaminp, @jwilk, @djc, @ezio-melotti, @merwok, @bitdancer, @davidmalcolm, @sandrotosi, @akheron Files |

  • linux3-v2.patch
  • configure_linux2.python3.2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2011-09-05.20:39:30.835>
    created_at = <Date 2011-06-13.14:34:41.657>
    labels = ['type-bug', 'release-blocker']
    title = "Linux 3: code should avoid using sys.platform == 'linux2'"
    updated_at = <Date 2011-10-04.14:24:53.642>
    user = 'https://bugs.python.org/neologix'
    

    bugs.python.org fields:

    activity = <Date 2011-10-04.14:24:53.642>
    actor = 'barry'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-09-05.20:39:30.835>
    closer = 'vstinner'
    components = []
    creation = <Date 2011-06-13.14:34:41.657>
    creator = 'neologix'
    dependencies = []
    files = ['22917', '22946']
    hgrepos = []
    issue_num = 12326
    keywords = ['patch']
    message_count = 145.0
    messages = ['138251', '138252', '138253', '138254', '138255', '138271', '138294', '138295', '138298', '138299', '138300', '138306', '138308', '138527', '138582', '138597', '138711', '138730', '138757', '138759', '138816', '138817', '138823', '138824', '139166', '139208', '139224', '139243', '139248', '140012', '140017', '140061', '140062', '140063', '140064', '140065', '140394', '140397', '140684', '140703', '140708', '140710', '140801', '140802', '140830', '140831', '140939', '140944', '140949', '140955', '140985', '141088', '141651', '141659', '142195', '142196', '142197', '142219', '142226', '142272', '142290', '142291', '142297', '142298', '142313', '142344', '142345', '142346', '142350', '142353', '142354', '142356', '142358', '142379', '142380', '142381', '142382', '142384', '142385', '142387', '142389', '142394', '142396', '142398', '142401', '142406', '142407', '142408', '142409', '142410', '142417', '142418', '142419', '142420', '142425', '142440', '142441', '142444', '142446', '142450', '142451', '142453', '142457', '142459', '142460', '142461', '142463', '142482', '142490', '142493', '142498', '142499', '142500', '142524', '142531', '142539', '142541', '142570', '142571', '142574', '142579', '142593', '142605', '142614', '142615', '142628', '142635', '142678', '142694', '142697', '142698', '142700', '142707', '142711', '142762', '142766', '142769', '143455', '143470', '143479', '143557', '143561', '143562', '144889', '144890']
    nosy_count = 25.0
    nosy_names = ['lemburg', 'loewis', 'barry', 'georg.brandl', 'doko', 'amaury.forgeotdarc', 'gagern', 'foom', 'pitrou', 'vstinner', 'larry', 'benjamin.peterson', 'jwilk', 'djc', 'ezio.melotti', 'eric.araujo', 'Arfrever', 'Retro', 'r.david.murray', 'dmalcolm', 'sandro.tosi', 'rosslagerwall', 'python-dev', 'petri.lehtinen', 'Ramchandra Apte']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12326'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']
    

    type-bug release-blocker 
    opened by 79528080-9d85-4d18-8a2a-8b1f07640dd7 145
  • xz compressor support

    xz compressor support

    BPO | 6715 --- | :--- Nosy | @loewis, @warsaw, @birkenfeld, @doko42, @jcea, @amauryfa, @arekm, @gustaebel, @pitrou, @vstinner, @ned-deily, @merwok, @asvetlov, @peterjc, @shirishag75, @postmasters Files |

  • py3k-lzmamodule.patch: lzmamodule patch against py3k branch
  • teststring.lzma: Lib/test/teststring.lzma
  • teststring.xz: Lib/test/teststring.xz
  • lzma-win32.diff
  • 9276fc685c05.diff
  • archiving-modules-links.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-03-06.11:30:58.611>
    created_at = <Date 2009-08-17.09:47:22.775>
    labels = ['type-feature', 'library']
    title = 'xz compressor support'
    updated_at = <Date 2013-01-05.00:13:47.349>
    user = 'https://bugs.python.org/devurandom'
    

    bugs.python.org fields:

    activity = <Date 2013-01-05.00:13:47.349>
    actor = 'maubp'
    assignee = 'nadeem.vawda'
    closed = True
    closed_date = <Date 2012-03-06.11:30:58.611>
    closer = 'nadeem.vawda'
    components = ['Library (Lib)']
    creation = <Date 2009-08-17.09:47:22.775>
    creator = 'devurandom'
    dependencies = []
    files = ['19405', '19406', '19407', '23371', '23732', '23820']
    hgrepos = ['64']
    issue_num = 6715
    keywords = ['patch']
    message_count = 138.0
    messages = ['91657', '91658', '91660', '91661', '92163', '92167', '92174', '98774', '98776', '98794', '98806', '98899', '101941', '106427', '106430', '106433', '106441', '106567', '106572', '106578', '106580', '106581', '106710', '119742', '119743', '119777', '119779', '119815', '119816', '119817', '119826', '119862', '119865', '119866', '120050', '120068', '120084', '120085', '120086', '120089', '120091', '122424', '122426', '122435', '122443', '122444', '127384', '133214', '133216', '133218', '133280', '133282', '133285', '136059', '136070', '136078', '143173', '143756', '143757', '143876', '144066', '144085', '144107', '144118', '144119', '144162', '144788', '144790', '144866', '144901', '144902', '144904', '144910', '144912', '144915', '144916', '144917', '144938', '144939', '144940', '144941', '144942', '144946', '144992', '145016', '145020', '145022', '145023', '145024', '145317', '145338', '145340', '145405', '145407', '145409', '145446', '145456', '145737', '145918', '147769', '147770', '147771', '147772', '147784', '147788', '148412', '148427', '148622', '148624', '148626', '148632', '148647', '148653', '148654', '148658', '148659', '148662', '148668', '148670', '148671', '148675', '148695', '148696', '149041', '149047', '149048', '149062', '149063', '149601', '149605', '152683', '153349', '153352', '154298', '154985', '155010', '174960', '179095']
    nosy_count = 31.0
    nosy_names = ['loewis', 'barry', 'georg.brandl', 'doko', 'jcea', 'amaury.forgeotdarc', 'arekm', 'lars.gustaebel', 'pitrou', 'vstinner', 'nadeem.vawda', 'ned.deily', 'nicdumz', 'eric.araujo', 'Christophe Simonis', 'rcoyner', 'proyvind', 'asvetlov', 'nikratio', 'leonov', 'Garen', 'ysj.ray', 'thedjatclubrock', 'ockham-razor', 'maubp', 'strombrg', 'shirish', 'tshepang', 'python-dev', 'jeremybanks', 'Nam.Nguyen']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue6715'
    versions = ['Python 3.3']
    

    type-feature stdlib 
    opened by 1562ced0-0aea-4dbd-a287-b8a12bfca88a 138
  • Add OrderedDict written in C

    Add OrderedDict written in C

    BPO | 16991 --- | :--- Nosy | @rhettinger, @gpshead, @ncoghlan, @pitrou, @scoder, @ericvsmith, @tiran, @benjaminp, @ned-deily, @ezio-melotti, @merwok, @alex, @asvetlov, @skrah, @florentx, @markshannon, @ericsnowcurrently, @jimjjewett, @serhiy-storchaka, @1st1, @westurner, @refi64, @MojoVampire Files |

  • odict-speed.diff: pybench addition for OrderedDict
  • cOrderedDict.diff
  • cOrderedDict-2.diff
  • cOrderedDict-3.diff
  • cOrderedDict-4.diff
  • 3b2a9026d48e.diff
  • c3fab329aa7f.diff
  • ba1c6d40ca63.diff
  • 0813b1a88171.diff
  • odict-windows.diff
  • crash-1.py
  • crash-2.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ericsnowcurrently'
    closed_at = <Date 2015-06-01.16:26:38.776>
    created_at = <Date 2013-01-18.04:08:30.389>
    labels = ['interpreter-core', 'type-feature', 'release-blocker']
    title = 'Add OrderedDict written in C'
    updated_at = <Date 2015-06-02.14:01:03.238>
    user = 'https://github.com/ericsnowcurrently'
    

    bugs.python.org fields:

    activity = <Date 2015-06-02.14:01:03.238>
    actor = 'eric.snow'
    assignee = 'eric.snow'
    closed = True
    closed_date = <Date 2015-06-01.16:26:38.776>
    closer = 'eric.snow'
    components = ['Interpreter Core']
    creation = <Date 2013-01-18.04:08:30.389>
    creator = 'eric.snow'
    dependencies = []
    files = ['30461', '30661', '32262', '38753', '39445', '39496', '39499', '39500', '39566', '39567', '39581', '39582']
    hgrepos = ['309']
    issue_num = 16991
    keywords = ['patch']
    message_count = 134.0
    messages = ['180170', '180176', '180202', '180236', '180640', '180682', '180688', '180690', '181421', '181422', '182132', '182134', '182145', '182147', '182214', '184801', '184835', '189891', '189893', '189895', '189897', '190589', '190590', '190639', '190640', '190643', '191557', '200607', '209700', '209744', '209831', '215971', '231087', '232412', '232803', '232825', '232828', '239665', '239666', '239740', '239761', '239867', '239871', '243096', '243121', '243123', '243343', '243358', '243371', '243379', '243492', '243699', '243702', '243705', '243706', '243714', '243715', '243716', '243726', '243733', '243749', '243753', '243799', '243801', '243802', '243803', '243806', '243807', '243843', '243849', '243863', '243868', '243903', '243915', '243959', '243960', '243964', '243965', '243966', '244005', '244039', '244040', '244044', '244046', '244047', '244048', '244053', '244054', '244067', '244070', '244071', '244073', '244074', '244076', '244122', '244380', '244401', '244402', '244421', '244436', '244437', '244438', '244439', '244440', '244441', '244442', '244462', '244463', '244464', '244465', '244466', '244467', '244468', '244469', '244475', '244476', '244478', '244480', '244481', '244484', '244486', '244491', '244492', '244493', '244496', '244499', '244535', '244574', '244575', '244586', '244587', '244600', '244664', '244668']
    nosy_count = 29.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'ncoghlan', 'pitrou', 'scoder', 'eric.smith', 'christian.heimes', 'benjamin.peterson', 'ned.deily', 'ezio.melotti', 'eric.araujo', 'mrabarnett', 'Arfrever', 'alex', 'asvetlov', 'skrah', 'flox', 'BreamoreBoy', 'Mark.Shannon', 'python-dev', 'eric.snow', 'Jim.Jewett', 'serhiy.storchaka', 'yselivanov', 'westurner', 'refi64', 'josh.r', 'tonn81', 'introom']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue16991'
    versions = ['Python 3.5']
    

    type-feature interpreter-core release-blocker 
    opened by ericsnowcurrently 134
  • [3.11] GH-100805:  Support numpy.array() in random.choice(). (GH-100830)

    [3.11] GH-100805: Support numpy.array() in random.choice(). (GH-100830)

    (cherry picked from commit 9a68ff12c3e647a4f8dd935919ae296593770a6b)

    Co-authored-by: Raymond Hettinger [email protected]

    • Issue: gh-100805

    Automerge-Triggered-By: GH:rhettinger

    type-bug awaiting merge :robot: automerge 
    opened by miss-islington 0
  • [3.7] Bump Azure Pipelines to ubuntu-20.04

    [3.7] Bump Azure Pipelines to ubuntu-20.04

    The 3.7 branch builds on Azure Pipelines is failing, for example:

    ##[warning]An image label with the label ubuntu-16.04 does not exist.
    ,##[error]The remote provider was unable to process the request.
    
    • https://dev.azure.com/Python/cpython/_build/results?buildId=118919&view=logs&j=341b3d8e-0d13-57d4-859b-65d31dcbc29e
    • https://github.com/python/cpython/pull/100853

    The main and 3.11-3.8 branches were already bumped to ubuntu-20.04 by https://github.com/python/cpython/issues/89170, which didn't make it back to 3.7.


    Alternatively, we could use ubuntu-22.04 for all branches, or the ubuntu-latest alias which is now pointing to ubuntu-22.04.

    • https://github.com/actions/runner-images#available-images
    skip issue awaiting core review skip news 
    opened by hugovk 1
  • [3.7] Update copyright years to 2023. (gh-100848).

    [3.7] Update copyright years to 2023. (gh-100848).

    (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

    Co-authored-by: Benjamin Peterson [email protected]

    skip issue awaiting core review skip news 
    opened by benjaminp 0
  • [3.8] Update copyright years to 2023. (gh-100848).

    [3.8] Update copyright years to 2023. (gh-100848).

    (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

    Co-authored-by: Benjamin Peterson [email protected]

    skip issue awaiting core review skip news 
    opened by benjaminp 0
  • [3.9] Update copyright years to 2023. (gh-100848).

    [3.9] Update copyright years to 2023. (gh-100848).

    (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

    Co-authored-by: Benjamin Peterson [email protected]

    skip issue awaiting core review skip news 
    opened by benjaminp 0
Owner
Python
Repositories related to the Python Programming language
Python
The Stackless Python programming language

This is Python version 3.7.0 alpha 4+ Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 20

Stackless Python 891 Jan 3, 2023
A faster and highly-compatible implementation of the Python programming language.

Pyston Pyston is a fork of CPython 3.8.8 with additional optimizations for performance. It is targeted at large real-world applications such as web se

null 2.3k Jan 9, 2023
Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.

pythonnet - Python.NET Python.NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) a

null 3.5k Jan 6, 2023
DO NOT USE. Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.

IronPython 3 IronPython3 is NOT ready for use yet. There is still much that needs to be done to support Python 3.x. We are working on it, albeit slowl

IronLanguages 2k Dec 30, 2022
x2 - a miniminalistic, open-source language created by iiPython

x2 is a miniminalistic, open-source language created by iiPython, inspired by x86 assembly and batch. It is a high-level programming language with low-level, easy-to-remember syntaxes, similar to x86 assembly.

Benjamin 3 Jul 29, 2022
An implementation of Python in Common Lisp

CLPython - an implementation of Python in Common Lisp CLPython is an open-source implementation of Python written in Common Lisp. With CLPython you ca

Willem Broekema 339 Jan 4, 2023
Grumpy is a Python to Go source code transcompiler and runtime.

Grumpy: Go running Python Overview Grumpy is a Python to Go source code transcompiler and runtime that is intended to be a near drop-in replacement fo

Google 10.6k Dec 24, 2022
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

The MicroPython project This is the MicroPython project, which aims to put an implementation of Python 3.x on microcontrollers and small embedded syst

MicroPython 15.7k Dec 31, 2022
x86-64 assembler embedded in Python

Portable Efficient Assembly Code-generator in Higher-level Python (PeachPy) PeachPy is a Python framework for writing high-performance assembly kernel

Marat Dukhan 1.7k Jan 3, 2023
Pyjion - A JIT for Python based upon CoreCLR

Pyjion Designing a JIT API for CPython A note on development Development has moved to https://github.com/tonybaloney/Pyjion FAQ What are the goals of

Microsoft 1.6k Dec 30, 2022
A mini implementation of python library.

minipy author = RQDYSGN date = 2021.10.11 version = 0.2 1. 简介 基于python3.7环境,通过py原生库和leetcode上的一些习题构建的超小型py lib。 2. 环境 Python 3.7 2. 结构 ${project_name}

RQDYGSN 2 Oct 26, 2021
Rust syntax and lexical analyzer implemented in Python.

Rust Scanner Rust syntax and lexical analyzer implemented in Python. This project was made for the Programming Languages class at ESPOL (SOFG1009). Me

Joangie Marquez 0 Jul 3, 2022
Core Python libraries ported to MicroPython

This is a repository of libraries designed to be useful for writing MicroPython applications.

MicroPython 1.8k Jan 7, 2023
Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

Advent Of Code 2021 - Python English Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels th

Coral Izquierdo Muñiz 2 Jan 9, 2022
Rick Astley Language is a rick roll oriented, dynamic, strong, esoteric programming language.

Rick Roll Language / Rick Astley Language A rick roll oriented, dynamic, strong, esoteric programming language. Prolegomenon The reasons that I made t

Rick Roll Programming Language 658 Jan 9, 2023
PyGo custom language, New but similar language programming

New but similar language programming. Now we are capable to program in a very similar language to Python but at the same time get the efficiency of Go.

Fernando Perez 4 Nov 19, 2022
NL. The natural language programming language.

NL A Natural-Language programming language. Built using Codex. A few examples are inside the nl_projects directory. How it works Write any code in pur

null 2 Jan 17, 2022
pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame 5.6k Jan 1, 2023
The Python programming language

This is Python version 3.10.0 alpha 5 Copyright (c) 2001-2021 Python Software Foundation. All rights reserved. See the end of this file for further co

Python 49.7k Dec 30, 2022