Chih-Hsuan Yen
aaf47caf35
bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py (GH-13583)
...
Constant.kind is added in https://bugs.python.org/issue36280 .
Current possible values for Constant.kind are "u" or None.
For r'bar' and b'bar', Constant.kind value is None, so there's no need
for special handling.
https://bugs.python.org/issue37053
2019-05-26 10:08:19 -07:00
Paul Monson
51394b8c3d
bpo-36511: Ensure error code propagates out of batch files (GH-13529)
2019-05-24 09:15:39 -07:00
Paul Monson
4f820723c8
bpo-36511: Windows arm32 buildbot changes (remove extra space) (GH-13351)
...
@zooba
I just realized that this whitespace fix didn't get pushed.
https://bugs.python.org/issue36511
2019-05-15 16:10:39 -07:00
Paul Monson
67ff6a103a
bpo-36511: Windows ARM32 buildbot changes (GH-12917)
2019-05-15 15:42:29 -07:00
Benjamin Peterson
3aca40d3cb
closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)
...
Adds ㋿.
2019-05-08 20:59:35 -07:00
Zackery Spytz
c4e78b116f
bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026)
2019-05-02 18:03:43 +03:00
Pablo Galindo
8c77b8cb91
bpo-36540: PEP 570 -- Implementation (GH-12701)
...
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
2019-04-29 13:36:57 +01:00
周家未
d59b662e49
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
2019-04-22 16:28:57 +03:00
Inada Naoki
6fec905de5
bpo-36642: make unicodedata const (GH-12855)
2019-04-17 08:40:34 +09:00
Stéphane Wirtel
2b7f93b99a
bpo-36345: Update wsgiref example (GH-12562)
...
Use literalinclude markup to include Tools/scripts/serve.py code.
Tools/scripts/serve.py first argument on the command line is now optional.
2019-04-16 14:52:54 +02:00
Steve Dower
606c66a17f
Allow Windows layout builds to fully skip code signing (GH-12808)
2019-04-12 11:24:15 -07:00
Paul Monson
aa25d5d026
Enable building nuget packages for ARM32 (GH-12669)
2019-04-12 09:36:38 -07:00
Anthony Sottile
2a4ce4387f
Tools/importbench: Fix a misplaced stderr= (GH-12690)
2019-04-05 09:18:19 +02:00
Steve Dower
79da388a40
bpo-36085: Add installer check for KB2533625 (GH-12636)
2019-03-30 20:58:17 -07:00
Paul Moore
e724152796
bpo-36010: Add venv to the nuget distribution (GH-12367)
2019-03-30 09:32:05 -07:00
Serhiy Storchaka
172bb39452
bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)
2019-03-30 08:33:02 +02:00
Serhiy Storchaka
afbb7a371f
bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926)
2019-03-30 08:32:18 +02:00
Paul Monson
32119e10b7
bpo-35947: Update Windows to the current version of libffi (GH-11797)
...
We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
2019-03-29 16:30:10 -07:00
Steve Dower
4a9a505d6f
bpo-36441: Fixes creating a venv when debug binaries are installed. ( #12566 )
2019-03-27 08:14:53 -07:00
Stefan Behnel
68d228f174
bpo-35884: Add string-keys-only microbenchmark for dict access to var_access_benchmark.py (GH-11905)
2019-03-25 01:20:53 -07:00
AraHaan
a7987e7193
bpo-32217: Correct usage of ABI tags in freeze. (GH-4719)
...
Check for sys.abiflags before using since not all platforms have it defined.
2019-03-23 12:29:49 -04:00
Serhiy Storchaka
3191391515
bpo-36127: Argument Clinic: inline parsing code for keyword parameters. (GH-12058)
2019-03-14 10:32:22 +02:00
Steve Dower
26c910c59c
bpo-36174: Update nuget authoring for new license field. (GH-12300)
2019-03-12 16:48:17 -07:00
Lisa Roach
1ceb3a3d17
bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)
2019-03-11 20:21:25 -07:00
Benjamin Peterson
738c19f4c5
closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)
2019-03-09 16:25:55 -08:00
Serhiy Storchaka
6a44f6eef3
bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952)
...
Deprecate using the __int__() method in implicit conversions of Python
numbers to C integers.
2019-02-25 17:57:58 +02:00
animalize
463572c8be
bpo-36101: remove non-ascii characters in docstring (GH-12018)
...
* remove non-ascii characters in docstring
* clinic.py emits a warning when docstring has non-ascii character
2019-02-25 08:18:48 +09:00
Raymond Hettinger
43766f82dd
bpo-35884: Add missing FIFO queue benchmark (GH-11898)
...
https://bugs.python.org/issue35884
2019-02-16 12:51:02 -08:00
Raymond Hettinger
9da3583e78
Fix typo (micro->nano) (GH-11759)
2019-02-04 23:32:55 -08:00
Steve Dower
85e102a2b0
bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)
2019-02-04 17:15:13 -08:00
Raymond Hettinger
f75d59e1a8
bpo-35884: Add variable access benchmarking script (GH-11725)
2019-02-02 22:54:56 -08:00
Steve Dower
4c70d9f79c
bpo-34691: Compile _contextvars module into main Python library (GH-11741)
2019-02-02 14:36:23 -08:00
Victor Stinner
1396d8fab4
bpo-35224: Add support for NamedExpr to unparse.py (GH-11670)
2019-01-25 01:49:53 +01:00
Serhiy Storchaka
2a39d251f0
bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520)
...
Use _PyArg_CheckPositional() and inlined code instead of
PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters
are positional and use the "object" converter.
2019-01-11 18:01:42 +02:00
Serhiy Storchaka
4fa9591025
bpo-35582: Argument Clinic: inline parsing code for positional parameters. (GH-11313)
2019-01-11 16:01:14 +02:00
Serhiy Storchaka
32d96a2b5b
bpo-23867: Argument Clinic: inline parsing code for a single positional parameter. (GH-9689)
2018-12-25 13:23:47 +02:00
Serhiy Storchaka
65ce60aef1
bpo-20180: Simplify char_converter in Argument Clinic. (GH-9828)
...
Fix also handling non-ascii default values.
2018-12-25 11:10:05 +02:00
Serhiy Storchaka
8ac658114d
bpo-30455: Generate all token related code and docs from Grammar/Tokens. (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.
2018-12-22 11:18:40 +02:00
Steve Dower
d3bbc52413
Enable signing Windows builds with SHA1 environment variable (GH-11279)
2018-12-21 13:48:18 -08:00
Serhiy Storchaka
4db62e1158
bpo-35490: Remove the DecodeFSDefault return converter in AC. ( #11152 )
2018-12-17 16:47:45 +02:00
Victor Stinner
d7538dd5e3
bpo-35471: Remove the macpath module (GH-11129)
...
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated
in Python 3.7. This change removes it.
2018-12-14 13:37:26 +01:00
Serhiy Storchaka
afb3e71a17
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
2018-12-14 11:19:51 +02:00
Steve Dower
0cd6391fd8
bpo-34977: Add Windows App Store package (GH-11027)
...
Also adds the PC/layout script for generating layouts on Windows.
2018-12-10 18:52:57 -08:00
Steve Dower
1c3de541e6
bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029)
2018-12-10 08:11:21 -08:00
Victor Stinner
cb0b78a070
Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)
...
This reverts commit 468a15aaf9
.
2018-12-07 12:57:43 +01:00
Steve Dower
468a15aaf9
bpo-34977: Add Windows App Store package (GH-10245)
2018-12-06 21:09:20 -08:00
Serhiy Storchaka
4a934d490f
bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. (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.
2018-11-27 11:27:36 +02:00
Victor Stinner
e421106b9e
bpo-35134: Create Include/cpython/ subdirectory (GH-10624)
...
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/.
2018-11-23 17:00:00 +01:00
Cheryl Sabella
637a33b996
bpo-2504: Add pgettext() and variants to gettext. (GH-7253)
2018-11-07 16:12:20 +02:00
Serhiy Storchaka
34fd4c2019
bpo-35133: Fix mistakes when concatenate string literals on different lines. (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.
2018-11-05 16:20:25 +02:00