Greg Price
3e4498d35c
bpo-37760: Avoid cluttering work tree with downloaded Unicode files. (GH-15128)
2019-08-14 18:18:53 -07:00
Greg Price
c03e698c34
bpo-37760: Factor out standard range-expanding logic in makeunicodedata. (GH-15248)
...
Much like the lower-level logic in commit ef2af1ad4
, we had
4 copies of this logic, written in a couple of different ways.
They're all implementing the same standard, so write it just once.
2019-08-13 19:28:38 -07:00
Greg Price
99d208efed
bpo-37760: Constant-fold some old options in makeunicodedata. (GH-15129)
...
The `expand` option was introduced in 2000 in commit fad27aee1
.
It appears to have been always set since it was committed, and
what it does is tell the code to do something essential. So,
just always do that, and cut the option.
Also cut the `linebreakprops` option, which isn't consulted anymore.
2019-08-12 22:59:30 -07:00
Greg Price
ef2af1ad44
bpo-37760: Factor out the basic UCD parsing logic of makeunicodedata. (GH-15130)
...
There were 10 copies of this, and almost as many distinct versions of
exactly how it was written. They're all implementing the same
standard. Pull them out to the top, so the more interesting logic
that remains becomes easier to read.
2019-08-12 22:20:56 -07:00
Paul Monson
ed70a344b5
bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181)
2019-08-08 16:12:33 -07:00
Serhiy Storchaka
662db125cd
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)
...
They now return NotImplemented for unsupported type of the other operand.
2019-08-08 08:42:54 +03:00
Min ho Kim
c4cacc8c5e
Fix typos in comments, docs and test names ( #15018 )
...
* Fix typos in comments, docs and test names
* Update test_pyparse.py
account for change in string length
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: splitable -> splittable
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Apply suggestion: Dealloccte -> Deallocate
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
* Update posixmodule checksum.
* Reverse idlelib changes.
2019-07-30 18:16:13 -04:00
Victor Stinner
27eeaf0f2c
bpo-37704: Remove Tools/scripts/h2py.py (GH-15000)
...
Use cffi to access a C API in Python.
2019-07-30 17:45:09 +02:00
Steve Dower
fe330fc4ad
Fix publishing of Windows release (GH-15006)
2019-07-29 11:22:27 -07:00
Steve Dower
994a3b88dc
Enable publish of Windows releases through Azure Pipelines (GH-14720)
2019-07-13 11:46:16 +02:00
Jeroen Demeyer
0d722f3cd6
bpo-36974: separate vectorcall functions for each calling convention (GH-13781)
2019-07-05 14:48:24 +02:00
Victor Stinner
36456df138
bpo-37392: Remove sys.setcheckinterval() (GH-14355)
...
Remove sys.getcheckinterval() and sys.setcheckinterval() functions.
They were deprecated since Python 3.2. Use sys.getswitchinterval()
and sys.setswitchinterval() instead.
Remove also check_interval field of the PyInterpreterState structure.
2019-06-25 03:01:08 +02:00
Steve Dower
f5690925df
bpo-37351: Removes libpython38.a from standard Windows distribution ( #14276 )
2019-06-21 14:28:46 -07:00
Paul Monson
f8dd77d360
bpo-36511: Fix -u parameters for ARM32 tests (GH-14280)
2019-06-21 09:40:05 -07:00
Paul Monson
a1952122a3
bpo-36511: Improve ARM32 buildbot scripts (GH-14251)
2019-06-20 09:33:32 -07:00
Jeroen Demeyer
7e1a9aacff
bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)
2019-06-21 00:38:45 +09:00
Paul Monson
f355069a33
bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)
2019-06-19 13:09:54 -07:00
Steve Dower
749e73065d
Fix Windows release build issues (GH-14091)
...
* Increase timeout for PGO builds in Windows release
* Fix test step failures
* Disable MinGW step properly
* Fix embeddable distro name
2019-06-14 14:19:25 -07:00
Steve Dower
21a92f8cda
Implement Windows release builds in Azure Pipelines (GH-14065)
2019-06-14 08:29:20 -07:00
Paul Monson
e7e5039d69
bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)
2019-06-07 10:58:41 -07:00
Steve Dower
e0c0c7e8c9
bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866)
2019-06-06 09:06:51 -07:00
Christian Heimes
e35d1ba9ea
bpo-34271: Fix compatibility with 1.0.2 (GH-13728)
...
Fix various compatibility issues with LibreSSL and OpenSSL 1.0.2
introduced by bpo-34271.
Signed-off-by: Christian Heimes <christian@python.org>
2019-06-03 20:40:15 +02:00
Christian Heimes
06651ee418
bpo-37081: Test with OpenSSL 1.1.1c (GH-13631)
...
Signed-off-by: Christian Heimes <christian@python.org>
2019-06-03 20:10:19 +02:00
Tim Hoffmann
5df4025f42
Add description to the command line help of the argument clinic (GH-8518)
2019-06-02 17:58:10 +01:00
Stefan Behnel
faa2948654
Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558)
2019-06-01 21:49:03 +02:00
Jeroen Demeyer
37788bc23f
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
2019-05-30 15:11:22 +02:00
Petr Viktorin
fecb75c1bb
bpo-36974: Fix GDB integration (GH-13665)
...
As it changes the way functions are called, the PEP 590 implementation
skipped the functions that the GDB integration is looking for
(by name) to find function calls.
Looking for the new helper `cfunction_call_varargs` hopefully fixes the
tests, and thus buildbots.
The changed frame nuber in test_gdb is due to there being fewer
C calls when calling a built-in method.
2019-05-29 22:45:41 +02:00
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