summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-091-1/+1
| | | Adds ㋿.
* bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026)Zackery Spytz2019-05-021-4/+3
|
* bpo-36540: PEP 570 -- Implementation (GH-12701)Pablo Galindo2019-04-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains the implementation of PEP570: Python positional-only parameters. * Update Grammar/Grammar with new typedarglist and varargslist * Regenerate grammar files * Update and regenerate AST related files * Update code object * Update marshal.c * Update compiler and symtable * Regenerate importlib files * Update callable objects * Implement positional-only args logic in ceval.c * Regenerate frozen data * Update standard library to account for positional-only args * Add test file for positional-only args * Update other test files to account for positional-only args * Add News entry * Update inspect module and related tests
* bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)周家未2019-04-221-1/+1
|
* bpo-36642: make unicodedata const (GH-12855)Inada Naoki2019-04-161-1/+1
|
* bpo-36345: Update wsgiref example (GH-12562)Stéphane Wirtel2019-04-161-2/+3
| | | | Use literalinclude markup to include Tools/scripts/serve.py code. Tools/scripts/serve.py first argument on the command line is now optional.
* Allow Windows layout builds to fully skip code signing (GH-12808)Steve Dower2019-04-122-3/+8
|
* Enable building nuget packages for ARM32 (GH-12669)Paul Monson2019-04-123-3/+36
|
* Tools/importbench: Fix a misplaced stderr= (GH-12690)Anthony Sottile2019-04-051-2/+2
|
* bpo-36085: Add installer check for KB2533625 (GH-12636)Steve Dower2019-03-313-10/+31
|
* bpo-36010: Add venv to the nuget distribution (GH-12367)Paul Moore2019-03-301-1/+1
|
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-3027-258/+248
|
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926)Serhiy Storchaka2019-03-305-228/+226
|
* bpo-35947: Update Windows to the current version of libffi (GH-11797)Paul Monson2019-03-291-0/+6
| | | We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
* bpo-36441: Fixes creating a venv when debug binaries are installed. (#12566)Steve Dower2019-03-271-0/+15
|
* bpo-35884: Add string-keys-only microbenchmark for dict access to ↵Stefan Behnel2019-03-251-12/+28
| | | | var_access_benchmark.py (GH-11905)
* bpo-32217: Correct usage of ABI tags in freeze. (GH-4719)AraHaan2019-03-231-1/+4
| | | | Check for sys.abiflags before using since not all platforms have it defined.
* bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵Serhiy Storchaka2019-03-141-49/+147
| | | | (GH-12058)
* bpo-36174: Update nuget authoring for new license field. (GH-12300)Steve Dower2019-03-124-9/+4
|
* bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)Lisa Roach2019-03-121-1/+1
|
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-101-1/+1
|
* bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵Serhiy Storchaka2019-02-251-0/+2
| | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
* bpo-36101: remove non-ascii characters in docstring (GH-12018)animalize2019-02-241-0/+3
| | | | | * remove non-ascii characters in docstring * clinic.py emits a warning when docstring has non-ascii character
* bpo-35884: Add missing FIFO queue benchmark (GH-11898)Raymond Hettinger2019-02-161-1/+10
| | | https://bugs.python.org/issue35884
* Fix typo (micro->nano) (GH-11759)Raymond Hettinger2019-02-051-1/+1
|
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Steve Dower2019-02-051-1/+2
|
* bpo-35884: Add variable access benchmarking script (GH-11725)Raymond Hettinger2019-02-031-0/+272
|
* bpo-34691: Compile _contextvars module into main Python library (GH-11741)Steve Dower2019-02-021-1/+1
|
* bpo-35224: Add support for NamedExpr to unparse.py (GH-11670)Victor Stinner2019-01-251-0/+7
|
* bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520)Serhiy Storchaka2019-01-111-40/+0
| | | | | Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter.
* bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵Serhiy Storchaka2019-01-111-86/+163
| | | | (GH-11313)
* bpo-23867: Argument Clinic: inline parsing code for a single positional ↵Serhiy Storchaka2018-12-251-16/+433
| | | | parameter. (GH-9689)
* bpo-20180: Simplify char_converter in Argument Clinic. (GH-9828)Serhiy Storchaka2018-12-251-18/+3
| | | Fix also handling non-ascii default values.
* bpo-30455: Generate all token related code and docs from Grammar/Tokens. ↵Serhiy Storchaka2018-12-222-0/+321
| | | | | | | | | | | | | | | | | | | (GH-10370) "Include/token.h", "Lib/token.py" (containing now some data moved from "Lib/tokenize.py") and new files "Parser/token.c" (containing the code moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by "Tools/scripts/generate_token.py". The script overwrites files only if needed and can be used on the read-only sources tree. "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py" instead of been executable itself. Added new make targets "regen-token" and "regen-symbol" which are now dependencies of "regen-all". The documentation contains now strings for operators and punctuation tokens.
* Enable signing Windows builds with SHA1 environment variable (GH-11279)Steve Dower2018-12-211-1/+4
|
* bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152)Serhiy Storchaka2018-12-171-10/+0
|
* bpo-35471: Remove the macpath module (GH-11129)Victor Stinner2018-12-141-1/+1
| | | | Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
* bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵Serhiy Storchaka2018-12-141-1/+1
| | | | (GH-11150)
* bpo-34977: Add Windows App Store package (GH-11027)Steve Dower2018-12-119-339/+209
| | | Also adds the PC/layout script for generating layouts on Windows.
* bpo-34977: Use venv redirector instead of original python.exe on Windows ↵Steve Dower2018-12-101-0/+23
| | | | (GH-11029)
* Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)Victor Stinner2018-12-079-209/+339
| | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
* bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-079-339/+209
|
* bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. ↵Serhiy Storchaka2018-11-271-1/+7
| | | | | | | | (GH-6748) Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS in Argument Clinic generated code.
* bpo-35134: Create Include/cpython/ subdirectory (GH-10624)Victor Stinner2018-11-231-3/+3
| | | | | | | | | | | | | | | | Include/*.h should be the "portable Python API", whereas Include/cpython/*.h should be the "CPython API": CPython implementation details. Changes: * Create Include/cpython/ subdirectory * "make install" now creates $prefix/include/cpython and copy Include/cpython/* to $prefix/include/cpython * Create Include/cpython/objimpl.h: move objimpl.h code surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h. * objimpl.h now includes cpython/objimpl.h * Windows installer (MSI) now also install Include/ subdirectories: Include/cpython/ and Include/internal/.
* bpo-2504: Add pgettext() and variants to gettext. (GH-7253)Cheryl Sabella2018-11-071-17/+25
|
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-051-2/+2
| | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
* bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095)Steve Dower2018-10-271-1/+1
|
* bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)Alexey Izbyshev2018-10-201-3/+9
| | | Set SRCDIR as the current directory for git.
* Update opcode.h header comment to mention the source data file (GH-9935)Shivank982018-10-181-2/+3
| | | This is intended to help code explorers find out more about what's defined there.
* bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)Victor Stinner2018-10-151-13/+33
| | | | | | | | | | | | | | python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file.