Łukasz Langa
18cb3be41b
Consolidate 3.9.0b1 NEWS in the master branch
2020-05-19 13:33:08 +02:00
Christian Heimes
938717fd04
bpo-40163: Fix multissltest download of old OpenSSL (GH-19329)
2020-05-15 22:32:25 +02:00
Christian Heimes
62d618c06b
bpo-40479: Test with latest OpenSSL versions (GH-20108)
...
* 1.0.2u (EOL)
* 1.1.0l (EOL)
* 1.1.1g
* 3.0.0-alpha2 (disabled for now)
Build the FIPS provider and create a FIPS configuration file for OpenSSL
3.0.0.
Signed-off-by: Christian Heimes <christian@python.org>
Automerge-Triggered-By: @tiran
2020-05-15 09:48:25 -07:00
Miro Hrončok
49f70db83e
bpo-40431: Fix syntax typo in turtledemo (GH-19777)
...
*** File "/usr/lib64/python3.9/turtledemo/__main__.py", line 275
bg="#d00" if clear == NORMAL else"#fca")
^
SyntaxError: invalid string prefix
2020-04-29 02:00:07 +02:00
Łukasz Langa
bc1c8af8ef
Python 3.9.0a6
2020-04-27 22:44:04 +02:00
Ammar Askar
f82807746d
closes bpo-40385: Remove Tools/scripts/checkpyc.py (GH-19709)
...
This is one of the few files that has intimate knowledge of the pyc file
format. Since it lacks tests it tends to become outdated fairly quickly.
At present it has been broken since the introduction of PEP 552.
2020-04-24 23:33:59 -05:00
Serhiy Storchaka
12446e6a60
bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)
...
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2020-04-18 17:52:48 +03:00
Victor Stinner
e7c98f08e2
bpo-40094: Fix which.py script exit code (GH-19286)
...
It now uses os.waitstatus_to_exitcode() to convert os.system() exit
status into an exit code.
2020-04-02 03:42:47 +02:00
Łukasz Langa
dcd4c4f9c9
Python 3.9.0a5
2020-03-23 17:19:13 +01:00
José Roberto Meza Cabrera
276a84a0a6
bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167)
2020-03-11 23:51:20 +00:00
Victor Stinner
6d0ee60740
bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)
...
python-gdb.py now checks for "take_gil" function name to check if a
frame tries to acquire the GIL, instead of checking for
"pthread_cond_timedwait" which is specific to Linux and can be a
different condition than the GIL.
2020-03-09 19:35:26 +01:00
Łukasz Langa
fd757083df
Python 3.9.0a1
2019-11-19 12:17:21 +01:00
Ruediger Pluem
2b7dc40b2a
bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536)
...
pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively.
2019-10-11 15:36:50 +02:00
Victor Stinner
03ab6b4fc6
bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651)
...
Valgrind emits "Conditional jump or move depends on uninitialised
value(s)" false alarms on GCC builtin strcmp() function. The GCC code
is correct.
Valgrind bug: https://bugs.kde.org/show_bug.cgi?id=264936
2019-10-08 15:42:17 +02:00
PatrikKopkan
1dc1acbd73
bpo-37064: Add option -a to pathfix.py tool (GH-15717)
...
Add option -a to Tools/Scripts/pathfix.py script: add flags.
2019-09-25 14:26:28 +02:00
Daniel Hahler
855df7f273
closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193)
...
The "--" should not be included with long options passed to
getopt.getopt.
Fixes https://bugs.python.org/issue37803
2019-09-12 16:46:37 +01:00
PatrikKopkan
50254ac4c1
bpo-37064: Add option -k to Tools/scripts/pathfix.py (GH-15548)
...
Add flag -k to pathscript.py script: preserve shebang flags.
2019-09-05 16:54:54 +02:00
Rémi Lapeyre
4901fe274b
bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593)
2019-08-29 17:49:08 +03:00
Raymond Hettinger
aef9ad82f7
bpo-37942: Improve argument clinic float converter (GH-15470)
2019-08-24 19:10:39 -07: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
Benjamin Peterson
93e8aa62cf
closes bpo-37675: Use pkgutil.iter_modules to find fixers in a package rather than listdir. (14942)
2019-07-24 16:38:50 -07:00
Łukasz Langa
3b5deb0116
Python 3.8.0b1
2019-06-04 19:44:34 +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
Łukasz Langa
c1004b8546
Python 3.8.0a4
2019-05-06 20:30:25 +02: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
Łukasz Langa
9a448855b5
v3.8.0a3
2019-03-25 20:36:40 +01: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
Lisa Roach
1ceb3a3d17
bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)
2019-03-11 20:21:25 -07:00
Łukasz Langa
8efa3b69f6
[blurb] v3.8.0a1
2019-02-03 14:02:52 +01:00
Raymond Hettinger
f75d59e1a8
bpo-35884: Add variable access benchmarking script (GH-11725)
2019-02-02 22:54:56 -08:00
Victor Stinner
2e438cc255
bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)
...
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.
2018-10-15 23:19:57 +02:00
Stéphane Wirtel
683281f536
bpo-34906: Doc: Fix typos (2) (GH-9735)
...
Fix typos
2018-10-06 16:35:53 +02:00
Serhiy Storchaka
7cb7bcff20
bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434)
2018-07-26 13:22:16 +03:00
Victor Stinner
d22fc0bc7d
bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)
...
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().
2018-06-14 22:34:52 +02:00
Victor Stinner
019d33b7a4
bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)
...
python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.
2018-06-14 16:28:07 +02:00
Brett Cannon
a8c342465b
bpo-25427: Remove pyvenv (GH-5962)
2018-04-20 14:15:40 -07:00
Serhiy Storchaka
69524821a8
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
...
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
2018-04-19 09:23:03 +03:00
Denis Osipov
e3a523a0fa
bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758)
2018-04-18 16:50:25 -07:00
Serhiy Storchaka
c93938b5be
bpo-31920: Fixed handling directories as arguments in the ``pygettext`` script. (GH-6259)
...
Based on patch by Oleg Krasnikov.
2018-04-09 20:09:17 +03:00
Marcel Plch
3a9ccee0e5
bpo-29673: fix gdb scripts pystack and pystackv (GH-6126)
2018-04-06 17:22:04 -04:00
Miro Hrončok
5affd5c29e
bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ ( #5772 )
...
Creating backup files with ~ suffix can be undesirable in some environment,
such as when building RPM packages. Instead of requiring the user to remove
those files manually, option -n was added, that simply disables this feature.
-n was selected because 2to3 has the same option with this behavior.
2018-03-13 05:56:43 -04:00
Tobotimus
eee72d4778
bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints (GH-4745)
2018-02-27 00:48:14 +02:00
Ned Deily
3b43bfaae6
Update docs for 3.7.0a4
2018-01-08 21:57:13 -05:00
Benjamin Peterson
8a5877165e
bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files ( #4977 )
...
This is more complicated than it should be because we need to preserve the
useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar
has. We only look for the pickled grammar file with pkgutil.get_data and only if
the source file does not exist.
2017-12-22 12:18:33 -08:00
Ned Deily
3f9a728d95
Update NEWS and pydoc topics.
2017-12-05 03:17:33 -05:00
Victor Stinner
fe2d5babba
bpo-32159: Remove tools for CVS and Subversion ( #4615 )
...
CPython migrated from CVS to Subversion, to Mercurial, and then to
Git. CVS and Subversion are not more used to develop CPython.
* platform module: drop support for sys.subversion. The
sys.subversion attribute has been removed in Python 3.3.
* Remove Misc/svnmap.txt
* Remove Tools/scripts/svneol.py
* Remove Tools/scripts/treesync.py
2017-11-28 22:29:32 +01:00
Christoph Sarnowski
62adc55aff
bpo-30722: Make redemo work with Python 3.6+ (GH-2311)
2017-10-23 20:10:48 +03:00
Ned Deily
450ceea331
Update PyDoc topics and NEWS blurbs for 3.7.0a1
2017-09-19 01:01:36 -04:00
Gregory P. Smith
564a2c68ad
Link to blurb on PyPI in the NEWS.d READMEs. ( #3323 )
2017-09-05 10:38:05 -07:00
larryhastings
f9f17346d7
Blurbify master branch. ( #3298 )
...
Blurbify master branch.
2017-09-04 13:30:19 -07:00